Lines Matching refs:RSA
28 static void RSA_get0_key(const RSA *r, in RSA_get0_key()
389 static int kwb_load_rsa_key(const char *keydir, const char *name, RSA **p_rsa) in kwb_load_rsa_key()
392 RSA *rsa; in kwb_load_rsa_key()
420 RSA **p_key) in kwb_load_cfg_key()
423 RSA *key; in kwb_load_cfg_key()
445 static int kwb_load_kak(struct image_tool_params *params, RSA **p_kak) in kwb_load_kak()
450 static int kwb_load_csk(struct image_tool_params *params, RSA **p_csk) in kwb_load_csk()
495 static int kwb_import_pubkey(RSA **key, struct pubkey_der_v1 *src, char *keyname) in kwb_import_pubkey()
497 RSA *rsa; in kwb_import_pubkey()
516 static int kwb_export_pubkey(RSA *key, struct pubkey_der_v1 *dst, FILE *hashf, in kwb_export_pubkey()
603 int kwb_sign(RSA *key, void *data, int datasz, struct sig_v1 *sig, char *signame) in kwb_sign()
663 int kwb_verify(RSA *key, void *data, int datasz, struct sig_v1 *sig, in kwb_verify()
723 int kwb_sign_and_verify(RSA *key, void *data, int datasz, struct sig_v1 *sig, in kwb_sign_and_verify()
1107 int export_pub_kak_hash(RSA *kak, struct secure_hdr_v1 *secure_hdr) in export_pub_kak_hash()
1122 struct secure_hdr_v1 *secure_hdr, RSA *csk) in kwb_sign_csk_with_kak()
1124 RSA *kak = NULL; in kwb_sign_csk_with_kak()
1125 RSA *kak_pub = NULL; in kwb_sign_csk_with_kak()
1170 RSA *csk = NULL; in add_secure_header_v1()