Home
last modified time | relevance | path

Searched refs:find_hash (Results 1 – 13 of 13) sorted by relevance

/optee_os/core/lib/libtomcrypt/
H A Dhmac.c107 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()
170 return ltc_hmac_alloc_ctx(ctx, find_hash("sha3-512")); in crypto_hmac_sha3_512_alloc_ctx()
H A Dhash.c132 return ltc_hash_alloc_ctx(ctx, find_hash("md5")); in crypto_md5_alloc_ctx()
139 return ltc_hash_alloc_ctx(ctx, find_hash("sha1")); in crypto_sha1_alloc_ctx()
146 return ltc_hash_alloc_ctx(ctx, find_hash("sha224")); in crypto_sha224_alloc_ctx()
153 return ltc_hash_alloc_ctx(ctx, find_hash("sha256")); in crypto_sha256_alloc_ctx()
160 return ltc_hash_alloc_ctx(ctx, find_hash("sha384")); in crypto_sha384_alloc_ctx()
167 return ltc_hash_alloc_ctx(ctx, find_hash("sha512")); in crypto_sha512_alloc_ctx()
210 return ltc_hash_alloc_ctx(ctx, find_hash("sha3-224")); in crypto_sha3_224_alloc_ctx()
217 return ltc_hash_alloc_ctx(ctx, find_hash("sha3-256")); in crypto_sha3_256_alloc_ctx()
224 return ltc_hash_alloc_ctx(ctx, find_hash("sha3-384")); in crypto_sha3_384_alloc_ctx()
231 return ltc_hash_alloc_ctx(ctx, find_hash("sha3-512")); in crypto_sha3_512_alloc_ctx()
H A Drsa.c37 *ltc_hashindex = find_hash("sha1"); in tee_algo_to_ltc_hashindex()
45 *ltc_hashindex = find_hash("md5"); in tee_algo_to_ltc_hashindex()
53 *ltc_hashindex = find_hash("sha224"); in tee_algo_to_ltc_hashindex()
61 *ltc_hashindex = find_hash("sha256"); in tee_algo_to_ltc_hashindex()
69 *ltc_hashindex = find_hash("sha384"); in tee_algo_to_ltc_hashindex()
77 *ltc_hashindex = find_hash("sha512"); in tee_algo_to_ltc_hashindex()
/optee_os/core/lib/libtomcrypt/src/misc/crypt/
H A Dcrypt_find_hash.c15 int find_hash(const char *name) in find_hash() function
H A Dcrypt_find_hash_any.c20 x = find_hash(name); in find_hash_any()
/optee_os/core/lib/libtomcrypt/src/misc/hkdf/
H A Dhkdf_test.c255 int hash = find_hash(cases[i].Hash); in hkdf_test()
/optee_os/core/lib/libtomcrypt/src/misc/pbes/
H A Dpbes.c28 hid = find_hash(arg->type.h); in pbes_decrypt()
/optee_os/core/lib/libtomcrypt/src/misc/pkcs5/
H A Dpkcs_5_test.c155 int hash = find_hash("sha1"); in pkcs_5_test()
/optee_os/core/lib/libtomcrypt/src/mac/hmac/
H A Dhmac_test.c591 int hash = find_hash(cases[i].algo); in hmac_test()
/optee_os/core/lib/libtomcrypt/src/hashes/chc/
H A Dchc.c60 if ((err = hash_is_valid(idx = find_hash("chc_hash"))) != CRYPT_OK) { in chc_register()
/optee_os/core/lib/libtomcrypt/src/pk/dsa/
H A Ddsa_generate_pqg.c93 hash = find_hash(accepted_hashes[i]); in s_dsa_make_params()
/optee_os/core/lib/libtomcrypt/src/headers/
H A Dtomcrypt_hash.h488 int find_hash(const char *name);
/optee_os/core/lib/libtomcrypt/src/pk/ec25519/
H A Dtweetnacl.c227 int hash_idx = find_hash("sha512"); in tweetnacl_crypto_hash_ctx()