Home
last modified time | relevance | path

Searched refs:domainId (Results 1 – 7 of 7) sorted by relevance

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/ec_wrst/
Dcc_ecpki_domain.c41 const CCEcpkiDomain_t *CC_EcpkiGetEcDomain(CCEcpkiDomainID_t domainId) in CC_EcpkiGetEcDomain() argument
43 if (domainId >= CC_ECPKI_DomainID_OffMode) { in CC_EcpkiGetEcDomain()
47 if (ecDomainsFuncP[domainId] == NULL) { in CC_EcpkiGetEcDomain()
51 return ((ecDomainsFuncP[domainId])()); in CC_EcpkiGetEcDomain()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/
Decdsa_alt.c101 CCEcpkiDomainID_t domainId; in ecdsa_wrst_sign() local
113 ret = ecp_grp_id_to_domain_id( grp->id, &domainId ); in ecdsa_wrst_sign()
118 pDomain = CC_EcpkiGetEcDomain( domainId ); in ecdsa_wrst_sign()
122 CC_PAL_LOG_ERR( "Error - domain id: %d is not supported\n",domainId ); in ecdsa_wrst_sign()
252 CCEcpkiDomainID_t domainId; in ecdsa_wrst_verify() local
264 ret = ecp_grp_id_to_domain_id( grp->id, &domainId ); in ecdsa_wrst_verify()
269 pDomain = CC_EcpkiGetEcDomain(domainId); in ecdsa_wrst_verify()
273 CC_PAL_LOG_ERR("Error - domain id %d is not supported\n",domainId); in ecdsa_wrst_verify()
Dcc_ecp_internal.c218 CCEcpkiDomainID_t domainId; in ecp_wrst_mul() local
220 ret = ecp_grp_id_to_domain_id(grp->id, &domainId); in ecp_wrst_mul()
227 pDomain = CC_EcpkiGetEcDomain(domainId); in ecp_wrst_mul()
230 CC_PAL_LOG_ERR("Error - domain id %d is not supported\n",domainId); in ecp_wrst_mul()
460 CCEcpkiDomainID_t domainId; in ecp_wrst_gen_keypair_base() local
469 ret = ecp_grp_id_to_domain_id(grp->id, &domainId); in ecp_wrst_gen_keypair_base()
476 pDomain = CC_EcpkiGetEcDomain(domainId); in ecp_wrst_gen_keypair_base()
479 CC_PAL_LOG_ERR("Error - domain id %d is not supported\n",domainId); in ecp_wrst_gen_keypair_base()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/
Dcc3xx_psa_asymmetric_signature.c75 CCEcpkiDomainID_t domainId; in cc3xx_internal_ecdsa_verify() local
86 err = cc3xx_ecc_psa_domain_to_cc_domain(curve, key_bits, &domainId); in cc3xx_internal_ecdsa_verify()
92 pDomain = CC_EcpkiGetEcDomain(domainId); in cc3xx_internal_ecdsa_verify()
94 CC_PAL_LOG_ERR("Error - domain id %d is not supported\n", domainId); in cc3xx_internal_ecdsa_verify()
107 err = cc3xx_ecc_psa_priv_to_cc_priv(domainId, key, key_length, in cc3xx_internal_ecdsa_verify()
154 CCEcpkiDomainID_t domainId; in cc3xx_internal_ecdsa_sign() local
182 err = cc3xx_ecc_psa_domain_to_cc_domain(curve, key_bits, &domainId); in cc3xx_internal_ecdsa_sign()
188 pDomain = CC_EcpkiGetEcDomain(domainId); in cc3xx_internal_ecdsa_sign()
190 CC_PAL_LOG_ERR("Error - domain id %d is not supported\n", domainId); in cc3xx_internal_ecdsa_sign()
Dcc3xx_psa_key_generation.c76 CCEcpkiDomainID_t domainId; in cc3xx_internal_gen_ecc_wstr_keypair() local
92 err = cc3xx_ecc_psa_domain_to_cc_domain(curve, key_bits, &domainId); in cc3xx_internal_gen_ecc_wstr_keypair()
98 pDomain = CC_EcpkiGetEcDomain(domainId); in cc3xx_internal_gen_ecc_wstr_keypair()
100 CC_PAL_LOG_ERR("Error - domain id %d is not supported\n", domainId); in cc3xx_internal_gen_ecc_wstr_keypair()
380 CCEcpkiDomainID_t domainId; in cc3xx_export_public_key() local
395 err = cc3xx_ecc_psa_domain_to_cc_domain(curve, key_bits, &domainId); in cc3xx_export_public_key()
401 err = cc3xx_ecc_psa_priv_to_cc_priv(domainId, key_buffer, in cc3xx_export_public_key()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/shared/include/crypto_api/cc3x/
Dcc_ecpki_domain.h44 const CCEcpkiDomain_t *CC_EcpkiGetEcDomain(CCEcpkiDomainID_t domainId /*!< [in] Index of one of the…
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/ec_mont/
Dec_mont_local.h60 CCEcMontDomainId_t domainId; member