Searched refs:MSize (Results 1 – 3 of 3) sorted by relevance
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/rsa/ |
| D | cc_rsa_pkcs_ver15_util.c | 185 uint32_t MSize, in RsaEmsaPkcs1v15Encode() argument 218 if (3+MSize+PS_MIN_LEN+hashAlgIdSize > K) { in RsaEmsaPkcs1v15Encode() 221 PSSize = K-MSize-hashAlgIdSize-3; /*therefore, PSSize >= PS_MIN_LEN*/ in RsaEmsaPkcs1v15Encode() 240 CC_PalMemCopy(&pOut[K-MSize], pM, MSize); in RsaEmsaPkcs1v15Encode()
|
| D | cc_rsa_oaep.c | 55 … uint16_t MSize, /* the message size in bytes */ in RsaPssOaepEncode() argument 159 if ((uint32_t)MSize + 2 * HashOutputSize + VersionConstant > emLen) in RsaPssOaepEncode() 172 …CC_PalMemSetZero((uint8_t*)&EM_ptr[2*HashOutputSize], emLen-MSize-2*HashOutputSize-VersionConstant… in RsaPssOaepEncode() 240 …EM_ptr[emLen - MSize - 1 - (VersionConstant-1)] = 0x01;/*because emLen = PubNSize; but EM_ptr poin… in RsaPssOaepEncode() 241 if (MSize > 0) // need to copy only if there is data in RsaPssOaepEncode() 242 …CC_PalMemCopy((uint8_t*)&EM_ptr[emLen - MSize - (VersionConstant - 1)], M_ptr, MSize);/*because em… in RsaPssOaepEncode()
|
| D | cc_rsa_local.h | 132 uint32_t MSize, 161 uint16_t MSize, /* the message size in bytes */
|