Home
last modified time | relevance | path

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

/external/u-boot/tools/
Dkwbimage.c516 static int kwb_export_pubkey(RSA *key, struct pubkey_der_v1 *dst, FILE *hashf, in kwb_export_pubkey() argument
583 if (hashf) { in kwb_export_pubkey()
594 fprintf(hashf, "SHA256 = "); in kwb_export_pubkey()
596 fprintf(hashf, "%02X", pk_hash.hash[i]); in kwb_export_pubkey()
597 fprintf(hashf, "\n"); in kwb_export_pubkey()
1109 FILE *hashf; in export_pub_kak_hash() local
1112 hashf = fopen("pub_kak_hash.txt", "w"); in export_pub_kak_hash()
1114 res = kwb_export_pubkey(kak, &secure_hdr->kak, hashf, "KAK"); in export_pub_kak_hash()
1116 fclose(hashf); in export_pub_kak_hash()