Lines Matching refs:signature
114 // The signature algorithm is specified as the following ASN.1 structure:
127 // RSA signature, a big integer in the big-endian byte order.
128 const uint8 signature[256] = {
201 // We use the signature verifier to perform four signature verification
210 signature, sizeof(signature),
221 signature, sizeof(signature),
230 // Test 3: verify the signature with incorrect data.
236 signature, sizeof(signature),
243 // Test 4: verify a bad signature.
244 uint8 bad_signature[sizeof(signature)];
245 memcpy(bad_signature, signature, sizeof(signature));
246 bad_signature[10] += 1; // Corrupt one byte of the signature.
252 // A crypto library (e.g., NSS) may detect that the signature is corrupted
263 // RSA-PSS signature verification known answer test
267 // The following RSA-PSS signature test vectors come from the pss-vect.txt
913 const char* signature;
989 // The signature algorithm is specified as the following ASN.1 structure:
1075 std::vector<uint8> signature;
1078 ASSERT_TRUE(DecodeTestInput(pss_test[i].example[j].signature,
1079 &signature));
1088 &signature[0], signature.size(),
1100 &signature[0], signature.size(),
1115 &signature[0], signature.size(),
1123 // Corrupt the signature.
1124 signature[0] += 1;
1128 &signature[0], signature.size(),
1131 signature[0] -= 1;