Home | History | Annotate | Download | only in testprof

Lines Matching defs:privKey

8    katja_key     key, privKey, pubKey;
146 DO(katja_import(tmp, len2, &privKey));
161 katja_free(&privKey);
165 /* verify with privKey */
168 DO(katja_verify_hash(out, len, in, 20, hash_idx, 0, &stat, &privKey));
171 DO(katja_verify_hash(out, len, in, 20, hash_idx, 0, &stat2, &privKey));
174 fprintf(stderr, "katja_verify_hash (unsalted, privKey) failed, %d, %d", stat, stat2);
177 katja_free(&privKey);
193 katja_free(&privKey);
197 /* sign a message (salted) now (use privKey to make, pubKey to verify) */
199 DO(katja_sign_hash(in, 20, out, &len, &yarrow_prng, prng_idx, hash_idx, 8, &privKey));
209 katja_free(&privKey);
216 katja_free(&privKey);