Home
last modified time | relevance | path

Searched refs:hmac_key (Results 1 – 7 of 7) sorted by relevance

/OK3568_Linux_fs/kernel/crypto/
H A Dfips140_gen_hmac.c128 const char *hmac_key; in main() local
172 hmac_key = get_sym_addr("fips140_integ_hmac_key"); in main()
173 if (!hmac_key) { in main()
185 HMAC_Init_ex(hmac, hmac_key, strlen(hmac_key), EVP_sha256(), NULL); in main()
/OK3568_Linux_fs/kernel/tools/crypto/
H A Dgen_fips140_testvecs.py33 hmac_key = bytes('128-bit HMAC key', 'ascii') variable
109 print_value('hmac_key', hmac_key)
112 h = hmac.new(hmac_key, message, alg.removeprefix('hmac_'))
/OK3568_Linux_fs/u-boot/cmd/
H A Dcrypto.c86 #define HMAC_TEST(algo_type, data_in, hash_val, hmac_key) {\ argument
94 .key = (hmac_key), \
95 .key_len = sizeof(hmac_key)\
166 HMAC_TEST(MD5, foo_data, hmac_md5, hmac_key),
167 HMAC_TEST(SHA1, foo_data, hmac_sha1, hmac_key),
168 HMAC_TEST(SHA256, foo_data, hmac_sha256, hmac_key),
169 HMAC_TEST(SHA512, foo_data, hmac_sha512, hmac_key),
170 HMAC_TEST(SM3, foo_data, hmac_sm3, hmac_key),
/OK3568_Linux_fs/u-boot/include/rockchip/
H A Dcrypto_fix_test_data.h827 const u8 hmac_key[] = { variable
/OK3568_Linux_fs/kernel/drivers/crypto/axis/
H A Dartpec6_crypto.c313 char hmac_key[SHA256_BLOCK_SIZE]; member
1336 memcpy(req_ctx->key_buffer, ctx->hmac_key, in artpec6_crypto_prepare_hash()
2237 memset(tfm_ctx->hmac_key, 0, sizeof(tfm_ctx->hmac_key)); in artpec6_crypto_hash_set_key()
2245 tfm_ctx->hmac_key); in artpec6_crypto_hash_set_key()
2249 memcpy(tfm_ctx->hmac_key, key, keylen); in artpec6_crypto_hash_set_key()
2428 memset(tfm_ctx->hmac_key, 0, sizeof(tfm_ctx->hmac_key)); in artpec6_crypto_ahash_exit()
/OK3568_Linux_fs/external/security/rk_tee_user/v1/export-user_ta/host_include/openssl/
H A Dssl.h4209 uint8_t hmac_key[16]; member
/OK3568_Linux_fs/external/security/rk_tee_user/v1/export-user_ta/include/openssl/
H A Dssl.h4209 uint8_t hmac_key[16]; member