Home
last modified time | relevance | path

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

/external/u-boot/lib/rsa/
Drsa-sign.c55 static int rsa_pem_get_pub_key(const char *keydir, const char *name, RSA **rsap) in rsa_pem_get_pub_key() argument
65 snprintf(path, sizeof(path), "%s/%s.crt", keydir, name); in rsa_pem_get_pub_key()
121 static int rsa_engine_get_pub_key(const char *keydir, const char *name, in rsa_engine_get_pub_key() argument
135 if (keydir) in rsa_engine_get_pub_key()
138 keydir, name); in rsa_engine_get_pub_key()
179 static int rsa_get_pub_key(const char *keydir, const char *name, in rsa_get_pub_key() argument
183 return rsa_engine_get_pub_key(keydir, name, engine, rsap); in rsa_get_pub_key()
184 return rsa_pem_get_pub_key(keydir, name, rsap); in rsa_get_pub_key()
195 static int rsa_pem_get_priv_key(const char *keydir, const char *name, in rsa_pem_get_priv_key() argument
203 snprintf(path, sizeof(path), "%s/%s.key", keydir, name); in rsa_pem_get_priv_key()
[all …]
/external/u-boot/tools/
Dimage-host.c150 const char *keydir, void *fit, const char *image_name, in fit_image_setup_sig() argument
164 info->keydir = keydir; in fit_image_setup_sig()
200 static int fit_image_process_sig(const char *keydir, void *keydest, in fit_image_process_sig() argument
212 if (fit_image_setup_sig(&info, keydir, fit, image_name, noffset, in fit_image_process_sig()
296 int fit_image_add_verification_data(const char *keydir, void *keydest, in fit_image_add_verification_data() argument
330 } else if (IMAGE_ENABLE_SIGN && keydir && in fit_image_add_verification_data()
333 ret = fit_image_process_sig(keydir, keydest, in fit_image_add_verification_data()
573 static int fit_config_process_sig(const char *keydir, void *keydest, in fit_config_process_sig() argument
593 if (fit_image_setup_sig(&info, keydir, fit, conf_name, noffset, in fit_config_process_sig()
638 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.c59 ret = fit_add_verification_data(params->keydir, dest_blob, ptr, in fit_add_file_data()
/external/u-boot/include/
Dimage.h1023 int fit_add_verification_data(const char *keydir, void *keydest, void *fit,
1095 const char *keydir; /* Directory conaining keys */ member
/external/u-boot/doc/uImage.FIT/
Dsignature.txt502 Use the portion of the signature token URL after "pkcs11:" as the keydir argument (-k) to mkimage b…