Lines Matching defs:msg
7 unsigned char msg[16], out[1024], out2[1024];
20 for (x = 0; x < 16; x++) { msg[x] = x; }
22 DO(dsa_encrypt_key(msg, 16, out, &x, &yarrow_prng, find_prng("yarrow"), find_hash("sha1"), &key));
28 if (y != 16 || memcmp(out2, msg, 16)) {
35 DO(dsa_sign_hash(msg, sizeof(msg), out, &x, &yarrow_prng, find_prng("yarrow"), &key));
38 DO(dsa_verify_hash(out, x, msg, sizeof(msg), &stat1, &key));
41 msg[0] ^= 1;
42 DO(dsa_verify_hash(out, x, msg, sizeof(msg), &stat2, &key));
43 msg[0] ^= 1;
52 DO(dsa_verify_hash(out, x, msg, sizeof(msg), &stat1, &key2));
62 DO(dsa_verify_hash(out, x, msg, sizeof(msg), &stat1, &key2));