Home
last modified time | relevance | path

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/
Dt_cose_psa_crypto.c72 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/
Dt_cose_crypto.h562 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()
Dt_cose_mac0_sign.c150 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()
Dt_cose_mac0_verify.c34 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/
Dattest_token_encode.c100 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()
Dattest_token.h170 int32_t cose_alg_id,