Home
last modified time | relevance | path

Searched refs:keydir (Results 1 – 12 of 12) sorted by relevance

/external/u-boot/lib/rsa/
Drsa-sign.c56 static int rsa_pem_get_pub_key(const char *keydir, const char *name, RSA **rsap) in rsa_pem_get_pub_key() argument
66 snprintf(path, sizeof(path), "%s/%s.crt", keydir, name); in rsa_pem_get_pub_key()
122 static int rsa_engine_get_pub_key(const char *keydir, const char *name, in rsa_engine_get_pub_key() argument
136 if (keydir) in rsa_engine_get_pub_key()
139 keydir, name); in rsa_engine_get_pub_key()
145 if (keydir) in rsa_engine_get_pub_key()
148 keydir, name); in rsa_engine_get_pub_key()
189 static int rsa_get_pub_key(const char *keydir, const char *name, in rsa_get_pub_key() argument
193 return rsa_engine_get_pub_key(keydir, name, engine, rsap); in rsa_get_pub_key()
194 return rsa_pem_get_pub_key(keydir, name, rsap); in rsa_get_pub_key()
[all …]
/external/u-boot/tools/binman/etype/
Dgbb.py58 self.hardware_id, self.keydir, self.bmpblk = self.GetEntryArgsOrProps(
82 keydir = tools.GetInputFilename(self.keydir)
86 '--rootkey=%s/root_key.vbpubk' % keydir,
87 '--recoverykey=%s/recovery_key.vbpubk' % keydir,
Dvblock.py43 (self.keydir, self.keyblock, self.signprivate, self.version,
66 prefix = self.keydir + '/'
/external/u-boot/tools/
Dimage-host.c155 const char *keydir, void *fit, const char *image_name, in fit_image_setup_sig() argument
172 info->keydir = keydir; in fit_image_setup_sig()
209 static int fit_image_process_sig(const char *keydir, void *keydest, in fit_image_process_sig() argument
222 if (fit_image_setup_sig(&info, keydir, fit, image_name, noffset, in fit_image_process_sig()
306 int fit_image_add_verification_data(const char *keydir, void *keydest, in fit_image_add_verification_data() argument
340 } else if (IMAGE_ENABLE_SIGN && keydir && in fit_image_add_verification_data()
343 ret = fit_image_process_sig(keydir, keydest, in fit_image_add_verification_data()
583 static int fit_config_process_sig(const char *keydir, void *keydest, in fit_config_process_sig() argument
603 if (fit_image_setup_sig(&info, keydir, fit, conf_name, noffset, in fit_config_process_sig()
648 static int fit_config_add_verification_data(const char *keydir, void *keydest, in fit_config_add_verification_data() argument
[all …]
Dkwbimage.c389 static int kwb_load_rsa_key(const char *keydir, const char *name, RSA **p_rsa) in kwb_load_rsa_key() argument
395 if (!keydir) in kwb_load_rsa_key()
396 keydir = "."; in kwb_load_rsa_key()
398 snprintf(path, sizeof(path), "%s/%s.key", keydir, name); in kwb_load_rsa_key()
434 res = kwb_load_rsa_key(params->keydir, e_key->key_name, &key); in kwb_load_cfg_key()
Dimagetool.h65 const char *keydir; /* Directory holding private keys */ member
Dmkimage.c216 params.keydir = optarg; in process_args()
Dfit_image.c62 ret = fit_add_verification_data(params->keydir, dest_blob, ptr, in fit_add_file_data()
/external/u-boot/doc/uImage.FIT/
Dsignature.txt483 PKCS11 engine support forms "key id" based on "keydir" and with
484 "key-name-hint". "key-name-hint" is used as "object" name and "keydir" if
489 "pkcs11:<keydir>;object=<key-name-hint>;type=<public|private>"
493 Generic HSM engine support forms "key id" based on "keydir" and with
494 "key-name-hint". If "keydir" is specified for mkimage it is used as a prefix in
498 "<keydir><key-name-hint>"
599 Use the portion of the signature token URL after "pkcs11:" as the keydir argument (-k) to mkimage b…
/external/u-boot/prebuilt-intermediates/
Dimage.h1051 int fit_add_verification_data(const char *keydir, void *keydest, void *fit,
1127 const char *keydir; /* Directory conaining keys */ member
/external/u-boot/include/
Dimage.h1051 int fit_add_verification_data(const char *keydir, void *keydest, void *fit,
1127 const char *keydir; /* Directory conaining keys */ member
/external/u-boot/tools/binman/
DREADME.entries327 - keydir: Directory containing the public keys to use
991 - keydir: Directory containing the public keys to use
992 - keyblock: Name of the key file to use (inside keydir)
993 - signprivate: Name of provide key file to use (inside keydir)
995 - kernelkey: Name of the kernel key to use (inside keydir)