/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/shared/include/crypto_api/ |
D | cc_rsa_schemes.h | 65 …uint8_t *Output_ptr, /*!< [out] Pointer to the encrypted data. The buffer must … 84 …ypt(rndContext_ptr, UserPubKey_ptr,PrimeData_ptr,HashMode,L,Llen,MGF,Data_ptr,DataSize,Output_ptr)\ argument 85 …_ptr, UserPubKey_ptr,PrimeData_ptr,HashMode,L,Llen,MGF,Data_ptr,DataSize,Output_ptr,CC_PKCS1_VER21) 92 …_RsaPkcs1V15Encrypt(rndContext_ptr, UserPubKey_ptr,PrimeData_ptr,DataIn_ptr,DataInSize,Output_ptr)\ argument 93 …r,CC_RSA_HASH_NO_HASH_mode,NULL,0,CC_PKCS1_NO_MGF,DataIn_ptr,DataInSize, Output_ptr,CC_PKCS1_VER15) 126 …uint8_t *Output_ptr, /*!< [in] Pointer to the decrypted data. The buffer must… 156 …ypt(UserPrivKey_ptr,PrimeData_ptr,HashMode,L,Llen,MGF,Data_ptr,DataSize,Output_ptr,OutputSize_ptr)\ argument 157 …pt(UserPrivKey_ptr,PrimeData_ptr,HashMode,L,Llen,MGF,Data_ptr,DataSize,Output_ptr,OutputSize_ptr,C… 164 #define CC_RsaPkcs1V15Decrypt(UserPrivKey_ptr,PrimeData_ptr,DataIn_ptr,DataInSize,Output_ptr,Output… argument 165 …,CC_RSA_HASH_NO_HASH_mode,NULL,0,CC_PKCS1_NO_MGF,DataIn_ptr,DataInSize,Output_ptr,OutputSize_ptr,C… [all …]
|
D | cc_rsa_prim.h | 57 …uint8_t *Output_ptr /*!< [out] Pointer to the encrypted data. The buffer size… 80 …uint8_t *Output_ptr /*!< [out] Pointer to the decrypted data. The buffer size…
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/rsa/ |
D | cc_rsa_prim.c | 69 uint8_t *Output_ptr) in CC_RsaPrimEncrypt() argument 109 if (Output_ptr == NULL) in CC_RsaPrimEncrypt() 156 Error = CC_CommonConvertLswMswWordsToMsbLsbBytes(Output_ptr, 4*((nSizeInBytes+3)/4), in CC_RsaPrimEncrypt() 165 CC_PalMemSetZero(Output_ptr, nSizeInBytes); in CC_RsaPrimEncrypt() 216 uint8_t *Output_ptr) in CC_RsaPrimDecrypt() argument 256 if (Output_ptr == NULL) in CC_RsaPrimDecrypt() 306 Error = CC_CommonConvertLswMswWordsToMsbLsbBytes(Output_ptr, 4*((nSizeInBytes+3)/4), in CC_RsaPrimDecrypt() 315 CC_PalMemSetZero(Output_ptr, nSizeInBytes); in CC_RsaPrimDecrypt()
|
D | cc_rsa_schemes.c | 91 uint8_t *Output_ptr, in CC_RsaSchemesEncrypt() argument 106 uint8_t *EB_buff = Output_ptr; in CC_RsaSchemesEncrypt() 142 if (Output_ptr == NULL) in CC_RsaSchemesEncrypt() 278 Output_ptr); in CC_RsaSchemesEncrypt() 281 CC_PalMemSetZero (Output_ptr, K); in CC_RsaSchemesEncrypt() 349 uint8_t *Output_ptr, in CC_RsaSchemesDecrypt() argument 409 if (Output_ptr == NULL) in CC_RsaSchemesDecrypt() 564 CC_PalMemCopy(Output_ptr, &EB_buff[3 + PSSize], *OutputSize_ptr); in CC_RsaSchemesDecrypt() 589 Output_ptr, in CC_RsaSchemesDecrypt() 599 CC_PalMemSetZero (Output_ptr ,*OutputSize_ptr); in CC_RsaSchemesDecrypt()
|
D | cc_rsa_sign.c | 414 uint8_t *Output_ptr, in CC_RsaSignFinish() argument 445 if (Output_ptr == NULL) { in CC_RsaSignFinish() 499 Error = RsaPssSign21(rndContext_ptr, ccmWorkingContext_ptr, Output_ptr); in CC_RsaSignFinish() 529 K, Output_ptr); in CC_RsaSignFinish() 545 CC_PalMemSetZero(Output_ptr, *OutputSize_ptr); in CC_RsaSignFinish() 628 uint8_t *Output_ptr, in CC_RsaSign() argument 670 Output_ptr, in CC_RsaSign()
|
D | cc_rsa_local.h | 206 uint8_t *Output_ptr); 340 uint8_t *Output_ptr, /*!< [out] A pointer to the signature.
|
D | cc_rsa_pss21_util.c | 269 uint8_t *Output_ptr) in RsaPssSign21() argument 278 …uint8_t *Salt = Output_ptr;/*This stack memory saving is ok because Output_ptr is used only in the… in RsaPssSign21() 476 Output_ptr); in RsaPssSign21()
|
D | cc_rsa_oaep.c | 675 uint8_t *Output_ptr; in RsaOaepMGF1() local 706 Output_ptr = T; in RsaOaepMGF1() 758 CC_PalMemCopy(Output_ptr, (uint8_t *)HashResultBuff, hLen); in RsaOaepMGF1() 759 Output_ptr += hLen; in RsaOaepMGF1()
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/utils/src/cc3x_boot_cert/cert_lib/ |
D | main.c | 109 char* Output_ptr, in SBU_AES_CTR_EncryptFile() argument 132 if (pFileName == NULL || Output_ptr == NULL || imageSize == NULL){ in SBU_AES_CTR_EncryptFile() 265 memcpy(Output_ptr , imageHash, HASH_SHA256_DIGEST_SIZE_IN_BYTES); in SBU_AES_CTR_EncryptFile()
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/utils/src/cc3x_boot_cert/x509cert_lib/ |
D | main.c | 272 char* Output_ptr, in SBU_AES_CTR_EncryptFile() argument 295 if (pFileName == NULL || Output_ptr == NULL || imageSize == NULL){ in SBU_AES_CTR_EncryptFile() 429 memcpy(Output_ptr , imageHash, HASH_SHA256_DIGEST_SIZE_IN_BYTES); in SBU_AES_CTR_EncryptFile()
|