Home | History | Annotate | Download | only in futility

Lines Matching refs:pubkey

47 static void show_key(VbPublicKey *pubkey, const char *sp)
49 printf("%sAlgorithm: %" PRIu64 " %s\n", sp, pubkey->algorithm,
50 (pubkey->algorithm < kNumAlgorithms ?
51 algo_strings[pubkey->algorithm] : "(invalid)"));
52 printf("%sKey Version: %" PRIu64 "\n", sp, pubkey->key_version);
54 PrintPubKeySha1Sum(pubkey);
94 VbPublicKey *pubkey = (VbPublicKey *)state->my_area->buf;
96 if (!PublicKeyLooksOkay(pubkey, state->my_area->len)) {
102 show_key(pubkey, " ");
131 VbPublicKey *pubkey;
174 pubkey = (VbPublicKey *)(buf + gbb->rootkey_offset);
175 if (PublicKeyLooksOkay(pubkey, gbb->rootkey_size)) {
182 show_key(pubkey, " ");
188 pubkey = (VbPublicKey *)(buf + gbb->recovery_key_offset);
189 if (PublicKeyLooksOkay(pubkey, gbb->recovery_key_size)) {
196 show_key(pubkey, " ");