/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/shared/include/crypto_api/ |
D | cc_rsa_schemes.h | 59 … uint8_t *DataIn_ptr, /*!< [in] Pointer to the data to encrypt. */ 92 #define CC_RsaPkcs1V15Encrypt(rndContext_ptr, UserPubKey_ptr,PrimeData_ptr,DataIn_ptr,DataInSize,Ou… argument 93 …bKey_ptr,PrimeData_ptr,CC_RSA_HASH_NO_HASH_mode,NULL,0,CC_PKCS1_NO_MGF,DataIn_ptr,DataInSize, Outp… 123 … uint8_t *DataIn_ptr, /*!< [in] Pointer to the data to decrypt. */ 164 #define CC_RsaPkcs1V15Decrypt(UserPrivKey_ptr,PrimeData_ptr,DataIn_ptr,DataInSize,Output_ptr,Output… argument 165 …vKey_ptr,PrimeData_ptr,CC_RSA_HASH_NO_HASH_mode,NULL,0,CC_PKCS1_NO_MGF,DataIn_ptr,DataInSize,Outpu… 194 … uint8_t *DataIn_ptr, /*!< [in] Pointer to the input data to be signed. 218 #define CC_RsaPkcs1V15Sign(rndContext_ptr, UserContext_ptr,UserPrivKey_ptr,hashFunc,DataIn_ptr,Data… argument 219 …r, (UserContext_ptr),(UserPrivKey_ptr),(hashFunc),(CC_PKCS1_NO_MGF),0,(DataIn_ptr),(DataInSize),(O… 229 #define CC_RsaPkcs1V15Sha1Sign(rndContext_ptr, UserContext_ptr,UserPrivKey_ptr,DataIn_ptr,Output_pt… argument [all …]
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/rsa/ |
D | cc_rsa_verify.c | 304 uint8_t *DataIn_ptr, in CC_RsaVerifyUpdate() argument 328 if (DataIn_ptr == NULL && DataInSize) { in CC_RsaVerifyUpdate() 349 Error = mbedtls_md_update(&ccmWorkingContext_ptr->RsaHashCtx, DataIn_ptr, DataInSize); in CC_RsaVerifyUpdate() 354 DataIn_ptr, in CC_RsaVerifyUpdate() 366 CC_PalMemCopy((uint8_t *)ccmWorkingContext_ptr->HASH_Result, DataIn_ptr, DataInSize); in CC_RsaVerifyUpdate() 409 const uint8_t *DataIn_ptr, in CC_RsaVerifyFinish() argument 508 DataIn_ptr, in CC_RsaVerifyFinish() 586 uint8_t *DataIn_ptr, in CC_RsaVerify() argument 615 DataIn_ptr, in CC_RsaVerify() 626 DataIn_ptr, in CC_RsaVerify()
|
D | cc_rsa_sign.c | 294 uint8_t *DataIn_ptr, in CC_RsaSignUpdate() argument 319 if (DataIn_ptr == NULL && DataInSize) { in CC_RsaSignUpdate() 340 Error = mbedtls_md_update(&ccmWorkingContext_ptr->RsaHashCtx, DataIn_ptr, DataInSize); in CC_RsaSignUpdate() 345 DataIn_ptr, in CC_RsaSignUpdate() 357 CC_PalMemCopy((uint8_t *)ccmWorkingContext_ptr->HASH_Result, DataIn_ptr, DataInSize); in CC_RsaSignUpdate() 417 const uint8_t *DataIn_ptr, in CC_RsaSignFinish() argument 517 DataIn_ptr, in CC_RsaSignFinish() 626 uint8_t *DataIn_ptr, in CC_RsaSign() argument 659 DataIn_ptr, in CC_RsaSign() 673 DataIn_ptr, in CC_RsaSign()
|
D | cc_rsa_local.h | 135 const uint8_t *DataIn_ptr, 318 … uint8_t *DataIn_ptr, /*!< [in] A pointer to the data to sign. */ 346 …const uint8_t *DataIn_ptr, /*!< [in] Pointer to the raw data to be signed in raw mod… 386 …uint8_t *DataIn_ptr, /*!< [in] A pointer to the data whose signature i… 404 …const uint8_t *DataIn_ptr, /*!< [in] Pointer containing the already encoded T struc…
|
D | cc_rsa_schemes.c | 89 uint8_t *DataIn_ptr, in CC_RsaSchemesEncrypt() argument 138 if (DataIn_ptr == NULL && DataInSize != 0) in CC_RsaSchemesEncrypt() 201 CC_PalMemCopy(&EB_buff[K-DataInSize], DataIn_ptr, DataInSize); in CC_RsaSchemesEncrypt() 253 DataIn_ptr, /*! input data to be encrypted */ in CC_RsaSchemesEncrypt() 347 uint8_t *DataIn_ptr, in CC_RsaSchemesDecrypt() argument 400 if (DataIn_ptr == NULL) in CC_RsaSchemesDecrypt() 491 DataIn_ptr, in CC_RsaSchemesDecrypt()
|
D | cc_rsa_pkcs_ver15_util.c | 188 const uint8_t *DataIn_ptr, in RsaEmsaPkcs1v15Encode() argument 242 CC_PalMemCopy(&pOut[3+PSSize], DataIn_ptr, DataInSize); in RsaEmsaPkcs1v15Encode()
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/utils/src/dmpu_asset_pkg_util/oem_key_request/lib/ |
D | main.c | 47 char* DataIn_ptr, in SBU_RSA_Sign() argument 78 ret_code = Sign_v21(pRsaPrivKey, DataIn_ptr, DataInSize, Signature_ptr); in SBU_RSA_Sign()
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/utils/src/common/ |
D | common_sb_ops.c | 44 int Sign_v15(RSA *pRsaPrivKey, char *DataIn_ptr, // IG - merge with common implementation in Sign_v15() argument 68 if (!EVP_SignUpdate(md_ctx, DataIn_ptr, DataInSize)) in Sign_v15() 89 if (!EVP_VerifyUpdate(md_ctx, DataIn_ptr, DataInSize)) in Sign_v15() 114 int Sign_v21(RSA *pRsaPrivKey, char *DataIn_ptr, in Sign_v21() argument 127 EVP_DigestUpdate(&md_ctx, (const void*) DataIn_ptr, DataInSize); in Sign_v21()
|
D | common_sb_ops.h | 167 int Sign_v15(RSA *pRsaPrivKey, char *DataIn_ptr, // IG - merge with common implementation 184 int Sign_v21(RSA *pRsaPrivKey, char *DataIn_ptr,
|
D | common_crypto_asym.h | 57 int8_t *DataIn_ptr,
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/utils/src/cc3x_boot_cert/cert_lib/ |
D | main.c | 50 char* DataIn_ptr, in SBU_RSA_Sign() argument 82 ret_code = Sign_v15(pRsaPrivKey, DataIn_ptr, DataInSize, Signature_ptr, pwd); in SBU_RSA_Sign() 84 ret_code = Sign_v21(pRsaPrivKey, DataIn_ptr, DataInSize, Signature_ptr); in SBU_RSA_Sign()
|