Searched refs:ModulusSize (Results 1 – 3 of 3) sorted by relevance
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/rsa/ |
D | cc_rsa_build.c | 60 size_t ModulusSize ) in CC_RsaPubKeyBuild() argument 100 if (ModulusSize > CC_RSA_MAX_VALID_KEY_SIZE_VALUE_IN_BYTES) in CC_RsaPubKeyBuild() 115 …= CC_CommonConvertMsbLsbBytesToLswMswWords(PubKey_ptr->n, buffSizeBytes, Modulus_ptr, ModulusSize); in CC_RsaPubKeyBuild() 131 …fectiveSizeInBits = CC_CommonGetWordsCounterEffectiveSizeInBits(PubKey_ptr->n, (ModulusSize+3)/4); in CC_RsaPubKeyBuild() 156 …rCmpResult = CC_CommonCmpMsbUnsignedCounters(Exponent_ptr, ExponentSize, Modulus_ptr, ModulusSize); in CC_RsaPubKeyBuild() 231 size_t ModulusSize ) in CC_RsaPrivKeyBuild() argument 272 if (ModulusSize > CC_RSA_MAX_VALID_KEY_SIZE_VALUE_IN_BYTES) in CC_RsaPrivKeyBuild() 293 … CC_CommonConvertMsbLsbBytesToLswMswWords(PrivKey_ptr->n, buffSizeBytes, Modulus_ptr, ModulusSize); in CC_RsaPrivKeyBuild() 308 CC_CommonGetWordsCounterEffectiveSizeInBits(PrivKey_ptr->n, (ModulusSize+3)/4); in CC_RsaPrivKeyBuild() 339 Modulus_ptr, ModulusSize); in CC_RsaPrivKeyBuild() [all …]
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/shared/include/crypto_api/ |
D | cc_rsa_build.h | 45 …size_t ModulusSize /*!< [in] The modulus size in bytes. Supported sizes are … 64 …size_t ModulusSize /*!< [in] The modulus size in bytes. Supported size…
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/ |
D | rsa_alt.c | 1095 size_t ModulusSize; in build_cc_priv_non_crt_key() local 1117 ModulusSize = mbedtls_mpi_size(&ctx->MBEDTLS_PRIVATE(N)); in build_cc_priv_non_crt_key() 1122 if (ModulusSize > CC_RSA_MAX_VALID_KEY_SIZE_VALUE_IN_BYTES) in build_cc_priv_non_crt_key() 1141 CC_PalMemCopy(PrivKey_ptr->n, ctx->MBEDTLS_PRIVATE(N).MBEDTLS_PRIVATE(p), ModulusSize); in build_cc_priv_non_crt_key() 1149 CC_CommonGetWordsCounterEffectiveSizeInBits(PrivKey_ptr->n, (ModulusSize + 3)/4); in build_cc_priv_non_crt_key() 1173 PrivKey_ptr->n, (ModulusSize+3)/4); in build_cc_priv_non_crt_key() 1200 PrivKey_ptr->n, (ModulusSize+3)/4); in build_cc_priv_non_crt_key() 1258 size_t ModulusSize; in build_cc_priv_crt_key() local 1294 ModulusSize = mbedtls_mpi_size(&ctx->MBEDTLS_PRIVATE(N)); in build_cc_priv_crt_key() 1400 CC_PalMemCopy(PrivKey_ptr->n, ctx->MBEDTLS_PRIVATE(N).MBEDTLS_PRIVATE(p), ModulusSize); in build_cc_priv_crt_key() [all …]
|