Lines Matching refs:privKey
128 rsa_key key, privKey, pubKey; in rsa_test() local
285 DO(rsa_import(tmp, len2, &privKey)); in rsa_test()
300 rsa_free(&privKey); in rsa_test()
307 DO(rsa_verify_hash(out, len, in, 20, hash_idx, 0, &stat, &privKey)); in rsa_test()
310 DO(rsa_verify_hash(out, len, in, 20, hash_idx, 0, &stat2, &privKey)); in rsa_test()
316 rsa_free(&privKey); in rsa_test()
332 rsa_free(&privKey); in rsa_test()
338 DO(rsa_sign_hash(in, 20, out, &len, &yarrow_prng, prng_idx, hash_idx, 8, &privKey)); in rsa_test()
348 rsa_free(&privKey); in rsa_test()
354 …a_sign_hash_ex(in, 20, out, &len, LTC_PKCS_1_V1_5, &yarrow_prng, prng_idx, hash_idx, 8, &privKey)); in rsa_test()
364 rsa_free(&privKey); in rsa_test()
371 rsa_free(&privKey); in rsa_test()