/trusted-firmware-m-3.7.0/platform/ext/accelerator/cc312/psa-adac/ |
D | adac_crypto_cc312_hash.c | 34 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()
|
D | adac_crypto_cc312_pk.c | 36 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/ |
D | psa_adac_crypto_api.h | 49 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/ |
D | pq_crypto_psa.c | 37 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/ |
D | cc3xx_psa_hash.c | 123 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()
|
D | cc3xx_psa_asymmetric_signature.c | 69 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/ |
D | cc3xx_psa_hash.h | 72 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/ |
D | cc3xx_psa_hash.h | 72 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/ |
D | cc3xx_psa_hash.c | 234 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()
|
D | cc3xx_psa_mac.c | 260 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/ |
D | crypto_hash.c | 40 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/ |
D | attest_symmetric_key.c | 53 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/ |
D | pq_crypto.h | 32 size_t hash_size,
|
/trusted-firmware-m-3.7.0/secure_fw/partitions/firmware_update/bootloader/mcuboot/ |
D | tfm_mcuboot_fwu.c | 506 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/ |
D | thin_psa_crypto_core.c | 201 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/ |
D | 0005-Hardcode-CC3XX-entry-points.patch | 430 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/ |
D | crypto.h | 864 size_t hash_size, 1063 size_t hash_size,
|
/trusted-firmware-m-3.7.0/interface/src/ |
D | tfm_crypto_api.c | 422 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()
|