Home
last modified time | relevance | path

Searched refs:crypto_hash_alloc_ctx (Results 1 – 21 of 21) sorted by relevance

/optee_os/core/crypto/
H A Dsm2-kdf.c29 res = crypto_hash_alloc_ctx(&ctx, TEE_ALG_SM3); in sm2_kdf()
H A Drng_fortuna.c145 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 Dsigned_hdr.c221 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 Dcrypto.c16 TEE_Result crypto_hash_alloc_ctx(void **ctx, uint32_t algo) in crypto_hash_alloc_ctx() function
/optee_os/core/tee/
H A Dtee_cryp_concat_kdf.c27 res = crypto_hash_alloc_ctx(&ctx, hash_algo); in tee_cryp_concat_kdf()
H A Dtee_cryp_utl.c38 res = crypto_hash_alloc_ctx(&ctx, algo); in tee_hash_createdigest()
H A Dfs_htree.c604 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 Dtee_svc_cryp.c2856 res = crypto_hash_alloc_ctx(&cs->ctx, algo); in syscall_cryp_state_alloc()
/optee_os/core/drivers/crypto/crypto_api/acipher/
H A Drsamgf.c38 ret = crypto_hash_alloc_ctx(&ctx, mgf_data->hash_algo); in drvcrypt_rsa_mgf1()
/optee_os/core/pta/veraison_attestation/
H A Dhash.c55 res = crypto_hash_alloc_ctx(&ctx, TEE_ALG_SHA256); in hash_regions()
H A Dsign.c68 res = crypto_hash_alloc_ctx(&ctx, TEE_ALG_SHA256); in hash_sha256()
/optee_os/lib/libmbedtls/core/
H A Dsm2-pke.c228 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 Dsm2-kep.c49 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 Dzynqmp_huk.c69 res = crypto_hash_alloc_ctx(&ctx, TEE_ALG_SHA256); in tee_zynqmp_generate_huk_src()
/optee_os/core/pta/
H A Dsecstor_ta_mgmt.c69 res = crypto_hash_alloc_ctx(&hash_ctx, in install_ta()
H A Dattestation.c438 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 Dsm2-kep.c43 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 Dsm2-pke.c261 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 Dembedded_ts.c107 res = crypto_hash_alloc_ctx(&ctx, TEE_ALG_SHA256); in emb_ts_get_tag()
H A Dree_fs_ta.c372 res = crypto_hash_alloc_ctx(&hash_ctx, in ree_fs_ta_open()
/optee_os/core/include/crypto/
H A Dcrypto.h31 TEE_Result crypto_hash_alloc_ctx(void **ctx, uint32_t algo);