Searched refs:find_hash (Results 1 – 13 of 13) sorted by relevance
| /optee_os/core/lib/libtomcrypt/ |
| H A D | hmac.c | 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() 170 return ltc_hmac_alloc_ctx(ctx, find_hash("sha3-512")); in crypto_hmac_sha3_512_alloc_ctx()
|
| H A D | hash.c | 132 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 D | rsa.c | 37 *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 D | crypt_find_hash.c | 15 int find_hash(const char *name) in find_hash() function
|
| H A D | crypt_find_hash_any.c | 20 x = find_hash(name); in find_hash_any()
|
| /optee_os/core/lib/libtomcrypt/src/misc/hkdf/ |
| H A D | hkdf_test.c | 255 int hash = find_hash(cases[i].Hash); in hkdf_test()
|
| /optee_os/core/lib/libtomcrypt/src/misc/pbes/ |
| H A D | pbes.c | 28 hid = find_hash(arg->type.h); in pbes_decrypt()
|
| /optee_os/core/lib/libtomcrypt/src/misc/pkcs5/ |
| H A D | pkcs_5_test.c | 155 int hash = find_hash("sha1"); in pkcs_5_test()
|
| /optee_os/core/lib/libtomcrypt/src/mac/hmac/ |
| H A D | hmac_test.c | 591 int hash = find_hash(cases[i].algo); in hmac_test()
|
| /optee_os/core/lib/libtomcrypt/src/hashes/chc/ |
| H A D | chc.c | 60 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 D | dsa_generate_pqg.c | 93 hash = find_hash(accepted_hashes[i]); in s_dsa_make_params()
|
| /optee_os/core/lib/libtomcrypt/src/headers/ |
| H A D | tomcrypt_hash.h | 488 int find_hash(const char *name);
|
| /optee_os/core/lib/libtomcrypt/src/pk/ec25519/ |
| H A D | tweetnacl.c | 227 int hash_idx = find_hash("sha512"); in tweetnacl_crypto_hash_ctx()
|