| /optee_os/core/crypto/ |
| H A D | sm2-kdf.c | 29 res = crypto_hash_alloc_ctx(&ctx, TEE_ALG_SM3); in sm2_kdf()
|
| H A D | rng_fortuna.c | 145 res = crypto_hash_alloc_ctx(&state.pool_ctx[n], HASH_ALGO); in crypto_rng_init() 153 res = crypto_hash_alloc_ctx(&state.reseed_ctx, HASH_ALGO); in crypto_rng_init()
|
| H A D | signed_hdr.c | 221 if (crypto_hash_alloc_ctx(&ctx, TEE_ALG_SHA512)) in calc_next_uuid() 289 if (crypto_hash_alloc_ctx(&ctx, TEE_DIGEST_HASH_TO_ALGO(shdr->algo))) { in shdr_load_pub_key()
|
| H A D | crypto.c | 16 TEE_Result crypto_hash_alloc_ctx(void **ctx, uint32_t algo) in crypto_hash_alloc_ctx() function
|
| /optee_os/core/tee/ |
| H A D | tee_cryp_concat_kdf.c | 27 res = crypto_hash_alloc_ctx(&ctx, hash_algo); in tee_cryp_concat_kdf()
|
| H A D | tee_cryp_utl.c | 38 res = crypto_hash_alloc_ctx(&ctx, algo); in tee_hash_createdigest()
|
| H A D | fs_htree.c | 604 res = crypto_hash_alloc_ctx(&ctx, TEE_FS_HTREE_HASH_ALG); in verify_tree() 619 res = crypto_hash_alloc_ctx(&ctx, TEE_FS_HTREE_HASH_ALG); in init_root_node() 824 res = crypto_hash_alloc_ctx(&ctx, TEE_FS_HTREE_HASH_ALG); in tee_fs_htree_sync_to_storage()
|
| H A D | tee_svc_cryp.c | 2856 res = crypto_hash_alloc_ctx(&cs->ctx, algo); in syscall_cryp_state_alloc()
|
| /optee_os/core/drivers/crypto/crypto_api/acipher/ |
| H A D | rsamgf.c | 38 ret = crypto_hash_alloc_ctx(&ctx, mgf_data->hash_algo); in drvcrypt_rsa_mgf1()
|
| /optee_os/core/pta/veraison_attestation/ |
| H A D | hash.c | 55 res = crypto_hash_alloc_ctx(&ctx, TEE_ALG_SHA256); in hash_regions()
|
| H A D | sign.c | 68 res = crypto_hash_alloc_ctx(&ctx, TEE_ALG_SHA256); in hash_sha256()
|
| /optee_os/lib/libmbedtls/core/ |
| H A D | sm2-pke.c | 228 res = crypto_hash_alloc_ctx(&ctx, TEE_ALG_SM3); in sm2_mbedtls_pke_decrypt() 422 res = crypto_hash_alloc_ctx(&ctx, TEE_ALG_SM3); in sm2_mbedtls_pke_encrypt()
|
| H A D | sm2-kep.c | 49 res = crypto_hash_alloc_ctx(&ctx, TEE_ALG_SM3); in sm2_kep_compute_Z() 148 res = crypto_hash_alloc_ctx(&ctx, TEE_ALG_SM3); in sm2_kep_compute_S()
|
| /optee_os/core/drivers/ |
| H A D | zynqmp_huk.c | 69 res = crypto_hash_alloc_ctx(&ctx, TEE_ALG_SHA256); in tee_zynqmp_generate_huk_src()
|
| /optee_os/core/pta/ |
| H A D | secstor_ta_mgmt.c | 69 res = crypto_hash_alloc_ctx(&hash_ctx, in install_ta()
|
| H A D | attestation.c | 438 res = crypto_hash_alloc_ctx(&ctx, TEE_ALG_SHA256); in digest_nonce_and_hash() 528 res = crypto_hash_alloc_ctx(&ctx, TEE_ALG_SHA256); in hash_regions() 710 res = crypto_hash_alloc_ctx(&ctx, TEE_ALG_SHA256); in cmd_hash_tee_memory()
|
| /optee_os/core/lib/libtomcrypt/ |
| H A D | sm2-kep.c | 43 res = crypto_hash_alloc_ctx(&ctx, TEE_ALG_SM3); in sm2_kep_compute_Z() 116 res = crypto_hash_alloc_ctx(&ctx, TEE_ALG_SM3); in sm2_kep_compute_S()
|
| H A D | sm2-pke.c | 261 res = crypto_hash_alloc_ctx(&ctx, TEE_ALG_SM3); in sm2_ltc_pke_decrypt() 485 res = crypto_hash_alloc_ctx(&ctx, TEE_ALG_SM3); in sm2_ltc_pke_encrypt()
|
| /optee_os/core/kernel/ |
| H A D | embedded_ts.c | 107 res = crypto_hash_alloc_ctx(&ctx, TEE_ALG_SHA256); in emb_ts_get_tag()
|
| H A D | ree_fs_ta.c | 372 res = crypto_hash_alloc_ctx(&hash_ctx, in ree_fs_ta_open()
|
| /optee_os/core/include/crypto/ |
| H A D | crypto.h | 31 TEE_Result crypto_hash_alloc_ctx(void **ctx, uint32_t algo);
|