| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/utils/src/common/ |
| D | common_rsa_keypair.c | 35 int32_t CC_CommonGetKeyPair(RSA **pRsaKeyPair, int8_t *PemEncryptedFileName_ptr, int8_t *Key_ptr) in CC_CommonGetKeyPair() argument 39 if (PemEncryptedFileName_ptr == NULL) { in CC_CommonGetKeyPair() 44 fp = fopen (PemEncryptedFileName_ptr, "r"); in CC_CommonGetKeyPair() 46 UTIL_LOG_ERR("Cannot open RSA file %s\n", PemEncryptedFileName_ptr); in CC_CommonGetKeyPair() 72 int32_t CC_CommonGetPubKey(RSA **pRsaKeyPair, int8_t *PemEncryptedFileName_ptr) in CC_CommonGetPubKey() argument 76 if (PemEncryptedFileName_ptr == NULL) { in CC_CommonGetPubKey() 81 fp = fopen (PemEncryptedFileName_ptr, "r"); in CC_CommonGetPubKey() 83 UTIL_LOG_ERR("Cannot open RSA file %s\n", PemEncryptedFileName_ptr); in CC_CommonGetPubKey()
|
| D | common_sb_ops.h | 198 SBUEXPORT_C int SBU_GetNFromKeyPairAndCalcH(char* PemEncryptedFileName_ptr, char *pwdFileName, char… 218 SBUEXPORT_C int SBU_GetNAndNpFromKeyPair(char* PemEncryptedFileName_ptr, char *pwdFileName, char *P… 227 SBUEXPORT_C int SBU_GetNAndNpFromPubKey(char* PemEncryptedFileName_ptr, char *PemDecryted);
|
| D | common_rsa_keypair_util.h | 30 int32_t CC_CommonGetNbuffFromKeyPair(int8_t *PemEncryptedFileName_ptr, int8_t *pwdFileName, uint8_t… 42 int32_t CC_CommonGetNAndNpFromKeyPair(int8_t *PemEncryptedFileName_ptr, int8_t *pwdFileName, uint8_…
|
| D | common_rsa_keypair_util.c | 45 int32_t CC_CommonGetNbuffFromKeyPair(int8_t *PemEncryptedFileName_ptr, int8_t *pwdFileName, uint8_t… in CC_CommonGetNbuffFromKeyPair() argument 55 (NULL == PemEncryptedFileName_ptr)) { in CC_CommonGetNbuffFromKeyPair() 75 if (CC_CommonGetKeyPair (&rsa_pkey, PemEncryptedFileName_ptr, pwd) != 0) { in CC_CommonGetNbuffFromKeyPair() 112 int32_t CC_CommonGetNAndNpFromKeyPair(int8_t *PemEncryptedFileName_ptr, int8_t *pwdFileName, uint8_… in CC_CommonGetNAndNpFromKeyPair() argument 123 (NULL == PemEncryptedFileName_ptr)) { in CC_CommonGetNAndNpFromKeyPair() 144 if (CC_CommonGetKeyPair (&rsa_pkey, PemEncryptedFileName_ptr, pwd) != 0) { in CC_CommonGetNAndNpFromKeyPair()
|
| D | common_sb_ops.c | 180 SBUEXPORT_C int SBU_GetNFromKeyPairAndCalcH(char* PemEncryptedFileName_ptr, char *pwdFileName, char… in SBU_GetNFromKeyPairAndCalcH() argument 198 rc = CC_CommonGetNbuffFromKeyPair(PemEncryptedFileName_ptr, pwdPtr, N_ptr, &nSize); in SBU_GetNFromKeyPairAndCalcH() 299 SBUEXPORT_C int SBU_GetNAndNpFromKeyPair(char* PemEncryptedFileName_ptr, char *pwdFileName, char *P… in SBU_GetNAndNpFromKeyPair() argument 313 rc = CC_CommonGetNAndNpFromKeyPair(PemEncryptedFileName_ptr, pwdPtr, PemDecryted, &nAndNpSize); in SBU_GetNAndNpFromKeyPair() 332 SBUEXPORT_C int SBU_GetNAndNpFromPubKey(char* PemEncryptedFileName_ptr, char *PemDecryted) in SBU_GetNAndNpFromPubKey() argument 340 rc = CC_CommonGetNAndNpFromPubKey(PemEncryptedFileName_ptr, PemDecryted, &nAndNpSize); in SBU_GetNAndNpFromPubKey()
|
| D | common_rsa_keypair.h | 48 int32_t CC_CommonGetKeyPair (RSA **pRsaKeyPair, int8_t *PemEncryptedFileName_ptr, int8_t *Key_ptr); 60 int32_t CC_CommonGetPubKey (RSA **pRsaKeyPair, int8_t *PemEncryptedFileName_ptr);
|
| D | common_crypto_asym.h | 59 int8_t *PemEncryptedFileName_ptr, 134 int32_t CC_CommonRsaLoadKey(int8_t *PemEncryptedFileName_ptr, int8_t *Key_ptr, int8_t *PemDecryted);
|
| D | common_crypto_asym.c | 679 int32_t CC_CommonRsaLoadKey(int8_t *PemEncryptedFileName_ptr, int8_t *Key_ptr, int8_t *PemDecryted) in CC_CommonRsaLoadKey() argument 687 if (CC_CommonGetKeyPair (&rsa_pkey, PemEncryptedFileName_ptr, Key_ptr) < 0) { in CC_CommonRsaLoadKey()
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/utils/src/dmpu_asset_pkg_util/oem_key_request/lib/ |
| D | main.c | 49 char* PemEncryptedFileName_ptr, in SBU_RSA_Sign() argument 72 if (CC_CommonGetKeyPair (&pRsaPrivKey, PemEncryptedFileName_ptr, pwd) < 0) in SBU_RSA_Sign()
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/utils/src/cc3x_boot_cert/cert_lib/ |
| D | main.c | 52 char* PemEncryptedFileName_ptr, in SBU_RSA_Sign() argument 75 if (CC_CommonGetKeyPair (&pRsaPrivKey, PemEncryptedFileName_ptr, pwd) < 0) in SBU_RSA_Sign()
|