Searched refs:ltc_hmac_alloc_ctx (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/lib/libtomcrypt/ |
| H A D | hmac.c | 85 static TEE_Result ltc_hmac_alloc_ctx(struct crypto_mac_ctx **ctx_ret, in ltc_hmac_alloc_ctx() function 107 return ltc_hmac_alloc_ctx(ctx, find_hash("md5")); in crypto_hmac_md5_alloc_ctx() 114 return ltc_hmac_alloc_ctx(ctx, find_hash("sha1")); in crypto_hmac_sha1_alloc_ctx() 121 return ltc_hmac_alloc_ctx(ctx, find_hash("sha224")); in crypto_hmac_sha224_alloc_ctx() 128 return ltc_hmac_alloc_ctx(ctx, find_hash("sha256")); in crypto_hmac_sha256_alloc_ctx() 135 return ltc_hmac_alloc_ctx(ctx, find_hash("sha384")); in crypto_hmac_sha384_alloc_ctx() 142 return ltc_hmac_alloc_ctx(ctx, find_hash("sha512")); in crypto_hmac_sha512_alloc_ctx() 149 return ltc_hmac_alloc_ctx(ctx, find_hash("sha3-224")); in crypto_hmac_sha3_224_alloc_ctx() 156 return ltc_hmac_alloc_ctx(ctx, find_hash("sha3-256")); in crypto_hmac_sha3_256_alloc_ctx() 163 return ltc_hmac_alloc_ctx(ctx, find_hash("sha3-384")); in crypto_hmac_sha3_384_alloc_ctx() [all …]
|