Searched refs:PSize (Results 1 – 5 of 5) sorted by relevance
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/rsa/ |
D | cc_rsa_build.c | 450 size_t PSize, in CC_RsaPrivKeyCrtBuild() argument 514 if (PSize > CC_RSA_MAX_VALID_KEY_SIZE_VALUE_IN_BYTES/2 || in CC_RsaPrivKeyCrtBuild() 519 if (dPSize > PSize || in CC_RsaPrivKeyCrtBuild() 521 qInvSize > PSize) { in CC_RsaPrivKeyCrtBuild() 525 buffSizeBytes = 4*((PSize + 3)/4) + 4; in CC_RsaPrivKeyCrtBuild() 528 CC_CommonCmpMsbUnsignedCounters(dP_ptr, dPSize, P_ptr, PSize); in CC_RsaPrivKeyCrtBuild() 544 CC_CommonCmpMsbUnsignedCounters(qInv_ptr, qInvSize, P_ptr, PSize); in CC_RsaPrivKeyCrtBuild() 561 …_CommonConvertMsbLsbBytesToLswMswWords(PrivKey_ptr->PriveKeyDb.Crt.P, buffSizeBytes, P_ptr, PSize); in CC_RsaPrivKeyCrtBuild() 596 CC_CommonGetWordsCounterEffectiveSizeInBits(PrivKey_ptr->PriveKeyDb.Crt.P, (PSize+3)/4); in CC_RsaPrivKeyCrtBuild() 611 if (P_EffectiveSizeInBits == 0|| P_EffectiveSizeInBits > 8*PSize) { in CC_RsaPrivKeyCrtBuild()
|
D | cc_rsa_oaep.c | 57 … size_t PSize, /* the size of the label in bytes */ in RsaPssOaepEncode() argument 148 if (PSize >= (1 << 29)) in RsaPssOaepEncode() 187 PSize, in RsaPssOaepEncode() 192 PSize, in RsaPssOaepEncode() 377 size_t PSize, in RsaPssOaepDecode() argument 431 if (PSize >= (1 << 29)) in RsaPssOaepDecode() 526 PSize, in RsaPssOaepDecode() 532 PSize, in RsaPssOaepDecode()
|
D | cc_rsa_local.h | 163 size_t PSize, /* the size of the label in bytes */ 180 size_t PSize,
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/shared/include/crypto_api/ |
D | cc_rsa_build.h | 77 … size_t PSize, /*!< [in] The size of the first factor (in bytes). */
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/ |
D | rsa_alt.c | 1265 size_t PSize; in build_cc_priv_crt_key() local 1289 PSize = mbedtls_mpi_size(&ctx->MBEDTLS_PRIVATE(P)); in build_cc_priv_crt_key() 1298 if (PSize > CC_RSA_MAX_VALID_KEY_SIZE_VALUE_IN_BYTES/2 || in build_cc_priv_crt_key() 1303 if (dPSize > PSize || in build_cc_priv_crt_key() 1305 qInvSize > PSize) { in build_cc_priv_crt_key() 1343 CC_PalMemCopy(PrivKey_ptr->PriveKeyDb.Crt.P, ctx->MBEDTLS_PRIVATE(P).MBEDTLS_PRIVATE(p), PSize); in build_cc_priv_crt_key() 1355 CC_CommonGetWordsCounterEffectiveSizeInBits(PrivKey_ptr->PriveKeyDb.Crt.P, (PSize+3)/4); in build_cc_priv_crt_key() 1371 if (P_EffectiveSizeInBits == 0|| P_EffectiveSizeInBits > 8*PSize) { in build_cc_priv_crt_key()
|