Lines Matching refs:pubKey
128 rsa_key key, privKey, pubKey; in rsa_test() local
288 DO(rsa_import(tmp, len2, &pubKey)); in rsa_test()
299 rsa_free(&pubKey); in rsa_test()
315 rsa_free(&pubKey); in rsa_test()
323 DO(rsa_verify_hash(out, len, in, 20, hash_idx, 0, &stat, &pubKey)); in rsa_test()
326 DO(rsa_verify_hash(out, len, in, 20, hash_idx, 0, &stat2, &pubKey)); in rsa_test()
331 rsa_free(&pubKey); in rsa_test()
339 DO(rsa_verify_hash(out, len, in, 20, hash_idx, 8, &stat, &pubKey)); in rsa_test()
342 DO(rsa_verify_hash(out, len, in, 20, hash_idx, 8, &stat2, &pubKey)); in rsa_test()
347 rsa_free(&pubKey); in rsa_test()
355 DO(rsa_verify_hash_ex(out, len, in, 20, LTC_PKCS_1_V1_5, hash_idx, 8, &stat, &pubKey)); in rsa_test()
358 DO(rsa_verify_hash_ex(out, len, in, 20, LTC_PKCS_1_V1_5, hash_idx, 8, &stat2, &pubKey)); in rsa_test()
363 rsa_free(&pubKey); in rsa_test()
370 rsa_free(&pubKey); in rsa_test()