Home | History | Annotate | Download | only in tests

Lines Matching defs:sig

31 int vb2_check_padding(const uint8_t *sig, const struct vb2_public_key *key);
38 uint8_t sig[RSA1024NUMBYTES];
45 /* Crypto algorithm to sig algorithm mapping */
57 /* Sig size */
59 "Sig size RSA1024");
61 "Sig size RSA2048");
63 "Sig size RSA4096");
65 "Sig size RSA8192");
67 "Sig size invalid algorithm");
69 "Sig size no signing algorithm");
90 Memcpy(sig, signatures[0], sizeof(sig));
91 TEST_EQ(vb2_check_padding(sig, &kbad),