Home
last modified time | relevance | path

Searched refs:PemEncryptedFileName_ptr (Results 1 – 10 of 10) sorted by relevance

/trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/utils/src/common/
Dcommon_rsa_keypair.c35 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()
Dcommon_sb_ops.h198 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);
Dcommon_rsa_keypair_util.h30 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_…
Dcommon_rsa_keypair_util.c45 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()
Dcommon_sb_ops.c180 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()
Dcommon_rsa_keypair.h48 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);
Dcommon_crypto_asym.h59 int8_t *PemEncryptedFileName_ptr,
134 int32_t CC_CommonRsaLoadKey(int8_t *PemEncryptedFileName_ptr, int8_t *Key_ptr, int8_t *PemDecryted);
Dcommon_crypto_asym.c679 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/
Dmain.c49 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/
Dmain.c52 char* PemEncryptedFileName_ptr, in SBU_RSA_Sign() argument
75 if (CC_CommonGetKeyPair (&pRsaPrivKey, PemEncryptedFileName_ptr, pwd) < 0) in SBU_RSA_Sign()