Home
last modified time | relevance | path

Searched refs:ecModSizeInBits (Results 1 – 5 of 5) sorted by relevance

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/
Decdsa_edwards.c107 pubKeySizeBytes = CALC_FULL_BYTES(pDomain->ecModSizeInBits); in mbedtls_ecdsa_genkey_edwards()
138 …tls_mpi_read_binary(&Q->MBEDTLS_PRIVATE(Y), pPublicKey, CALC_FULL_BYTES(pDomain->ecModSizeInBits)); 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()
201 order_size = CALC_FULL_BYTES (pDomain->ecModSizeInBits); in mbedtls_ecdsa_sign_edwards()
293 order_size = CALC_FULL_BYTES (pDomain->ecModSizeInBits); in mbedtls_ecdsa_verify_edwards()
370 if (blen != CALC_FULL_BYTES(pDomain->ecModSizeInBits)) { in mbedtls_ecdsa_public_key_read_edwards()
405 keySize = CALC_FULL_BYTES(pDomain->ecModSizeInBits); in mbedtls_ecdsa_public_key_write_edwards()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/ec_mont/
Dec_mont_local.h38 uint32_t ecModSizeInBits; member
Dec_mont.c72 err = PkaInitPka(pEcDomain->ecModSizeInBits, 0, in EcMontScalarmult()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/ec_edw/
Dec_edw_local.h40 uint32_t ecModSizeInBits; member
Dec_edw.c91 err = PkaInitPka(pEcDomain->ecModSizeInBits, 0/*edwSizeWords*/, in EcEdwSeedKeyPair()
455 err = PkaInitPka(pEcDomain->ecModSizeInBits, pEcDomain->ecModSizeInWords, NULL); in EcEdwSign()
720 … if (pInSign[2*edwSizeBytes - 1] >> ((pEcDomain->ecModSizeInBits % CC_BITS_IN_32BIT_WORD) - 2)) { in EcEdwSignVerify()
802 err = PkaInitPka(pEcDomain->ecModSizeInBits, 0/*pEcDomain->ecModSizeInWords*/, NULL); in EcEdwSignVerify()