| /optee_os/core/pta/veraison_attestation/ |
| H A D | veraison_attestation.c | 20 #define TEE_SHA256_HASH_SIZE 32 macro 63 uint8_t measurement_value[TEE_SHA256_HASH_SIZE] = { 0 }; in cmd_get_cbor_evidence() 64 size_t b64_measurement_value_len = TEE_SHA256_HASH_SIZE * 2; in cmd_get_cbor_evidence() 65 char b64_measurement_value[TEE_SHA256_HASH_SIZE * 2] = { 0 }; in cmd_get_cbor_evidence() 88 if (!base64_enc(measurement_value, TEE_SHA256_HASH_SIZE, in cmd_get_cbor_evidence() 110 TEE_SHA256_HASH_SIZE); in cmd_get_cbor_evidence()
|
| H A D | sign.c | 77 res = crypto_hash_final(ctx, hash, TEE_SHA256_HASH_SIZE); in hash_sha256() 169 uint8_t hash_msg[TEE_SHA256_HASH_SIZE] = { }; in sign_ecdsa_sha256() 183 TEE_SHA256_HASH_SIZE, sig, sig_len); in sign_ecdsa_sha256() 189 TEE_SHA256_HASH_SIZE, sig, *sig_len); in sign_ecdsa_sha256()
|
| H A D | hash.c | 46 uint8_t hash[TEE_SHA256_HASH_SIZE]) in hash_regions() argument 96 res = crypto_hash_final(ctx, hash, TEE_SHA256_HASH_SIZE); in hash_regions() 103 TEE_Result get_hash_ta_memory(uint8_t out[TEE_SHA256_HASH_SIZE]) in get_hash_ta_memory() argument
|
| H A D | hash.h | 13 TEE_Result get_hash_ta_memory(uint8_t out[TEE_SHA256_HASH_SIZE]);
|
| /optee_os/core/include/tee/ |
| H A D | tee_fs_key_manager.h | 15 #define TEE_FS_KM_SSK_SIZE TEE_SHA256_HASH_SIZE 16 #define TEE_FS_KM_TSK_SIZE TEE_SHA256_HASH_SIZE
|
| H A D | tee_ta_enc_manager.h | 13 #define TEE_TA_ENC_KEY_SIZE TEE_SHA256_HASH_SIZE
|
| H A D | fs_htree.h | 23 #define TEE_FS_HTREE_HASH_SIZE TEE_SHA256_HASH_SIZE
|
| /optee_os/core/pta/ |
| H A D | attestation.c | 71 TEE_SHA256_HASH_SIZE); in generate_key() 418 COMPILE_TIME_ASSERT(FILE_TAG_SIZE == TEE_SHA256_HASH_SIZE); in hash_binary() 425 DHEXDUMP(hash, TEE_SHA256_HASH_SIZE); in hash_binary() 447 res = crypto_hash_update(ctx, hash, TEE_SHA256_HASH_SIZE); in digest_nonce_and_hash() 450 res = crypto_hash_final(ctx, digest, TEE_SHA256_HASH_SIZE); in digest_nonce_and_hash() 461 TEE_SHA256_HASH_SIZE, /* salt len */ in sign_digest() 462 digest, TEE_SHA256_HASH_SIZE, in sign_digest() 475 uint8_t digest[TEE_SHA256_HASH_SIZE] = { }; in sign_buffer() 481 return sign_digest(buf + TEE_SHA256_HASH_SIZE, in sign_buffer() 482 buf_sz - TEE_SHA256_HASH_SIZE, digest); in sign_buffer() [all …]
|
| /optee_os/core/kernel/ |
| H A D | embedded_ts.c | 101 if (!tag || *tag_len < TEE_SHA256_HASH_SIZE) { in emb_ts_get_tag() 102 *tag_len = TEE_SHA256_HASH_SIZE; in emb_ts_get_tag() 105 *tag_len = TEE_SHA256_HASH_SIZE; in emb_ts_get_tag()
|
| /optee_os/core/include/kernel/ |
| H A D | huk_subkey.h | 38 #define HUK_SUBKEY_MAX_LEN TEE_SHA256_HASH_SIZE
|
| /optee_os/core/include/mm/ |
| H A D | file.h | 14 #define FILE_TAG_SIZE TEE_SHA256_HASH_SIZE
|
| /optee_os/core/arch/arm/plat-synquacer/ |
| H A D | rng_pta.c | 185 uint8_t entropy_sha512_256[TEE_SHA256_HASH_SIZE]; in pool_check_add_entropy() 216 TEE_SHA256_HASH_SIZE); in pool_check_add_entropy()
|
| /optee_os/lib/libutee/include/ |
| H A D | utee_defines.h | 193 TEE_SHA256_HASH_SIZE = 32, enumerator 231 return TEE_SHA256_HASH_SIZE; in __tee_alg_get_digest_size()
|
| /optee_os/core/drivers/crypto/caam/hash/ |
| H A D | caam_hash.c | 55 .size_ctx = HASH_MSG_LEN + TEE_SHA256_HASH_SIZE, 61 .size_digest = TEE_SHA256_HASH_SIZE, 63 .size_ctx = HASH_MSG_LEN + TEE_SHA256_HASH_SIZE,
|
| /optee_os/lib/libmbedtls/core/ |
| H A D | hash.c | 186 uint8_t digest[TEE_SHA256_HASH_SIZE] = { 0 }; in hash_sha256_check()
|
| /optee_os/core/lib/libtomcrypt/ |
| H A D | hash.c | 176 uint8_t digest[TEE_SHA256_HASH_SIZE]; in hash_sha256_check()
|
| /optee_os/ta/remoteproc/src/ |
| H A D | remoteproc_core.c | 119 uint8_t hash[TEE_SHA256_HASH_SIZE]; 205 .hash_len = TEE_SHA256_HASH_SIZE, 210 .hash_len = TEE_SHA256_HASH_SIZE, 752 params[3].memref.size = TEE_SHA256_HASH_SIZE; in remoteproc_load_segment()
|
| /optee_os/core/tee/ |
| H A D | tee_fs_key_manager.c | 210 uint8_t sha[TEE_SHA256_HASH_SIZE]; in essiv()
|
| /optee_os/core/pta/stm32mp/ |
| H A D | remoteproc_pta.c | 90 if (!hash || params[3].memref.size != TEE_SHA256_HASH_SIZE) in rproc_pta_load_segment()
|
| /optee_os/core/arch/arm/kernel/ |
| H A D | boot.c | 485 TEE_SHA256_HASH_SIZE; in init_pager_runtime() 545 const uint8_t *hash = hashes + n * TEE_SHA256_HASH_SIZE; in init_pager_runtime()
|
| /optee_os/ta/pkcs11/src/ |
| H A D | processing_symm.c | 524 sign_sz = TEE_SHA256_HASH_SIZE; in input_hmac_len_is_valid() 703 sign_sz = TEE_SHA256_HASH_SIZE; in input_sign_size_is_valid()
|
| /optee_os/core/drivers/imx/dcp/ |
| H A D | dcp.c | 53 .size = TEE_SHA256_HASH_SIZE,
|
| /optee_os/core/drivers/crypto/se050/core/ |
| H A D | ecc.c | 180 { kAlgorithm_SSS_ECDSA_SHA256, TEE_SHA256_HASH_SIZE }, in ecc_prepare_msg()
|
| /optee_os/core/mm/ |
| H A D | fobj.c | 473 const uint8_t *hash = rop->hashes + page_idx * TEE_SHA256_HASH_SIZE; in rop_load_page_helper()
|
| /optee_os/core/drivers/crypto/caam/acipher/ |
| H A D | caam_prime_dsa.c | 682 struct dsa_hash hash_func = { OP_ALGO(SHA256), TEE_SHA256_HASH_SIZE }; in caam_prime_dsa_gen()
|