Home
last modified time | relevance | path

Searched refs:ModulusEffectiveSizeInBits (Results 1 – 2 of 2) sorted by relevance

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/rsa/
Dcc_rsa_build.c68 uint32_t ModulusEffectiveSizeInBits; in CC_RsaPubKeyBuild() local
131ModulusEffectiveSizeInBits = CC_CommonGetWordsCounterEffectiveSizeInBits(PubKey_ptr->n, (ModulusS… in CC_RsaPubKeyBuild()
136 if ((ModulusEffectiveSizeInBits < CC_RSA_MIN_VALID_KEY_SIZE_VALUE_IN_BITS ) || in CC_RsaPubKeyBuild()
137 (ModulusEffectiveSizeInBits > CC_RSA_MAX_VALID_KEY_SIZE_VALUE_IN_BITS ) || in CC_RsaPubKeyBuild()
138 (ModulusEffectiveSizeInBits % CC_RSA_VALID_KEY_SIZE_MULTIPLE_VALUE_IN_BITS)) { in CC_RsaPubKeyBuild()
173 PubKey_ptr->nSizeInBits = ModulusEffectiveSizeInBits; in CC_RsaPubKeyBuild()
239 uint32_t ModulusEffectiveSizeInBits; in CC_RsaPrivKeyBuild() local
307 ModulusEffectiveSizeInBits = in CC_RsaPrivKeyBuild()
318 if (( ModulusEffectiveSizeInBits < CC_RSA_MIN_VALID_KEY_SIZE_VALUE_IN_BITS ) || in CC_RsaPrivKeyBuild()
319 ( ModulusEffectiveSizeInBits > CC_RSA_MAX_VALID_KEY_SIZE_VALUE_IN_BITS ) || in CC_RsaPrivKeyBuild()
[all …]
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/
Drsa_alt.c1098 uint32_t ModulusEffectiveSizeInBits; in build_cc_priv_non_crt_key() local
1148 ModulusEffectiveSizeInBits = in build_cc_priv_non_crt_key()
1154 if ( ( ModulusEffectiveSizeInBits < CC_RSA_MIN_VALID_KEY_SIZE_VALUE_IN_BITS ) || in build_cc_priv_non_crt_key()
1155 ( ModulusEffectiveSizeInBits > CC_RSA_MAX_VALID_KEY_SIZE_VALUE_IN_BITS ) || in build_cc_priv_non_crt_key()
1156 ( ModulusEffectiveSizeInBits % CC_RSA_VALID_KEY_SIZE_MULTIPLE_VALUE_IN_BITS ) ) { in build_cc_priv_non_crt_key()
1220 PrivKey_ptr->nSizeInBits = ModulusEffectiveSizeInBits; in build_cc_priv_non_crt_key()
1261 uint32_t ModulusEffectiveSizeInBits; in build_cc_priv_crt_key() local
1403 ModulusEffectiveSizeInBits = in build_cc_priv_crt_key()
1410 if ( ( ModulusEffectiveSizeInBits < CC_RSA_MIN_VALID_KEY_SIZE_VALUE_IN_BITS ) || in build_cc_priv_crt_key()
1411 ( ModulusEffectiveSizeInBits > CC_RSA_MAX_VALID_KEY_SIZE_VALUE_IN_BITS ) || in build_cc_priv_crt_key()
[all …]