Lines Matching defs:TestCase
57 struct TestCase { in test_hmac() struct
58 key: &'static str, // 32 bytes, hex-encoded in test_hmac()
59 data: &'static [u8], in test_hmac()
60 want: &'static str, // 32 bytes, hex-encoded in test_hmac()
85 struct TestCase { in test_hkdf() struct
86 ikm: &'static str, in test_hkdf()
87 salt: &'static str, in test_hkdf()
88 info: &'static str, in test_hkdf()
89 want: &'static str, in test_hkdf()
181 struct TestCase { in test_aes_gcm() struct
182 key: &'static str, in test_aes_gcm()
183 iv: &'static str, in test_aes_gcm()
184 aad: &'static str, in test_aes_gcm()
185 msg: &'static str, in test_aes_gcm()
186 ct: &'static str, in test_aes_gcm()
187 tag: &'static str, in test_aes_gcm()
299 struct TestCase { in test_ecdsa() struct
300 key: EcVerifyKey, in test_ecdsa()
301 msg: &'static str, // hex in test_ecdsa()
302 sig: &'static str, // hex in test_ecdsa()