Home
last modified time | relevance | path

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

/optee_os/core/drivers/crypto/crypto_api/acipher/
H A Drsamgf.c66 ret = crypto_hash_final(ctx, cur_mask, mgf_data->digest_size); in drvcrypt_rsa_mgf1()
90 ret = crypto_hash_final(ctx, tmpdigest, mgf_data->digest_size); in drvcrypt_rsa_mgf1()
/optee_os/core/crypto/
H A Dsm2-kdf.c53 res = crypto_hash_final(ctx, buf, TEE_SM3_HASH_SIZE); in sm2_kdf()
H A Dsigned_hdr.c233 crypto_hash_final(ctx, tmp->digest, sizeof(tmp->digest))) in calc_next_uuid()
297 crypto_hash_final(ctx, digest, shdr->hash_size) || in shdr_load_pub_key()
H A Drng_fortuna.c93 return crypto_hash_final(ctx, digest, KEY_SIZE); in hash_final()
H A Dcrypto.c109 TEE_Result crypto_hash_final(void *ctx, uint8_t *digest, size_t len) in crypto_hash_final() function
/optee_os/core/tee/
H A Dtee_cryp_concat_kdf.c56 res = crypto_hash_final(ctx, tmp, sizeof(tmp)); in tee_cryp_concat_kdf()
H A Dtee_cryp_utl.c52 res = crypto_hash_final(ctx, digest, digestlen); in tee_hash_createdigest()
H A Dfs_htree.c439 return crypto_hash_final(ctx, digest, TEE_FS_HTREE_HASH_SIZE); in calc_node_hash()
H A Dtee_svc_cryp.c3133 res = crypto_hash_final(cs->ctx, hash, hlen); in syscall_hash_final()
3155 res = crypto_hash_final(cs->ctx, hash, hash_size); in syscall_hash_final()
/optee_os/lib/libmbedtls/core/
H A Dsm2-kep.c119 res = crypto_hash_final(ctx, Z, TEE_SM3_HASH_SIZE); in sm2_kep_compute_Z()
217 res = crypto_hash_final(ctx, hash, sizeof(hash)); in sm2_kep_compute_S()
247 res = crypto_hash_final(ctx, S, TEE_SM3_HASH_SIZE); in sm2_kep_compute_S()
H A Dsm2-pke.c249 res = crypto_hash_final(ctx, u, sizeof(u)); in sm2_mbedtls_pke_decrypt()
438 res = crypto_hash_final(ctx, dst + C1_len + src_len, TEE_SM3_HASH_SIZE); in sm2_mbedtls_pke_encrypt()
/optee_os/core/lib/libtomcrypt/
H A Dsm2-kep.c89 res = crypto_hash_final(ctx, Z, TEE_SM3_HASH_SIZE); in sm2_kep_compute_Z()
165 res = crypto_hash_final(ctx, hash, sizeof(hash)); in sm2_kep_compute_S()
191 res = crypto_hash_final(ctx, S, TEE_SM3_HASH_SIZE); in sm2_kep_compute_S()
H A Dsm2-pke.c282 res = crypto_hash_final(ctx, u, sizeof(u)); in sm2_ltc_pke_decrypt()
501 res = crypto_hash_final(ctx, dst + C1_len + src_len, TEE_SM3_HASH_SIZE); in sm2_ltc_pke_encrypt()
/optee_os/core/pta/veraison_attestation/
H A Dhash.c96 res = crypto_hash_final(ctx, hash, TEE_SHA256_HASH_SIZE); in hash_regions()
H A Dsign.c77 res = crypto_hash_final(ctx, hash, TEE_SHA256_HASH_SIZE); in hash_sha256()
/optee_os/core/drivers/
H A Dzynqmp_huk.c99 res = crypto_hash_final(ctx, huk_source, huk_source_size); in tee_zynqmp_generate_huk_src()
/optee_os/core/pta/
H A Dsecstor_ta_mgmt.c118 res = crypto_hash_final(hash_ctx, buf, shdr->hash_size); in install_ta()
H A Dattestation.c450 res = crypto_hash_final(ctx, digest, TEE_SHA256_HASH_SIZE); in digest_nonce_and_hash()
576 res = crypto_hash_final(ctx, hash, TEE_SHA256_HASH_SIZE); in hash_regions()
751 res = crypto_hash_final(ctx, out, TEE_SHA256_HASH_SIZE); in cmd_hash_tee_memory()
/optee_os/core/kernel/
H A Dembedded_ts.c116 res = crypto_hash_final(ctx, tag, *tag_len); in emb_ts_get_tag()
H A Dree_fs_ta.c539 res = crypto_hash_final(h->hash_ctx, digest, h->shdr->hash_size); in check_digest()
/optee_os/core/include/crypto/
H A Dcrypto.h34 TEE_Result crypto_hash_final(void *ctx, uint8_t *digest, size_t len);