Home | History | Annotate | Download | only in tools

Lines Matching refs:kak

138 	[IMAGE_CFG_KAK] = "KAK",
447 return kwb_load_cfg_key(params, IMAGE_CFG_KAK, "KAK", p_kak);
749 ret = kwb_compute_pubkey_hash(&sec_hdr->kak, &kak_pub_hash);
753 fprintf(out, "# burn KAK pub key hash\n");
1107 int export_pub_kak_hash(RSA *kak, struct secure_hdr_v1 *secure_hdr)
1114 res = kwb_export_pubkey(kak, &secure_hdr->kak, hashf, "KAK");
1124 RSA *kak = NULL;
1134 if (kwb_load_kak(params, &kak) < 0)
1137 if (export_pub_kak_hash(kak, secure_hdr))
1140 if (kwb_import_pubkey(&kak_pub, &secure_hdr->kak, "KAK") < 0)
1146 if (kwb_sign_and_verify(kak, &secure_hdr->csk,