Skip to content

Commit 7f1a95a

Browse files
committed
tink-prf: rename test methods
Merge upstream commit: - 06b2eaa8da51 Clean up prf/subtle package.
1 parent ad645f5 commit 7f1a95a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/tests/prf_test/subtle/aes_cmac_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ pub struct TestCase {
7575
}
7676

7777
#[test]
78-
fn test_vectors_wycheproof() {
78+
fn test_aes_cmac_prf_wycheproof_cases() {
7979
let filename = "testvectors/aes_cmac_test.json";
8080
println!("wycheproof file '{}'", filename);
8181
let bytes = tink_tests::wycheproof_data(filename);

tests/tests/prf_test/subtle/hkdf_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ struct HkdfTestCase {
139139
}
140140

141141
#[test]
142-
fn test_vectors_hkdf_wycheproof() {
142+
fn test_hkdf_prf_wycheproof_cases() {
143143
for hash in &[HashType::Sha1, HashType::Sha256, HashType::Sha512] {
144144
let hash_name = format!("{:?}", hash);
145145
let filename = format!("testvectors/hkdf_{}_test.json", hash_name.to_lowercase());

tests/tests/prf_test/subtle/hmac_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ fn test_vectors_rfc4868() {
9898
}
9999

100100
#[test]
101-
fn test_vectors_hmac_wycheproof() {
101+
fn test_hmac_prf_wycheproof_cases() {
102102
for hash in &[HashType::Sha1, HashType::Sha256, HashType::Sha512] {
103103
let hash_name = format!("{:?}", hash);
104104
let filename = format!("testvectors/hmac_{}_test.json", hash_name.to_lowercase());

0 commit comments

Comments
 (0)