Lines Matching refs:key_len
200 int algo_len, data_len, key_len, i; in php_hash_do_hash_hmac() local
207 &key, &key_len, &raw_output) == FAILURE) { in php_hash_do_hash_hmac()
230 if (key_len > ops->block_size) { in php_hash_do_hash_hmac()
232 ops->hash_update(context, (unsigned char *) key, key_len); in php_hash_do_hash_hmac()
237 memcpy(K, key, key_len); in php_hash_do_hash_hmac()
315 int algo_len, key_len = 0, argc = ZEND_NUM_ARGS(); in PHP_FUNCTION() local
321 …if (zend_parse_parameters(argc TSRMLS_CC, "s|ls", &algo, &algo_len, &options, &key, &key_len) == F… in PHP_FUNCTION()
332 key_len <= 0) { in PHP_FUNCTION()
353 if (key_len > ops->block_size) { in PHP_FUNCTION()
355 ops->hash_update(context, (unsigned char *) key, key_len); in PHP_FUNCTION()
360 memcpy(K, key, key_len); in PHP_FUNCTION()