Home
last modified time | relevance | path

Searched refs:pwd (Results 1 – 25 of 28) sorted by relevance

12

/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/utils/src/dmpu_asset_pkg_util/oem_key_request/lib/
Dmain.c54 unsigned char *pwd = NULL; in SBU_RSA_Sign() local
61 if(CC_CommonGetPassphrase(pwdFileName, &pwd) != 0){ in SBU_RSA_Sign()
63 if (pwd != NULL) in SBU_RSA_Sign()
64 free(pwd); in SBU_RSA_Sign()
69 pwd = Nullptr; in SBU_RSA_Sign()
72 if (CC_CommonGetKeyPair (&pRsaPrivKey, PemEncryptedFileName_ptr, pwd) < 0) in SBU_RSA_Sign()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/utils/src/common/
Dcommon_rsa_keypair_util.c49 uint8_t *pwd = NULL; in CC_CommonGetNbuffFromKeyPair() local
64 if (CC_CommonGetPassphrase(pwdFileName, &pwd) != 0) { in CC_CommonGetNbuffFromKeyPair()
75 if (CC_CommonGetKeyPair (&rsa_pkey, PemEncryptedFileName_ptr, pwd) != 0) { in CC_CommonGetNbuffFromKeyPair()
94 if (pwd != NULL) { in CC_CommonGetNbuffFromKeyPair()
95 free(pwd); in CC_CommonGetNbuffFromKeyPair()
116 uint8_t *pwd = NULL; in CC_CommonGetNAndNpFromKeyPair() local
132 if (CC_CommonGetPassphrase(pwdFileName, &pwd) != 0) { in CC_CommonGetNAndNpFromKeyPair()
144 if (CC_CommonGetKeyPair (&rsa_pkey, PemEncryptedFileName_ptr, pwd) != 0) { in CC_CommonGetNAndNpFromKeyPair()
171 if (pwd != NULL) { in CC_CommonGetNAndNpFromKeyPair()
172 free(pwd); in CC_CommonGetNAndNpFromKeyPair()
Dcommon_crypto_asym.c364 uint8_t *pwd = NULL; in CC_CommonRsaSign() local
376 if (CC_CommonGetPassphrase(pPrivKeyPwd, &pwd)) { in CC_CommonRsaSign()
388 if (CC_CommonGetKeyPair (&pRsaPrivKey, pPrivKeyFileName, pwd) < 0) { in CC_CommonRsaSign()
396 status = Sign_v15(pRsaPrivKey, pDataIn, dataInSize, pSignature, pwd); in CC_CommonRsaSign()
406 if (pwd != NULL) { in CC_CommonRsaSign()
407 free(pwd); in CC_CommonRsaSign()
507 uint8_t *pwd = NULL; in CC_CommonRsaDecrypt() local
519 if (CC_CommonGetPassphrase(pPrivKeyPwd, &pwd)) { in CC_CommonRsaDecrypt()
531 if (CC_CommonGetKeyPair (&pRsaPrivKey, pPrivKeyFileName, pwd) < 0) { in CC_CommonRsaDecrypt()
546 if (pwd != NULL) { in CC_CommonRsaDecrypt()
[all …]
Dcommon_util_files.h78 int32_t CC_CommonGetPassphrase(int8_t *pPwdFileName, uint8_t **pwd);
Dcommon_util_files.c333 int32_t CC_CommonGetPassphrase(int8_t *pPwdFileName, uint8_t **pwd) in CC_CommonGetPassphrase() argument
347 if (pwd == NULL) { in CC_CommonGetPassphrase()
385 *pwd = tmpBuf; in CC_CommonGetPassphrase()
Dcommon_crypto_x509.c388 uint8_t *pwd = NULL; in CC_CommonX509SetKeyAndSign() local
403 rc = CC_CommonGetPassphrase(pKeyPairPwd, &pwd); in CC_CommonX509SetKeyAndSign()
414 rc = CC_CommonGetKeyPair(&pRsaKeyPair, pKeyPairFileName, pwd); in CC_CommonX509SetKeyAndSign()
487 if (pwd != NULL) { in CC_CommonX509SetKeyAndSign()
488 free(pwd); in CC_CommonX509SetKeyAndSign()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/utils/src/cc3x_boot_cert/cert_lib/
Dmain.c57 unsigned char *pwd = NULL; in SBU_RSA_Sign() local
64 if(CC_CommonGetPassphrase(pwdFileName, &pwd) != 0){ in SBU_RSA_Sign()
66 if (pwd != NULL) in SBU_RSA_Sign()
67 free(pwd); in SBU_RSA_Sign()
72 pwd = Nullptr; in SBU_RSA_Sign()
75 if (CC_CommonGetKeyPair (&pRsaPrivKey, PemEncryptedFileName_ptr, pwd) < 0) in SBU_RSA_Sign()
82 ret_code = Sign_v15(pRsaPrivKey, DataIn_ptr, DataInSize, Signature_ptr, pwd); in SBU_RSA_Sign()
/trusted-firmware-m-3.7.0/interface/include/mbedtls/
Dpkcs12.h92 const unsigned char *pwd, size_t pwdlen,
141 const unsigned char *pwd, size_t pwdlen,
178 const unsigned char *pwd, size_t pwdlen,
Dpkcs5.h85 const unsigned char *pwd, size_t pwdlen,
126 const unsigned char *pwd, size_t pwdlen,
Dpem.h94 const unsigned char *pwd,
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/utils/src/cc3x_boot_cert/examples/developer_cert/
Dsb_developer_dbg_cert.cfg11 #cert-keypair-pwd = Passphrase for the keypair file, in txt format.
20 cert-keypair-pwd = pwd.txt
Dsb_developer_dbg_cert_no_pwd.cfg11 #cert-keypair-pwd = Passphrase for the keypair file, in txt format.
20 cert-keypair-pwd =
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/utils/src/cc3x_boot_cert/examples/key_cert/
Dsb_key_cert.cfg11 # cert-keypair-pwd = Passphrase for the keypair file, in txt format.
24 cert-keypair-pwd = ../../host/src/tests/sbrom_test_cc3x/dat/input/pwd.txt
Dsb_key_cert_hbk0.cfg11 # cert-keypair-pwd = Passphrase for the keypair file, in txt format.
24 cert-keypair-pwd = ../../host/src/tests/sbrom_test_cc3x/dat/input/pwd.txt
Dsb_key_cert_hbk1.cfg11 # cert-keypair-pwd = Passphrase for the keypair file, in txt format.
24 cert-keypair-pwd = ../../host/src/tests/sbrom_test_cc3x/dat/input/pwd.txt
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/utils/src/cc3x_boot_cert/examples/content_cert/
Dsb_cnt_cert.cfg11 # cert-keypair-pwd = Passphrase for the keypair file, in txt format.
24 cert-keypair-pwd = ../../host/src/tests/sbrom_test_cc3x/dat/input/pwd.txt
Dsb_cnt_cert_verify_flash.cfg11 # cert-keypair-pwd = Passphrase for the keypair file, in txt format.
24 cert-keypair-pwd = ../../host/src/tests/sbrom_test_cc3x/dat/input/pwd.txt
Dsb_cnt_cert_verify_mem.cfg11 # cert-keypair-pwd = Passphrase for the keypair file, in txt format.
24 cert-keypair-pwd = ../../host/src/tests/sbrom_test_cc3x/dat/input/pwd.txt
Dsb_cnt_cert_enc_0.cfg11 # cert-keypair-pwd = Passphrase for the keypair file, in txt format.
24 cert-keypair-pwd = ../../host/src/tests/sbrom_test_cc3x/dat/input/pwd.txt
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/utils/src/cc3x_boot_cert/examples/enabler_cert/
Dx509_sb_enabler_dbg_cert_rma.cfg11 #cert-keypair-pwd = Passphrase for the keypair file, in txt format.
29 cert-keypair-pwd = pwd.txt
Dsb_enabler_dbg_cert_rma.cfg11 #cert-keypair-pwd = Passphrase for the keypair file, in txt format.
29 cert-keypair-pwd = pwd.txt
Dx509_sb_enabler_dbg_cert.cfg11 #cert-keypair-pwd = Passphrase for the keypair file, in txt format.
30 cert-keypair-pwd = pwd.txt
Dsb_enabler_dbg_cert.cfg11 #cert-keypair-pwd = Passphrase for the keypair file, in txt format.
30 cert-keypair-pwd = pwd.txt
Dsb_enabler_dbg_cert_no_pwd.cfg11 #cert-keypair-pwd = Passphrase for the keypair file, in txt format.
30 cert-keypair-pwd =
Dsb_enabler_dbg_cert_rma_no_pwd.cfg11 #cert-keypair-pwd = Passphrase for the keypair file, in txt format.
30 cert-keypair-pwd =

12