Home | History | Annotate | Download | only in tests

Lines Matching full:public_key

43 static void VerifyDataTest(const VbPublicKey *public_key,
54 rsa = PublicKeyToRSA(public_key);
79 static void VerifyDigestTest(const VbPublicKey *public_key,
88 rsa = PublicKeyToRSA(public_key);
90 (int)public_key->algorithm);
118 static void VerifyKernelPreambleTest(const VbPublicKey *public_key,
129 rsa = PublicKeyToRSA(public_key);
218 VbPublicKey *public_key = NULL;
230 public_key = PublicKeyReadKeyb(filename, key_algorithm, 1);
231 if (!public_key) {
232 fprintf(stderr, "Error reading public_key: %s\n", filename);
236 VerifyPublicKeyToRSA(public_key);
237 VerifyDataTest(public_key, private_key);
238 VerifyDigestTest(public_key, private_key);
239 VerifyKernelPreambleTest(public_key, private_key);
241 if (public_key)
242 free(public_key);