Lines Matching refs:password_len

5113 	size_t password_len;  in PHP_FUNCTION()  local
5123 &password, &password_len, in PHP_FUNCTION()
5130 PHP_OPENSSL_CHECK_SIZE_T_TO_INT(password_len, password, 1); in PHP_FUNCTION()
5153 …if (PKCS5_PBKDF2_HMAC(password, (int)password_len, (unsigned char *)salt, (int)salt_len, (int)iter… in PHP_FUNCTION()
7304 int key_len, password_len; in php_openssl_cipher_init() local
7337 password_len = (int) *ppassword_len; in php_openssl_cipher_init()
7339 if (key_len > password_len) { in php_openssl_cipher_init()
7340 …OPENSSL_DONT_ZERO_PAD_KEY & options) && !EVP_CIPHER_CTX_set_key_length(cipher_ctx, password_len)) { in php_openssl_cipher_init()
7347 memcpy(key, *ppassword, password_len); in php_openssl_cipher_init()
7352 if (password_len > key_len && !EVP_CIPHER_CTX_set_key_length(cipher_ctx, password_len)) { in php_openssl_cipher_init()
7415 const char *password, size_t password_len, in php_openssl_encrypt() argument
7429 PHP_OPENSSL_CHECK_SIZE_T_TO_INT_NULL_RETURN(password_len, password); in php_openssl_encrypt()
7449 &password, &password_len, &free_password, in php_openssl_encrypt()
7508 size_t data_len, method_len, password_len, iv_len = 0, aad_len = 0; in PHP_FUNCTION() local
7513 &password, &password_len, &options, &iv, &iv_len, &tag, &aad, &aad_len, &tag_len) == FAILURE) { in PHP_FUNCTION()
7517 …if ((ret = php_openssl_encrypt(data, data_len, method, method_len, password, password_len, options… in PHP_FUNCTION()
7528 const char *password, size_t password_len, in php_openssl_decrypt() argument
7543 PHP_OPENSSL_CHECK_SIZE_T_TO_INT_NULL_RETURN(password_len, password); in php_openssl_decrypt()
7574 &password, &password_len, &free_password, in php_openssl_decrypt()
7609 size_t data_len, method_len, password_len, iv_len = 0, tag_len = 0, aad_len = 0; in PHP_FUNCTION() local
7613 &password, &password_len, &options, &iv, &iv_len, &tag, &tag_len, &aad, &aad_len) == FAILURE) { in PHP_FUNCTION()
7622 …if ((ret = php_openssl_decrypt(data, data_len, method, method_len, password, password_len, options… in PHP_FUNCTION()