Searched refs:cose_alg_id (Results 1 – 6 of 6) sorted by relevance
/trusted-firmware-m-3.6.0/lib/ext/t_cose/crypto_adapters/ |
D | t_cose_psa_crypto.c | 72 static psa_algorithm_t cose_alg_id_to_psa_alg_id(int32_t cose_alg_id) in cose_alg_id_to_psa_alg_id() argument 76 return cose_alg_id == COSE_ALGORITHM_ES256 ? PSA_ALG_ECDSA(PSA_ALG_SHA_256) : in cose_alg_id_to_psa_alg_id() 78 cose_alg_id == COSE_ALGORITHM_ES384 ? PSA_ALG_ECDSA(PSA_ALG_SHA_384) : in cose_alg_id_to_psa_alg_id() 81 cose_alg_id == COSE_ALGORITHM_ES512 ? PSA_ALG_ECDSA(PSA_ALG_SHA_512) : in cose_alg_id_to_psa_alg_id() 467 const int32_t cose_alg_id) in t_cose_crypto_hmac_sign_setup() argument 477 psa_alg = cose_hmac_alg_id_to_psa(cose_alg_id); in t_cose_crypto_hmac_sign_setup() 550 const int cose_alg_id, in t_cose_crypto_hmac_verify_setup() argument 561 psa_alg = cose_hmac_alg_id_to_psa(cose_alg_id); in t_cose_crypto_hmac_verify_setup()
|
/trusted-firmware-m-3.6.0/lib/ext/t_cose/src/ |
D | t_cose_crypto.h | 562 const int32_t cose_alg_id); 624 const int cose_alg_id, 713 static inline size_t t_cose_tag_size(int32_t cose_alg_id) in t_cose_tag_size() argument 715 switch(cose_alg_id) { in t_cose_tag_size()
|
D | t_cose_mac0_sign.c | 150 short_circuit_tag(int32_t cose_alg_id, in short_circuit_tag() argument 166 tag_size = t_cose_tag_size(cose_alg_id); in short_circuit_tag() 180 hash_alg_id = t_cose_hmac_to_hash_alg_id(cose_alg_id); in short_circuit_tag()
|
D | t_cose_mac0_verify.c | 34 short_circuit_verify(int32_t cose_alg_id, in short_circuit_verify() argument 46 hash_alg_id = t_cose_hmac_to_hash_alg_id(cose_alg_id); in short_circuit_verify()
|
/trusted-firmware-m-3.6.0/secure_fw/partitions/initial_attestation/ |
D | attest_token_encode.c | 100 int32_t cose_alg_id, in attest_token_encode_start() argument 119 t_cose_mac0_sign_init(&(me->mac_ctx), t_cose_options, cose_alg_id); in attest_token_encode_start() 230 int32_t cose_alg_id, in attest_token_encode_start() argument 254 t_cose_sign1_sign_init(&(me->signer_ctx), t_cose_options, cose_alg_id); in attest_token_encode_start()
|
D | attest_token.h | 170 int32_t cose_alg_id,
|