Lines Matching refs:cryptedlen
5652 int cryptedlen; in PHP_FUNCTION() local
5674 cryptedlen = EVP_PKEY_size(pkey); in PHP_FUNCTION()
5675 cryptedbuf = zend_string_alloc(cryptedlen, 0); in PHP_FUNCTION()
5684 (int)padding) == cryptedlen); in PHP_FUNCTION()
5692 ZSTR_VAL(cryptedbuf)[cryptedlen] = '\0'; in PHP_FUNCTION()
5714 int cryptedlen; in PHP_FUNCTION() local
5736 cryptedlen = EVP_PKEY_size(pkey); in PHP_FUNCTION()
5737 crypttemp = emalloc(cryptedlen + 1); in PHP_FUNCTION()
5742 cryptedlen = RSA_private_decrypt((int)data_len, in PHP_FUNCTION()
5747 if (cryptedlen != -1) { in PHP_FUNCTION()
5748 cryptedbuf = zend_string_alloc(cryptedlen, 0); in PHP_FUNCTION()
5749 memcpy(ZSTR_VAL(cryptedbuf), crypttemp, cryptedlen); in PHP_FUNCTION()
5761 ZSTR_VAL(cryptedbuf)[cryptedlen] = '\0'; in PHP_FUNCTION()
5784 int cryptedlen; in PHP_FUNCTION() local
5804 cryptedlen = EVP_PKEY_size(pkey); in PHP_FUNCTION()
5805 cryptedbuf = zend_string_alloc(cryptedlen, 0); in PHP_FUNCTION()
5814 (int)padding) == cryptedlen); in PHP_FUNCTION()
5823 ZSTR_VAL(cryptedbuf)[cryptedlen] = '\0'; in PHP_FUNCTION()
5845 int cryptedlen; in PHP_FUNCTION() local
5867 cryptedlen = EVP_PKEY_size(pkey); in PHP_FUNCTION()
5868 crypttemp = emalloc(cryptedlen + 1); in PHP_FUNCTION()
5873 cryptedlen = RSA_public_decrypt((int)data_len, in PHP_FUNCTION()
5878 if (cryptedlen != -1) { in PHP_FUNCTION()
5879 cryptedbuf = zend_string_alloc(cryptedlen, 0); in PHP_FUNCTION()
5880 memcpy(ZSTR_VAL(cryptedbuf), crypttemp, cryptedlen); in PHP_FUNCTION()
5894 ZSTR_VAL(cryptedbuf)[cryptedlen] = '\0'; in PHP_FUNCTION()