Lines Matching refs:key_len
478 … char *K, const php_hash_ops *ops, void *context, const unsigned char *key, const size_t key_len) { in php_hash_hmac_prep_key() argument
480 if (key_len > ops->block_size) { in php_hash_hmac_prep_key()
483 ops->hash_update(context, key, key_len); in php_hash_hmac_prep_key()
486 memcpy(K, key, key_len); in php_hash_hmac_prep_key()
500 …zval *return_value, zend_string *algo, char *data, size_t data_len, char *key, size_t key_len, boo… in php_hash_do_hash_hmac() argument
531 php_hash_hmac_prep_key(K, ops, context, (unsigned char *) key, key_len); in php_hash_do_hash_hmac()
583 size_t data_len, key_len; in PHP_FUNCTION() local
586 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "Sss|b", &algo, &data, &data_len, &key, &key_len, &raw_… in PHP_FUNCTION()
590 php_hash_do_hash_hmac(return_value, algo, data, data_len, key, key_len, raw_output, 0); in PHP_FUNCTION()
600 size_t data_len, key_len; in PHP_FUNCTION() local
603 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "Sss|b", &algo, &data, &data_len, &key, &key_len, &raw_… in PHP_FUNCTION()
607 php_hash_do_hash_hmac(return_value, algo, data, data_len, key, key_len, raw_output, 1); in PHP_FUNCTION()
1204 size_t data_len, key_len = 0; in PHP_FUNCTION() local
1206 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "ls|s!", &algorithm, &data, &data_len, &key, &key_len) … in PHP_FUNCTION()
1223 php_hash_do_hash_hmac(return_value, algo, data, data_len, key, key_len, 1, 0); in PHP_FUNCTION()