Home
last modified time | relevance | path

Searched refs:hash_size (Results 1 – 18 of 18) sorted by relevance

/trusted-firmware-m-3.7.0/platform/ext/accelerator/cc312/psa-adac/
Dadac_crypto_cc312_hash.c34 size_t input_size, uint8_t *hash, size_t hash_size, in psa_adac_hash() argument
37 return psa_adac_hash_multiple(alg, &input, &input_size, 1, hash, hash_size, in psa_adac_hash()
43 uint8_t hash[], size_t hash_size, size_t *hash_length) in psa_adac_hash_multiple() argument
52 if (hash_size < 32) { in psa_adac_hash_multiple()
76 if (hash_size < 64) { in psa_adac_hash_multiple()
103 size_t input_length, uint8_t hash[], size_t hash_size) in psa_adac_hash_verify() argument
117 if (hash_size != len) { in psa_adac_hash_verify()
129 size_t hash_size[], size_t hash_count) in psa_adac_hash_verify_multiple() argument
144 status = hash_check(hash[i], hash_size[i], computed_hash, len); in psa_adac_hash_verify_multiple()
Dadac_crypto_cc312_pk.c36 size_t hash_size; in psa_adac_verify_signature() local
40 hash, sizeof(hash), &hash_size); in psa_adac_verify_signature()
66 hash_size, (uint8_t *)sig); in psa_adac_verify_signature()
128 hash, hash_size))) { in psa_adac_verify_signature()
/trusted-firmware-m-3.7.0/platform/ext/accelerator/cc312/psa-adac/include/
Dpsa_adac_crypto_api.h49 size_t input_size, uint8_t *hash, size_t hash_size,
71 uint8_t hash[], size_t hash_size, size_t *hash_length);
92 size_t input_size, uint8_t hash[], size_t hash_size);
117 size_t hash_size[], size_t hash_count);
/trusted-firmware-m-3.7.0/bl1/bl1_1/shared_lib/pq_crypto/
Dpq_crypto_psa.c37 size_t hash_size, in psa_hash_finish() argument
41 (void)hash_size; in psa_hash_finish()
90 size_t hash_size, in pq_crypto_get_pub_key_hash() argument
96 if (hash_size < 32) { in pq_crypto_get_pub_key_hash()
/trusted-firmware-m-3.7.0/platform/ext/accelerator/cc312/cc312-rom/psa_driver_api/src/
Dcc3xx_psa_hash.c123 size_t hash_size, size_t *hash_length) in cc3xx_hash_finish() argument
145 cc3xx_lowlevel_hash_finish((uint32_t *)hash, hash_size); in cc3xx_hash_finish()
158 size_t hash_size, size_t *hash_length) in cc3xx_hash_compute() argument
174 status = cc3xx_hash_finish(&operation, hash, hash_size, hash_length); in cc3xx_hash_compute()
Dcc3xx_psa_asymmetric_signature.c69 size_t hash_size; in ecdsa_sign() local
73 hash_size = input_length; in ecdsa_sign()
76 (uint8_t *)hash, sizeof(hash), &hash_size); in ecdsa_sign()
86 hash, hash_size, in ecdsa_sign()
146 size_t hash_size; in ecdsa_verify() local
150 hash_size = input_length; in ecdsa_verify()
153 (uint8_t *)hash, sizeof(hash), &hash_size); in ecdsa_verify()
188 hash, hash_size, in ecdsa_verify()
/trusted-firmware-m-3.7.0/platform/ext/accelerator/cc312/cc312-rom/psa_driver_api/include/
Dcc3xx_psa_hash.h72 size_t hash_size, size_t *hash_length);
98 size_t hash_size, size_t *hash_length);
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/include/
Dcc3xx_psa_hash.h72 size_t hash_size, size_t *hash_length);
98 size_t hash_size, size_t *hash_length);
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/
Dcc3xx_psa_hash.c234 size_t hash_size, size_t *hash_length) in cc3xx_hash_finish() argument
282 if (SHA1_DIGEST_SIZE_IN_BYTES > hash_size) { in cc3xx_hash_finish()
291 if (SHA224_DIGEST_SIZE_IN_BYTES > hash_size) { in cc3xx_hash_finish()
300 if (SHA256_DIGEST_SIZE_IN_BYTES > hash_size) { in cc3xx_hash_finish()
327 size_t hash_size, size_t *hash_length) in cc3xx_hash_compute() argument
341 status = cc3xx_hash_finish(&operation, hash, hash_size, hash_length); in cc3xx_hash_compute()
Dcc3xx_psa_mac.c260 size_t hash_size = PSA_HASH_LENGTH(hash_alg); in hmac_setup() local
290 if (block_size < hash_size) { in hmac_setup()
338 size_t hash_size = 0; in hmac_finish() local
363 status = cc3xx_hash_finish(hmac, tmp, sizeof(tmp), &hash_size); in hmac_finish()
378 status = cc3xx_hash_update(hmac, tmp, hash_size); in hmac_finish()
383 status = cc3xx_hash_finish(hmac, tmp, sizeof(tmp), &hash_size); in hmac_finish()
391 CC_PalMemSetZero(tmp, hash_size); in hmac_finish()
/trusted-firmware-m-3.7.0/secure_fw/partitions/crypto/
Dcrypto_hash.c40 size_t hash_size = out_vec[0].len; in tfm_crypto_hash_interface()
43 hash, hash_size, &out_vec[0].len); in tfm_crypto_hash_interface()
123 size_t hash_size = out_vec[1].len; in tfm_crypto_hash_interface() local
125 status = psa_hash_finish(operation, hash, hash_size, &out_vec[1].len); in tfm_crypto_hash_interface()
/trusted-firmware-m-3.7.0/secure_fw/partitions/initial_attestation/
Dattest_symmetric_key.c53 size_t hash_size, in symmetric_iak_hash() argument
73 status = psa_hash_finish(&hash_op, hash_buf, hash_size, hash_len); in symmetric_iak_hash()
/trusted-firmware-m-3.7.0/bl1/bl1_1/shared_lib/interface/
Dpq_crypto.h32 size_t hash_size,
/trusted-firmware-m-3.7.0/secure_fw/partitions/firmware_update/bootloader/mcuboot/
Dtfm_mcuboot_fwu.c506 size_t *hash_size) in util_img_hash() argument
536 status = psa_hash_finish(&handle, hash_result, buf_size, hash_size); in util_img_hash()
546 size_t hash_size = 0; in get_second_image_digest() local
568 &hash_size) == PSA_SUCCESS) { in get_second_image_digest()
569 memcpy(info->impl.candidate_digest, hash, hash_size); in get_second_image_digest()
/trusted-firmware-m-3.7.0/bl2/src/
Dthin_psa_crypto_core.c201 size_t hash_size, in psa_hash_finish() argument
208 operation, hash, hash_size, hash_length); in psa_hash_finish()
/trusted-firmware-m-3.7.0/lib/ext/mbedcrypto/
D0005-Hardcode-CC3XX-entry-points.patch430 alg, input, input_length, hash, hash_size, hash_length );
436 + status = cc3xx_hash_compute(alg, input, input_length, hash, hash_size,
516 hash, hash_size, hash_length ) );
523 hash, hash_size, hash_length ) );
530 + hash, hash_size, hash_length ) );
535 (void) hash_size;
/trusted-firmware-m-3.7.0/interface/include/psa/
Dcrypto.h864 size_t hash_size,
1063 size_t hash_size,
/trusted-firmware-m-3.7.0/interface/src/
Dtfm_crypto_api.c422 size_t hash_size, in TFM_CRYPTO_API()
436 {.base = hash, .len = hash_size}, in TFM_CRYPTO_API()
512 size_t hash_size, in TFM_CRYPTO_API()
527 {.base = hash, .len = hash_size} in TFM_CRYPTO_API()