Searched refs:orderSizeInWords (Results 1 – 5 of 5) sorted by relevance
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/ec_wrst/ |
D | cc_ecdsa_verify.c | 323 uint32_t orderSizeInBytes, orderSizeInWords; in EcdsaVerifyFinish() local 365 orderSizeInWords = CALC_FULL_32BIT_WORDS(pDomain->ordSizeInBits); in EcdsaVerifyFinish() 388 pSignatureD = pSignatureC + orderSizeInWords; /* Max lengths of C in whole words */ in EcdsaVerifyFinish() 389 pMessRepres = pSignatureD + orderSizeInWords; in EcdsaVerifyFinish() 393 … CC_PalMemSetZero(pSignatureC, 2*4*orderSizeInWords); //-> pSignatureC[orderSizeInWords-1] = 0; in EcdsaVerifyFinish() 395 … CC_PalMemSetZero(pMessRepres, 4*orderSizeInWords); //-> pMessRepres[orderSizeInWords-1] = 0; in EcdsaVerifyFinish() 409 pSignatureC[orderSizeInWords-1] = 0; in EcdsaVerifyFinish() 411 pSignatureD[orderSizeInWords-1] = 0; in EcdsaVerifyFinish() 417 … err = EcWrstDsaVerify(PublKey_ptr, pMessRepres, orderSizeInWords, pSignatureC, pSignatureD); in EcdsaVerifyFinish()
|
D | cc_ecpki_kg.c | 62 uint32_t orderSizeInWords; in CC_EcpkiKeyPairGenerateBase() local 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() 103 pPrivKey->PrivKey[orderSizeInWords - 1] = 0; in CC_EcpkiKeyPairGenerateBase()
|
D | cc_ecdsa_sign.c | 349 uint32_t orderSizeInBytes = 0, orderSizeInWords = 0; in EcdsaSignFinishInt() local 414 orderSizeInWords = CALC_FULL_32BIT_WORDS(pDomain->ordSizeInBits); in EcdsaSignFinishInt() 419 pSignC = pMessRepres + orderSizeInWords; in EcdsaSignFinishInt() 420 pSignD = pSignC + orderSizeInWords; in EcdsaSignFinishInt() 421 pTempBuff = pSignD + orderSizeInWords; in EcdsaSignFinishInt() 444 CC_PalMemSetZero(pMessRepres, sizeof(uint32_t)*orderSizeInWords); in EcdsaSignFinishInt()
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/ec_wrst/ |
D | ec_wrst_genkey.c | 40 uint32_t orderSizeInWords; in EcWrstGenKeyPairBase() local 61 orderSizeInWords = (pDomain->ordSizeInBits+CC_BITS_IN_32BIT_WORD-1)/CC_BITS_IN_32BIT_WORD; in EcWrstGenKeyPairBase() 65 pPrivKey->PrivKey/*scalar*/, orderSizeInWords, /*scalar size*/ in EcWrstGenKeyPairBase()
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/ |
D | cc3xx_internal_ecc_util.c | 202 uint32_t orderSizeInWords; in cc3xx_ecc_cc_priv_to_cc_publ() local 210 orderSizeInWords = in cc3xx_ecc_cc_priv_to_cc_publ() 217 orderSizeInWords, /*!< [in] Size of the scalsr in 32-bit words. */ in cc3xx_ecc_cc_priv_to_cc_publ()
|