Home
last modified time | relevance | path

Searched refs:TEE_ALG_SHA256 (Results 1 – 25 of 28) sorted by relevance

12

/optee_os/core/drivers/crypto/se050/core/
H A Ddie_id.c25 if (tee_hash_createdigest(TEE_ALG_SHA256, die_id, die_id_len, buffer, in tee_otp_get_die_id()
/optee_os/core/arch/arm/plat-vexpress/
H A Dvendor_props.c50 res = tee_hash_createdigest(TEE_ALG_SHA256, data, sizeof(data), in get_prop_endorsement()
/optee_os/core/drivers/
H A Dzynqmp_huk.c69 res = crypto_hash_alloc_ctx(&ctx, TEE_ALG_SHA256); in tee_zynqmp_generate_huk_src()
136 ret = tee_hash_createdigest(TEE_ALG_SHA256, device_dna, in tee_otp_get_hw_unique_key()
H A Dversal_huk.c317 if (tee_hash_createdigest(TEE_ALG_SHA256, enc_data, sizeof(enc_data), in tee_otp_get_hw_unique_key()
/optee_os/core/arch/arm/plat-nuvoton/
H A Dmain.c86 res = tee_hash_createdigest(TEE_ALG_SHA256, (uint8_t *)vaddr, in tee_otp_get_hw_unique_key()
/optee_os/core/drivers/crypto/aspeed/
H A Dhace_ast2600.c145 case TEE_ALG_SHA256: in ast2600_hace_init()
244 case TEE_ALG_SHA256: in ast2600_hace_final()
362 case TEE_ALG_SHA256: in ast2600_hace_alloc()
/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/ta/pkcs11/src/
H A Dprocessing_digest.c49 { PKCS11_CKM_SHA256, TEE_ALG_SHA256 }, in pkcs2tee_algorithm()
H A Dprocessing_rsa.c78 hash_size = TEE_ALG_GET_DIGEST_SIZE(TEE_ALG_SHA256); in pkcs2tee_validate_rsa_pss()
381 *tee_hash_id = TEE_ALG_SHA256; in pkcs2tee_algo_rsa_oaep()
476 *tee_hash_id = TEE_ALG_SHA256; in pkcs2tee_algo_rsa_aes_wrap()
H A Dprocessing_asymm.c79 TEE_ALG_SHA256 }, in pkcs2tee_algorithm()
89 TEE_ALG_RSASSA_PKCS1_PSS_MGF1_SHA256, TEE_ALG_SHA256 }, in pkcs2tee_algorithm()
98 { PKCS11_CKM_ECDSA_SHA256, 1, TEE_ALG_SHA256 }, in pkcs2tee_algorithm()
H A Dprocessing_symm.c176 { PKCS11_CKM_SHA256_HMAC, TEE_ALG_SHA256 }, in hmac_to_tee_hash()
182 { PKCS11_CKM_SHA256_HMAC_GENERAL, TEE_ALG_SHA256 }, in hmac_to_tee_hash()
H A Dpersistent_token.c82 res = TEE_AllocateOperation(&oh, TEE_ALG_SHA256, TEE_MODE_DIGEST, 0); in do_hash()
/optee_os/core/kernel/
H A Dembedded_ts.c107 res = crypto_hash_alloc_ctx(&ctx, TEE_ALG_SHA256); in emb_ts_get_tag()
/optee_os/core/pta/
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/tee/
H A Dtee_fs_key_manager.c172 return tee_hash_createdigest(TEE_ALG_SHA256, in, in_size, in sha256()
H A Dtee_svc.c131 res = tee_hash_createdigest(TEE_ALG_SHA256, data, sizeof(data), in get_prop_tee_dev_id()
H A Dfs_htree.c21 #define TEE_FS_HTREE_HASH_ALG TEE_ALG_SHA256
/optee_os/lib/libutee/include/
H A Dutee_defines.h225 case TEE_ALG_SHA256: in __tee_alg_get_digest_size()
H A Dtee_api_defines.h289 #define TEE_ALG_SHA256 0x50000004 macro
/optee_os/core/drivers/crypto/hisilicon/
H A Dsec_hash.c84 case TEE_ALG_SHA256: in sec_digest_get_alg_type()
528 case TEE_ALG_SHA256: in sec_hash_get_mac_len()
/optee_os/core/crypto/
H A Drng_fortuna.c25 #define HASH_ALGO TEE_ALG_SHA256
H A Dcrypto.c38 case TEE_ALG_SHA256: in crypto_hash_alloc_ctx()
/optee_os/core/lib/libtomcrypt/
H A Drsa.c57 case TEE_ALG_SHA256: in tee_algo_to_ltc_hashindex()
/optee_os/lib/libmbedtls/core/
H A Drsa.c74 case TEE_ALG_SHA256: in tee_algo_to_mbedtls_hash_algo()

12