Lines Matching refs:cryptedlen
6249 int cryptedlen; in PHP_FUNCTION() local
6273 cryptedlen = EVP_PKEY_size(pkey); in PHP_FUNCTION()
6274 cryptedbuf = zend_string_alloc(cryptedlen, 0); in PHP_FUNCTION()
6283 (int)padding) == cryptedlen); in PHP_FUNCTION()
6290 ZSTR_VAL(cryptedbuf)[cryptedlen] = '\0'; in PHP_FUNCTION()
6309 int cryptedlen; in PHP_FUNCTION() local
6333 cryptedlen = EVP_PKEY_size(pkey); in PHP_FUNCTION()
6334 crypttemp = emalloc(cryptedlen + 1); in PHP_FUNCTION()
6339 cryptedlen = RSA_private_decrypt((int)data_len, in PHP_FUNCTION()
6344 if (cryptedlen != -1) { in PHP_FUNCTION()
6345 cryptedbuf = zend_string_alloc(cryptedlen, 0); in PHP_FUNCTION()
6346 memcpy(ZSTR_VAL(cryptedbuf), crypttemp, cryptedlen); in PHP_FUNCTION()
6357 ZSTR_VAL(cryptedbuf)[cryptedlen] = '\0'; in PHP_FUNCTION()
6377 int cryptedlen; in PHP_FUNCTION() local
6400 cryptedlen = EVP_PKEY_size(pkey); in PHP_FUNCTION()
6401 cryptedbuf = zend_string_alloc(cryptedlen, 0); in PHP_FUNCTION()
6410 (int)padding) == cryptedlen); in PHP_FUNCTION()
6418 ZSTR_VAL(cryptedbuf)[cryptedlen] = '\0'; in PHP_FUNCTION()
6437 int cryptedlen; in PHP_FUNCTION() local
6461 cryptedlen = EVP_PKEY_size(pkey); in PHP_FUNCTION()
6462 crypttemp = emalloc(cryptedlen + 1); in PHP_FUNCTION()
6467 cryptedlen = RSA_public_decrypt((int)data_len, in PHP_FUNCTION()
6472 if (cryptedlen != -1) { in PHP_FUNCTION()
6473 cryptedbuf = zend_string_alloc(cryptedlen, 0); in PHP_FUNCTION()
6474 memcpy(ZSTR_VAL(cryptedbuf), crypttemp, cryptedlen); in PHP_FUNCTION()
6487 ZSTR_VAL(cryptedbuf)[cryptedlen] = '\0'; in PHP_FUNCTION()