Home | History | Annotate | Download | only in tests

Lines Matching defs:sig

23                     test_message_sha1_hash), 1, "RSA Padding Test valid sig");
41 uint8_t sig[RSA1024NUMBYTES];
46 test_message_sha1_hash), 0, "RSAVerify() sig len");
53 Memcpy(sig, signatures[0], RSA1024NUMBYTES);
54 sig[3] ^= 0x42;
55 TEST_EQ(RSAVerify(key, sig, RSA1024NUMBYTES, 0, test_message_sha1_hash), 0,
56 "RSAVerify() bad sig");
58 Memcpy(sig, signatures[0], RSA1024NUMBYTES);
59 sig[RSA1024NUMBYTES - 3] ^= 0x56;
60 TEST_EQ(RSAVerify(key, sig, RSA1024NUMBYTES, 0, test_message_sha1_hash), 0,
61 "RSAVerify() bad sig end");