/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/ec_wrst/ |
D | ec_wrst_dsa_verify.c | 43 int32_t modSizeInBits, modSizeInWords, ordSizeInBits, ordSizeInWords; in EcWrstDsaVerify() local 50 ordSizeInBits = domain->ordSizeInBits; in EcWrstDsaVerify() 51 ordSizeInWords = CALC_FULL_32BIT_WORDS(ordSizeInBits); in EcWrstDsaVerify() 55 err = PkaInitAndMutexLock(CC_MAX(ordSizeInBits, modSizeInBits), &pkaReqRegs); in EcWrstDsaVerify() 60 CC_HAL_WRITE_REGISTER(CC_REG_OFFSET (CRY_KERNEL, PKA_L0), ordSizeInBits); in EcWrstDsaVerify()
|
D | ec_wrst_dsa.c | 76 ordSizeInWords = CALC_FULL_32BIT_WORDS(pDomain->ordSizeInBits); in CalcSignature() 84 … err = PkaInitAndMutexLock(pDomain->ordSizeInBits , &pkaReqRegs); // RL Count regs to clean 9! in CalcSignature() 201 uint32_t ordSizeInBits, ordSizeInWords, modSizeInWords; in EcWrstDsaSign() local 209 ordSizeInBits = pDomain->ordSizeInBits; in EcWrstDsaSign() 210 ordSizeInWords = CALC_FULL_32BIT_WORDS(ordSizeInBits); in EcWrstDsaSign() 233 … pRndContext, pDomain->ordSizeInBits, (uint8_t*)pMaxVect/* maxVect*/, (uint8_t*)pEphemKeyBuf); in EcWrstDsaSign() 298 int32_t modSizeInBits, modSizeInWords, ordSizeInBits, ordSizeInWords; in EcWrstDsaVerify() local 305 ordSizeInBits = domain->ordSizeInBits; in EcWrstDsaVerify() 306 ordSizeInWords = CALC_FULL_32BIT_WORDS(ordSizeInBits); in EcWrstDsaVerify() 314 err = PkaInitAndMutexLock(CC_MAX(ordSizeInBits, modSizeInBits), &pkaReqRegs); in EcWrstDsaVerify() [all …]
|
D | pka_ec_wrst_dsa_verify.c | 41 int32_t modSizeInBits, ordSizeInBits; in PkaEcdsaVerify() local 45 ordSizeInBits = CC_HAL_READ_REGISTER(CC_REG_OFFSET (CRY_KERNEL, PKA_L0)); in PkaEcdsaVerify() 115 CC_HAL_WRITE_REGISTER(CC_REG_OFFSET (CRY_KERNEL, PKA_L0), ordSizeInBits); in PkaEcdsaVerify()
|
D | ec_wrst.c | 141 ordSizeInWords = CALC_FULL_32BIT_WORDS(pPublKey->domain.ordSizeInBits); in EcWrstFullCheckPublKey() 201 ordSizeInWords = CALC_FULL_32BIT_WORDS(pPublKey->domain.ordSizeInBits); in EcWrstDhDeriveSharedSecret()
|
D | ec_wrst_genkey.c | 61 orderSizeInWords = (pDomain->ordSizeInBits+CC_BITS_IN_32BIT_WORD-1)/CC_BITS_IN_32BIT_WORD; in EcWrstGenKeyPairBase()
|
D | pka_ec_wrst_smul_no_scap.c | 249 ordSizeInWords = CALC_FULL_32BIT_WORDS(domain->ordSizeInBits); in ScalarMultAff() 337 … pDomain->ecR, CALC_FULL_32BIT_WORDS(pDomain->ordSizeInBits)); in PkaEcWrstScalarMult()
|
D | pka_ec_wrst_smul_scap.c | 333 err = PkaInitAndMutexLock(CC_MAX(modSizeInBits, domain->ordSizeInBits), &pkaReqRegs); in ScalarMultSca() 346 PkaCopyDataIntoPkaReg(ord, 1, domain->ecR, CALC_FULL_32BIT_WORDS(domain->ordSizeInBits)); in ScalarMultSca() 406 … pDomain->ecR, CALC_FULL_32BIT_WORDS(pDomain->ordSizeInBits)); in PkaEcWrstScalarMult()
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/ec_wrst/ |
D | cc_ecpki_build_priv.c | 83 (pDomain->ordSizeInBits > (pDomain->modSizeInBits + 1))) { in CC_EcpkiPrivKeyBuild() 94 orderSizeInBytes = CALC_FULL_BYTES(pDomain->ordSizeInBits); in CC_EcpkiPrivKeyBuild()
|
D | cc_ecdsa_verify.c | 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_ecpki_kg.c | 96 orderSizeInWords = (pDomain->ordSizeInBits+CC_BITS_IN_32BIT_WORD-1)/CC_BITS_IN_32BIT_WORD; in CC_EcpkiKeyPairGenerateBase() 104 err = CC_RndGenerateVectorInRange(pRndContext, (uint32_t)pDomain->ordSizeInBits, in CC_EcpkiKeyPairGenerateBase()
|
D | cc_ecdsa_sign.c | 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()
|
D | cc_ecpki_build_publ.c | 71 (pDomain->ordSizeInBits > (pDomain->modSizeInBits + 1))) { in CC_EcpkiPublKeyBuildAndCheck()
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/ |
D | cc3xx_internal_drbg_util.c | 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()
|
D | cc3xx_psa_asymmetric_signature.c | 99 if (signature_length != 2*CALC_FULL_BYTES(pDomain->ordSizeInBits)) { in cc3xx_internal_ecdsa_verify() 196 if (signature_size < (2*PSA_BITS_TO_BYTES(pDomain->ordSizeInBits))) { in cc3xx_internal_ecdsa_sign()
|
D | cc3xx_internal_ecc_util.c | 211 (pPrivKey->domain.ordSizeInBits + CC_BITS_IN_32BIT_WORD - 1) / in cc3xx_ecc_cc_priv_to_cc_publ()
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/shared/include/crypto_api/ |
D | cc_ecpki_types.h | 197 uint32_t ordSizeInBits; member
|