Home
last modified time | relevance | path

Searched refs:pUserPublKey (Results 1 – 15 of 15) sorted by relevance

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/shared/include/crypto_api/
Dcc_ecpki_build.h103 …CCEcpkiUserPublKey_t *pUserPublKey, /*!< [out] Pointer to the output public key st…
116 #define CC_EcpkiPubKeyBuild(pDomain, pPubKeyIn, PublKeySizeInBytes, pUserPublKey) \ argument
117 …heck((pDomain), (pPubKeyIn), (PublKeySizeInBytes), CheckPointersAndSizesOnly, (pUserPublKey), NULL)
127 #define CC_EcpkiPubKeyBuildAndPartlyCheck(pDomain, pPubKeyIn, PublKeySizeInBytes, pUserPublKey, pT… argument
128 …ck((pDomain), (pPubKeyIn), (PublKeySizeInBytes), ECpublKeyPartlyCheck, (pUserPublKey), (pTempBuff))
138 #define CC_EcpkiPubKeyBuildAndFullCheck(pDomain, pPubKeyIn, PublKeySizeInBytes, pUserPublKey, pTe… argument
139 …k((pDomain), (pPubKeyIn), (PublKeySizeInBytes), (ECpublKeyFullCheck), (pUserPublKey), (pTempBuff))
157 …CCEcpkiUserPublKey_t *pUserPublKey, /*!< [in] Pointer to the input public key st…
Dcc_ecpki_kg.h42 …CCEcpkiUserPublKey_t *pUserPublKey, /*!< [out] Pointer to the public key structure. This str…
65 …CCEcpkiUserPublKey_t *pUserPublKey, /*!< [out] Pointer to the public key structure. This str…
Dcc_ecpki_ecdsa.h89 …CCEcpkiUserPublKey_t *pUserPublKey, /*!< [in] Pointer to a user public key structure. …
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/ec_wrst/
Dcc_ecpki_kg.c56 CCEcpkiUserPublKey_t *pUserPublKey, /*out*/ in CC_EcpkiKeyPairGenerateBase() argument
82 if (pUserPublKey == NULL) in CC_EcpkiKeyPairGenerateBase()
91 CC_PalMemSetZero( pUserPublKey, sizeof(CCEcpkiUserPublKey_t) ); in CC_EcpkiKeyPairGenerateBase()
110 … err = EcWrstGenKeyPairBase(pDomain, ecX_ptr, ecY_ptr, pUserPrivKey, pUserPublKey, pTempBuff); in CC_EcpkiKeyPairGenerateBase()
115 err = FIPS_ECC_VALIDATE(pRndContext, pUserPrivKey, pUserPublKey, pFipsCtx); in CC_EcpkiKeyPairGenerateBase()
120 CC_PalMemSetZero(pUserPublKey, sizeof(CCEcpkiUserPublKey_t)); in CC_EcpkiKeyPairGenerateBase()
162 CCEcpkiUserPublKey_t *pUserPublKey, /*out*/ in CC_EcpkiKeyPairGenerate() argument
172 pUserPrivKey, pUserPublKey, pTempBuff, pFipsCtx); in CC_EcpkiKeyPairGenerate()
Dcc_ecpki_build_publ.c37 CCEcpkiUserPublKey_t *pUserPublKey, /*out*/ in CC_EcpkiPublKeyBuildAndCheck() argument
57 if (pUserPublKey == NULL) in CC_EcpkiPublKeyBuildAndCheck()
78 pPublKey = (CCEcpkiPublKey_t*)((void*)pUserPublKey->PublKeyDbBuff); in CC_EcpkiPublKeyBuildAndCheck()
105 CC_PalMemSetZero((uint8_t*)pUserPublKey, sizeof(CCEcpkiUserPublKey_t)); in CC_EcpkiPublKeyBuildAndCheck()
165 pUserPublKey->valid_tag = CC_ECPKI_PUBL_KEY_VALIDATION_TAG; in CC_EcpkiPublKeyBuildAndCheck()
170 CC_PalMemSetZero(pUserPublKey, sizeof(CCEcpkiUserPublKey_t)); in CC_EcpkiPublKeyBuildAndCheck()
217 CCEcpkiUserPublKey_t *pUserPublKey, /*in*/ in CC_EcpkiPubKeyExport() argument
237 if (pUserPublKey == NULL) in CC_EcpkiPubKeyExport()
243 if (pUserPublKey->valid_tag != CC_ECPKI_PUBL_KEY_VALIDATION_TAG) in CC_EcpkiPubKeyExport()
255 publKey = (CCEcpkiPublKey_t *)((void*)pUserPublKey->PublKeyDbBuff); in CC_EcpkiPubKeyExport()
Dcc_ecdsa_verify.c473 CCEcpkiUserPublKey_t *pUserPublKey, /*in*/ in CC_EcdsaVerify() argument
488 err = EcdsaVerifyInit(pVerifyUserContext, pUserPublKey, hashMode); in CC_EcdsaVerify()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/ec_wrst/
Dec_wrst_genkey.c34 CCEcpkiUserPublKey_t *pUserPublKey, in EcWrstGenKeyPairBase() argument
48 if (pUserPublKey == NULL) in EcWrstGenKeyPairBase()
59 pPublKey = (CCEcpkiPublKey_t *)&pUserPublKey->PublKeyDbBuff; in EcWrstGenKeyPairBase()
80 pUserPublKey->valid_tag = CC_ECPKI_PUBL_KEY_VALIDATION_TAG; in EcWrstGenKeyPairBase()
86 pUserPublKey->valid_tag = 0; in EcWrstGenKeyPairBase()
111 … CCEcpkiUserPublKey_t *pUserPublKey, /*!< [out] Pointer to the generated public key structure.*/ in EcWrstGenKeyPair() argument
118 …return EcWrstGenKeyPairBase(pDomain, pDomain->ecGx, pDomain->ecGy, pUserPrivKey, pUserPublKey, pTe… in EcWrstGenKeyPair()
Dec_wrst.h114 CCEcpkiUserPublKey_t *pUserPublKey,
122 CCEcpkiUserPublKey_t *pUserPublKey,
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/
Dcc3xx_internal_ecc_util.c196 CCEcpkiUserPublKey_t *pUserPublKey) in cc3xx_ecc_cc_priv_to_cc_publ() argument
207 pPublKey = (CCEcpkiPublKey_t *)&pUserPublKey->PublKeyDbBuff; in cc3xx_ecc_cc_priv_to_cc_publ()
236 pUserPublKey->valid_tag = CC_ECPKI_PUBL_KEY_VALIDATION_TAG; in cc3xx_ecc_cc_priv_to_cc_publ()
241 psa_status_t cc3xx_ecc_cc_publ_to_psa_publ(CCEcpkiUserPublKey_t *pUserPublKey, in cc3xx_ecc_cc_publ_to_psa_publ() argument
252 cc_err = CC_EcpkiPubKeyExport(pUserPublKey, CC_EC_PointUncompressed, in cc3xx_ecc_cc_publ_to_psa_publ()
338 CCEcpkiUserPublKey_t *pUserPublKey) in cc3xx_ecc_psa_publ_to_cc_publ() argument
345 if (NULL == publ_key || NULL == pUserPublKey) { in cc3xx_ecc_psa_publ_to_cc_publ()
360 pUserPublKey, &BuildTempData); in cc3xx_ecc_psa_publ_to_cc_publ()
Dcc3xx_psa_key_generation.c78 CCEcpkiUserPublKey_t *pUserPublKey; in cc3xx_internal_gen_ecc_wstr_keypair() local
113 pUserPublKey = (CCEcpkiUserPublKey_t *)(pUserPrivKey + 1); in cc3xx_internal_gen_ecc_wstr_keypair()
123 pUserPublKey, pTempBuff, NULL); in cc3xx_internal_gen_ecc_wstr_keypair()
378 CCEcpkiUserPublKey_t pUserPublKey; in cc3xx_export_public_key() local
407 err = cc3xx_ecc_cc_priv_to_cc_publ(&pUserPrivKey, &pUserPublKey); in cc3xx_export_public_key()
413 err = cc3xx_ecc_cc_publ_to_psa_publ(&pUserPublKey, in cc3xx_export_public_key()
Dcc3xx_psa_asymmetric_signature.c70 CCEcpkiUserPublKey_t pUserPublKey; in cc3xx_internal_ecdsa_verify() local
110 err = cc3xx_ecc_cc_priv_to_cc_publ(&pUserPrivKey, &pUserPublKey); in cc3xx_internal_ecdsa_verify()
115 &pUserPublKey, &temp_data); in cc3xx_internal_ecdsa_verify()
126 cc_err = CC_EcdsaVerify(&pVerifyUserContext, &pUserPublKey, hash_mode, in cc3xx_internal_ecdsa_verify()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/include/
Dcc3xx_internal_ecc_util.h48 CCEcpkiUserPublKey_t *pUserPublKey);
61 psa_status_t cc3xx_ecc_cc_publ_to_psa_publ(CCEcpkiUserPublKey_t *pUserPublKey,
111 CCEcpkiUserPublKey_t *pUserPublKey);
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/host/src/cc3x_lib/
Dcc_fips_defs.h16 #define FIPS_ECC_VALIDATE(pRndContext, pUserPrivKey, pUserPublKey, pFipsCtx) (CC_OK) argument
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/
Dcc_ecp_internal.c463 CCEcpkiUserPublKey_t *pUserPublKey; in ecp_wrst_gen_keypair_base() local
491 pUserPublKey = (CCEcpkiUserPublKey_t *)(pUserPrivKey + 1); in ecp_wrst_gen_keypair_base()
523 …S_PRIVATE(p), G->MBEDTLS_PRIVATE(Y).MBEDTLS_PRIVATE(p), pUserPrivKey, pUserPublKey, pTempBuff, NUL… in ecp_wrst_gen_keypair_base()
527 … rc = CC_EcpkiKeyPairGenerate(pRndContext, pDomain, pUserPrivKey, pUserPublKey, pTempBuff, NULL); in ecp_wrst_gen_keypair_base()
537 pPublicKey = (CCEcpkiPublKey_t *)pUserPublKey->PublKeyDbBuff; in ecp_wrst_gen_keypair_base()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/api/
Dmbedtls_cc_ecies.c58 CCEcpkiUserPublKey_t *pUserPublKey, /*out*/ in ecies_convert_mbed_to_cc_public_key() argument
95 pUserPublKey, in ecies_convert_mbed_to_cc_public_key()