/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/ffc_domain/ |
D | cc_ffc_domain.c | 358 CCFfcDomain_t *pDomain, /* [in/out] pointer to FFC Domain. */ in FfcFips186v4FindOrderQ() argument 383 CHECK_AND_SET_ERROR((pDomain == NULL), CC_FFC_DOMAIN_INVALID_DOMAIN_PTR_ERROR); in FfcFips186v4FindOrderQ() 391 pOrder = pDomain->order; in FfcFips186v4FindOrderQ() 392 orderSizeBytes = pDomain->ordLenWords * CC_32BIT_WORD_SIZE; in FfcFips186v4FindOrderQ() 393 orderSizeWords = pDomain->ordLenWords; in FfcFips186v4FindOrderQ() 394 pSeed = pDomain->seed; in FfcFips186v4FindOrderQ() 395 seedSizeBytes = pDomain->seedSizeBytes; in FfcFips186v4FindOrderQ() 396 hashDigestSize = pDomain->hashDigestSize; in FfcFips186v4FindOrderQ() 410 …CHECK_ERROR(FfcGetHashMode(&hashMode, NULL/*pHkdfHashMode*/, NULL/*pBlockSize*/, NULL, pDomain->ff… in FfcFips186v4FindOrderQ() 464 CC_PalMemSetZero(pDomain, sizeof(CCFfcDomain_t)); in FfcFips186v4FindOrderQ() [all …]
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/ec_wrst/ |
D | ec_wrst_genkey.c | 30 CEXPORT_C CCError_t EcWrstGenKeyPairBase(const CCEcpkiDomain_t *pDomain, in EcWrstGenKeyPairBase() argument 42 if (pDomain == NULL) in EcWrstGenKeyPairBase() 61 orderSizeInWords = (pDomain->ordSizeInBits+CC_BITS_IN_32BIT_WORD-1)/CC_BITS_IN_32BIT_WORD; in EcWrstGenKeyPairBase() 64 err = PkaEcWrstScalarMult(pDomain, in EcWrstGenKeyPairBase() 76 CC_PalMemCopy((uint8_t*)&pPrivKey->domain, (uint8_t*)pDomain, sizeof(pPrivKey->domain)); in EcWrstGenKeyPairBase() 79 CC_PalMemCopy((uint8_t*)&pPublKey->domain, (uint8_t*)pDomain, sizeof(pPublKey->domain)); in EcWrstGenKeyPairBase() 109 CEXPORT_C CCError_t EcWrstGenKeyPair(const CCEcpkiDomain_t *pDomain, /*!< [in] Pointer to cur… in EcWrstGenKeyPair() argument 115 if (pDomain == NULL) in EcWrstGenKeyPair() 118 …return EcWrstGenKeyPairBase(pDomain, pDomain->ecGx, pDomain->ecGy, pUserPrivKey, pUserPublKey, pTe… in EcWrstGenKeyPair()
|
D | ec_wrst_dsa.c | 52 static CCError_t CalcSignature(const CCEcpkiDomain_t *pDomain, /*!< [in] Pointer to EC domain struc… in CalcSignature() argument 76 ordSizeInWords = CALC_FULL_32BIT_WORDS(pDomain->ordSizeInBits); in CalcSignature() 77 modSizeInWords = CALC_FULL_32BIT_WORDS(pDomain->modSizeInBits); in CalcSignature() 84 … err = PkaInitAndMutexLock(pDomain->ordSizeInBits , &pkaReqRegs); // RL Count regs to clean 9! in CalcSignature() 93 PkaCopyDataIntoPkaReg(ECC_REG_N, 1, pDomain->ecR/*src_ptr*/, ordSizeInWords); in CalcSignature() 94 PkaCopyDataIntoPkaReg(ECC_REG_NP, 1, ((EcWrstDomain_t*)&(pDomain->llfBuff))->ordTag, in CalcSignature() 200 const CCEcpkiDomain_t *pDomain = &pSignPrivKey->domain; in EcWrstDsaSign() local 209 ordSizeInBits = pDomain->ordSizeInBits; in EcWrstDsaSign() 211 modSizeInWords = CALC_FULL_32BIT_WORDS(pDomain->modSizeInBits); in EcWrstDsaSign() 230 CC_PalMemCopy(pMaxVect, pDomain->ecR, sizeof(uint32_t)*ordSizeInWords); in EcWrstDsaSign() [all …]
|
D | ec_wrst.c | 41 CCEcpkiDomain_t *pDomain; in EcWrstInitPubKey() local 47 pDomain = &pPublKey->domain; in EcWrstInitPubKey() 49 modSizeInBits = pDomain->modSizeInBits; in EcWrstInitPubKey() 62 PkaCopyDataIntoPkaReg(PKA_REG_N/*dstReg*/, 1, pDomain->ecP, modSizeInWords); in EcWrstInitPubKey() 64 PkaCopyDataIntoPkaReg(PKA_REG_NP/*dstReg*/, 1, pDomain->llfBuff/*NP*/, in EcWrstInitPubKey() 71 PkaCopyDataIntoPkaReg(PKA_REG_EC_A/*dstReg*/, 1, pDomain->ecA, modSizeInWords); in EcWrstInitPubKey() 72 PkaCopyDataIntoPkaReg(PKA_REG_EC_B/*dstReg*/, 1, pDomain->ecB, modSizeInWords); in EcWrstInitPubKey()
|
D | pka_ec_wrst_smul_no_scap.c | 318 CCError_t PkaEcWrstScalarMult(const CCEcpkiDomain_t *pDomain, /*!< [in] Pointer to current EC dom… in PkaEcWrstScalarMult() argument 337 … pDomain->ecR, CALC_FULL_32BIT_WORDS(pDomain->ordSizeInBits)); in PkaEcWrstScalarMult() 344 err = ScalarMultAff(pDomain, in PkaEcWrstScalarMult()
|
D | ec_wrst.h | 112 CEXPORT_C CCError_t EcWrstGenKeyPair(const CCEcpkiDomain_t *pDomain, 118 CEXPORT_C CCError_t EcWrstGenKeyPairBase(const CCEcpkiDomain_t *pDomain,
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/ec_wrst/ |
D | cc_ecpki_kg.c | 52 const CCEcpkiDomain_t *pDomain, /*in*/ in CC_EcpkiKeyPairGenerateBase() argument 73 if (pDomain == NULL) in CC_EcpkiKeyPairGenerateBase() 96 orderSizeInWords = (pDomain->ordSizeInBits+CC_BITS_IN_32BIT_WORD-1)/CC_BITS_IN_32BIT_WORD; in CC_EcpkiKeyPairGenerateBase() 98 CC_PalMemCopy(pTempBuff, pDomain->ecR, sizeof(uint32_t)*orderSizeInWords); in CC_EcpkiKeyPairGenerateBase() 104 err = CC_RndGenerateVectorInRange(pRndContext, (uint32_t)pDomain->ordSizeInBits, in CC_EcpkiKeyPairGenerateBase() 110 … err = EcWrstGenKeyPairBase(pDomain, ecX_ptr, ecY_ptr, pUserPrivKey, pUserPublKey, pTempBuff); in CC_EcpkiKeyPairGenerateBase() 160 const CCEcpkiDomain_t *pDomain, /*in*/ in CC_EcpkiKeyPairGenerate() argument 167 if (NULL == pDomain) { in CC_EcpkiKeyPairGenerate() 171 return CC_EcpkiKeyPairGenerateBase(pRndContext, pDomain, pDomain->ecGx, pDomain->ecGy, in CC_EcpkiKeyPairGenerate()
|
D | cc_ecpki_build_priv.c | 56 const CCEcpkiDomain_t *pDomain, /*in */ in CC_EcpkiPrivKeyBuild() argument 78 if (pDomain == NULL) in CC_EcpkiPrivKeyBuild() 82 if ((pDomain->modSizeInBits > (CC_ECPKI_MODUL_MAX_LENGTH_IN_WORDS * 32)) || in CC_EcpkiPrivKeyBuild() 83 (pDomain->ordSizeInBits > (pDomain->modSizeInBits + 1))) { in CC_EcpkiPrivKeyBuild() 94 orderSizeInBytes = CALC_FULL_BYTES(pDomain->ordSizeInBits); in CC_EcpkiPrivKeyBuild() 111 … pDomain->ecR, (uint16_t)(privKeySizeInBytes+3)/sizeof(uint32_t)) != in CC_EcpkiPrivKeyBuild() 127 CC_PalMemCopy(&pPrivKey->domain, pDomain, sizeof(CCEcpkiDomain_t)); in CC_EcpkiPrivKeyBuild()
|
D | cc_ecpki_build_publ.c | 33 const CCEcpkiDomain_t *pDomain, /*in*/ in CC_EcpkiPublKeyBuildAndCheck() argument 61 if (pDomain == NULL) in CC_EcpkiPublKeyBuildAndCheck() 70 if ((pDomain->modSizeInBits > (CC_ECPKI_MODUL_MAX_LENGTH_IN_WORDS * 32)) || in CC_EcpkiPublKeyBuildAndCheck() 71 (pDomain->ordSizeInBits > (pDomain->modSizeInBits + 1))) { in CC_EcpkiPublKeyBuildAndCheck() 79 modSizeInBytes = CALC_FULL_BYTES(pDomain->modSizeInBits); in CC_EcpkiPublKeyBuildAndCheck() 117 pDomain->ecP, modSizeInWords); in CC_EcpkiPublKeyBuildAndCheck() 134 pDomain->ecP, modSizeInWords); in CC_EcpkiPublKeyBuildAndCheck() 144 CC_PalMemCopy(&pPublKey->domain, pDomain, sizeof(CCEcpkiDomain_t)); in CC_EcpkiPublKeyBuildAndCheck()
|
D | cc_ecies.c | 138 const CCEcpkiDomain_t *pDomain; in EciesKemEncrypt() local 213 pDomain = &pRecipPublKey->domain; in EciesKemEncrypt() 216 if (pDomain->DomainID >= CC_ECPKI_DomainID_OffMode) in EciesKemEncrypt() 220 modSizeInBytes = CALC_FULL_BYTES(pDomain->modSizeInBits); in EciesKemEncrypt() 229 (const CCEcpkiDomain_t *)pDomain, in EciesKemEncrypt() 387 const CCEcpkiDomain_t *pDomain; in CC_EciesKemDecrypt() local 433 pDomain = &pRecipPrivKey->domain; in CC_EciesKemDecrypt() 436 if (pDomain->DomainID >= CC_ECPKI_DomainID_OffMode) in CC_EciesKemDecrypt() 440 modSizeInBytes = CALC_FULL_BYTES(pDomain->modSizeInBits); in CC_EciesKemDecrypt() 445 pDomain, /*in*/ in CC_EciesKemDecrypt()
|
D | cc_ecdh.c | 50 CCEcpkiDomain_t *pDomain, *pPublDomain; in CC_EcdhSvdpDh() local 91 pDomain = &PrivKey_ptr->domain; in CC_EcdhSvdpDh() 95 if(CC_PalMemCmp(pDomain, pPublDomain, sizeof(CCEcpkiDomain_t))) { in CC_EcdhSvdpDh() 100 modSizeInBytes = CALC_FULL_BYTES(pDomain->modSizeInBits); in CC_EcdhSvdpDh()
|
D | cc_ecdsa_verify.c | 319 CCEcpkiDomain_t *pDomain; in EcdsaVerifyFinish() local 363 pDomain = &PublKey_ptr->domain; in EcdsaVerifyFinish() 364 orderSizeInBytes = CALC_FULL_BYTES(pDomain->ordSizeInBits); in EcdsaVerifyFinish() 365 orderSizeInWords = CALC_FULL_32BIT_WORDS(pDomain->ordSizeInBits); in EcdsaVerifyFinish() 398 if (pDomain->ordSizeInBits >= 32*hashSizeWords) { in EcdsaVerifyFinish() 403 … (uint8_t*)(pWorkingContext->hashResult), pDomain->ordSizeInBits); in EcdsaVerifyFinish()
|
D | cc_ecdsa_sign.c | 347 CCEcpkiDomain_t *pDomain; in EcdsaSignFinishInt() local 412 pDomain = &pPrivKey->domain; in EcdsaSignFinishInt() 413 orderSizeInBytes = CALC_FULL_BYTES(pDomain->ordSizeInBits); in EcdsaSignFinishInt() 414 orderSizeInWords = CALC_FULL_32BIT_WORDS(pDomain->ordSizeInBits); in EcdsaSignFinishInt() 448 if (pDomain->ordSizeInBits >= 32*hashSizeWords) { in EcdsaSignFinishInt() 453 … (uint8_t*)(pWorkingContext->hashResult), pDomain->ordSizeInBits); in EcdsaSignFinishInt()
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/shared/include/crypto_api/ |
D | cc_ecpki_build.h | 42 const CCEcpkiDomain_t *pDomain, /*!< [in] The EC domain (curve). */ 87 const CCEcpkiDomain_t *pDomain, /*!< [in] The EC domain (curve). */ 116 #define CC_EcpkiPubKeyBuild(pDomain, pPubKeyIn, PublKeySizeInBytes, pUserPublKey) \ argument 117 …CC_EcpkiPublKeyBuildAndCheck((pDomain), (pPubKeyIn), (PublKeySizeInBytes), CheckPointersAndSizesOn… 127 #define CC_EcpkiPubKeyBuildAndPartlyCheck(pDomain, pPubKeyIn, PublKeySizeInBytes, pUserPublKey, pT… argument 128 …CC_EcpkiPublKeyBuildAndCheck((pDomain), (pPubKeyIn), (PublKeySizeInBytes), ECpublKeyPartlyCheck, (… 138 #define CC_EcpkiPubKeyBuildAndFullCheck(pDomain, pPubKeyIn, PublKeySizeInBytes, pUserPublKey, pTe… argument 139 …CC_EcpkiPublKeyBuildAndCheck((pDomain), (pPubKeyIn), (PublKeySizeInBytes), (ECpublKeyFullCheck), (…
|
D | cc_ffc_domain.h | 245 CCFfcDomain_t *pDomain, /*!< [out] pointer to FFC Domain structure. */ 278 CCFfcDomain_t *pDomain, /*!< [out] pointer to FFC Domain structure. */ 308 CCFfcDomain_t *pDomain, /*!< [out] pointer to FFC Domain structure. */ 353 CCFfcDomain_t *pDomain, /*!< [in] pointer to FFC Domain to be exported. */ 386 CCFfcDomain_t *pDomain, /*!< [in/out] pointer to FFC Domain structure. */
|
D | cc_ecpki_kg.h | 39 … const CCEcpkiDomain_t *pDomain, /*!< [in] Pointer to EC domain (curve). */ 60 … const CCEcpkiDomain_t *pDomain, /*!< [in] Pointer to EC domain (curve). */
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/ |
D | ecdsa_edwards.c | 74 const CCEcEdwDomain_t *pDomain; in mbedtls_ecdsa_genkey_edwards() local 98 pDomain = EcEdwGetDomain25519(); in mbedtls_ecdsa_genkey_edwards() 99 if (NULL == pDomain) in mbedtls_ecdsa_genkey_edwards() 105 ecEdwOrderSizeBytes = CALC_FULL_BYTES(pDomain->ecOrdSizeInBits); in mbedtls_ecdsa_genkey_edwards() 107 pubKeySizeBytes = CALC_FULL_BYTES(pDomain->ecModSizeInBits); in mbedtls_ecdsa_genkey_edwards() 130 pSeed, pDomain, in mbedtls_ecdsa_genkey_edwards() 138 …ret = mbedtls_mpi_read_binary(&Q->MBEDTLS_PRIVATE(Y), pPublicKey, CALC_FULL_BYTES(pDomain->ecModSi… in mbedtls_ecdsa_genkey_edwards() 146 ret = mbedtls_mpi_read_binary(d, pPrivKey, CALC_FULL_BYTES(2*pDomain->ecModSizeInBits)); in mbedtls_ecdsa_genkey_edwards() 156 grp->nbits = pDomain->ecModSizeInBits; // 253 in mbedtls_ecdsa_genkey_edwards() 178 const CCEcEdwDomain_t* pDomain; in mbedtls_ecdsa_sign_edwards() local [all …]
|
D | cc_ecp_internal.c | 217 const CCEcpkiDomain_t *pDomain; in ecp_wrst_mul() local 227 pDomain = CC_EcpkiGetEcDomain(domainId); in ecp_wrst_mul() 228 if (NULL == pDomain) in ecp_wrst_mul() 240 ret = mbedtls_mpi_grow(&R->MBEDTLS_PRIVATE(X), CALC_FULL_32BIT_WORDS(pDomain->modSizeInBits)); in ecp_wrst_mul() 248 ret = mbedtls_mpi_grow(&R->MBEDTLS_PRIVATE(Y), CALC_FULL_32BIT_WORDS(pDomain->modSizeInBits)); in ecp_wrst_mul() 257 …rc = PkaEcWrstScalarMult(pDomain, m->MBEDTLS_PRIVATE(p), m->MBEDTLS_PRIVATE(n), P->MBEDTLS_PRIVATE… in ecp_wrst_mul() 459 const CCEcpkiDomain_t *pDomain; in ecp_wrst_gen_keypair_base() local 476 pDomain = CC_EcpkiGetEcDomain(domainId); in ecp_wrst_gen_keypair_base() 477 if (NULL == pDomain) in ecp_wrst_gen_keypair_base() 496 ret = mbedtls_mpi_grow(&Q->MBEDTLS_PRIVATE(X), CALC_FULL_32BIT_WORDS(pDomain->modSizeInBits)); in ecp_wrst_gen_keypair_base() [all …]
|
D | ecdsa_alt.c | 106 const CCEcpkiDomain_t* pDomain; in ecdsa_wrst_sign() local 118 pDomain = CC_EcpkiGetEcDomain( domainId ); in ecdsa_wrst_sign() 120 if (NULL == pDomain) in ecdsa_wrst_sign() 155 status = CC_EcpkiPrivKeyBuild( pDomain, in ecdsa_wrst_sign() 253 const CCEcpkiDomain_t* pDomain; in ecdsa_wrst_verify() local 269 pDomain = CC_EcpkiGetEcDomain(domainId); in ecdsa_wrst_verify() 271 if (NULL == pDomain) in ecdsa_wrst_verify() 296 status = CC_EcpkiPubKeyBuild(pDomain, pTemp_buf, temp_size, pPub_key); in ecdsa_wrst_verify()
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/api/ |
D | mbedtls_cc_ecies.c | 56 const CCEcpkiDomain_t *pDomain, in ecies_convert_mbed_to_cc_public_key() argument 91 if ((error = CC_EcpkiPublKeyBuildAndCheck(pDomain, in ecies_convert_mbed_to_cc_public_key() 107 static int ecies_convert_mbed_to_cc_private_key(const CCEcpkiDomain_t *pDomain, in ecies_convert_mbed_to_cc_private_key() argument 138 if ((error = CC_EcpkiPrivKeyBuild(pDomain, (uint8_t*)pTempBuildBuff, n, pUserPrivKey)) != CC_OK) in ecies_convert_mbed_to_cc_private_key() 186 const CCEcpkiDomain_t *pDomain; in mbedtls_ecies_kem_encrypt_full() local 268 pDomain = CC_EcpkiGetEcDomain(domain_id); in mbedtls_ecies_kem_encrypt_full() 269 if (pDomain == NULL) in mbedtls_ecies_kem_encrypt_full() 287 …if ((error = ecies_convert_mbed_to_cc_public_key(pGrp, pDomain, pRecipUzPublKey, pCcReciptUzPublKe… in mbedtls_ecies_kem_encrypt_full() 297 modSizeInBytes = CALC_FULL_BYTES(pDomain->modSizeInBits); in mbedtls_ecies_kem_encrypt_full() 329 pDomain, in mbedtls_ecies_kem_encrypt_full() [all …]
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/ |
D | cc3xx_internal_ecc_util.c | 312 const CCEcpkiDomain_t *pDomain; in cc3xx_ecc_psa_priv_to_cc_priv() local 319 pDomain = CC_EcpkiGetEcDomain(DomainId); in cc3xx_ecc_psa_priv_to_cc_priv() 320 if (NULL == pDomain) { in cc3xx_ecc_psa_priv_to_cc_priv() 326 CC_EcpkiPrivKeyBuild(pDomain, priv_key, priv_key_size, pUserPrivKey); in cc3xx_ecc_psa_priv_to_cc_priv() 342 const CCEcpkiDomain_t *pDomain; in cc3xx_ecc_psa_publ_to_cc_publ() local 351 pDomain = CC_EcpkiGetEcDomain(DomainId); in cc3xx_ecc_psa_publ_to_cc_publ() 352 if (NULL == pDomain) { in cc3xx_ecc_psa_publ_to_cc_publ() 358 status = CC_EcpkiPublKeyBuildAndCheck(pDomain, (uint8_t *)publ_key, in cc3xx_ecc_psa_publ_to_cc_publ()
|
D | cc3xx_psa_asymmetric_signature.c | 76 const CCEcpkiDomain_t *pDomain; in cc3xx_internal_ecdsa_verify() local 92 pDomain = CC_EcpkiGetEcDomain(domainId); in cc3xx_internal_ecdsa_verify() 93 if (NULL == pDomain) { in cc3xx_internal_ecdsa_verify() 99 if (signature_length != 2*CALC_FULL_BYTES(pDomain->ordSizeInBits)) { in cc3xx_internal_ecdsa_verify() 113 cc_err = CC_EcpkiPublKeyBuildAndCheck(pDomain, (uint8_t *)key, in cc3xx_internal_ecdsa_verify() 155 const CCEcpkiDomain_t *pDomain; in cc3xx_internal_ecdsa_sign() local 188 pDomain = CC_EcpkiGetEcDomain(domainId); in cc3xx_internal_ecdsa_sign() 189 if (NULL == pDomain) { in cc3xx_internal_ecdsa_sign() 196 if (signature_size < (2*PSA_BITS_TO_BYTES(pDomain->ordSizeInBits))) { in cc3xx_internal_ecdsa_sign() 201 CC_EcpkiPrivKeyBuild(pDomain, key_buffer, key_length, &pUserPrivKey); in cc3xx_internal_ecdsa_sign() [all …]
|
D | cc3xx_internal_drbg_util.c | 85 const CCEcpkiDomain_t *pDomain) in cc3xx_hmac_drbg_init_with_params() argument 99 if (hash_bits > pDomain->ordSizeInBits) { in cc3xx_hmac_drbg_init_with_params() 100 hash_bytes_used = PSA_BITS_TO_BYTES(pDomain->ordSizeInBits); in cc3xx_hmac_drbg_init_with_params()
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/ffcdh/ |
D | cc_ffcdh.c | 660 … CCFfcDomain_t *pDomain, /*!< [in] pointer to DH FFC Domain structure. */ in CC_FfcDhCtxSetSchemeParams() argument 732 CHECK_AND_RETURN_ERROR(pDomain == NULL, CC_FFCDH_INVALID_DOMAIN_PTR_ERROR); in CC_FfcDhCtxSetSchemeParams() 733 CHECK_AND_SET_ERROR(pDomain->validTag != CC_FFC_DOMAIN_VALIDATION_TAG, in CC_FfcDhCtxSetSchemeParams() 757 … CHECK_AND_SET_ERROR(pDomain->ffcParamSetId != ffcParamSetId, CC_FFCDH_INVALID_DOMAIN_DATA_ERROR); in CC_FfcDhCtxSetSchemeParams() 767 CHECK_AND_SET_ERROR((pDomain->modLenWords * CC_32BIT_WORD_SIZE != ffcPrimeSize) || in CC_FfcDhCtxSetSchemeParams() 768 (pDomain->ordLenWords * CC_32BIT_WORD_SIZE != ffcOrderSize) || in CC_FfcDhCtxSetSchemeParams() 769 (pDomain->ffcHashMode != ffcHashMode), CC_FFCDH_INVALID_DOMAIN_DATA_ERROR); in CC_FfcDhCtxSetSchemeParams() 822 CC_PalMemCopy(&pDhCtx->ffcDomain, pDomain, sizeof(pDhCtx->ffcDomain)); in CC_FfcDhCtxSetSchemeParams() 1059 CCFfcDomain_t *pDomain, /*!< [in/out] pointer to DH FFC Context structure. */ in CC_FfcDhValidatePublKey() argument 1086 CHECK_AND_RETURN_ERROR(pDomain == NULL, CC_FFCDH_INVALID_DOMAIN_PTR_ERROR); in CC_FfcDhValidatePublKey() [all …]
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/include/ |
D | cc3xx_internal_drbg_util.h | 75 const CCEcpkiDomain_t *pDomain);
|