Searched refs:UnboundKey (Results 1 – 4 of 4) sorted by relevance
/external/rust/crates/ring/src/ |
D | aead.rs | 57 fn new(key: UnboundKey, nonce_sequence: N) -> Self; in new() argument 69 key: UnboundKey, 74 fn new(key: UnboundKey, nonce_sequence: N) -> Self { in new() argument 184 key: &UnboundKey, in open_within_() argument 191 key: &UnboundKey, in open_within_() argument 244 key: UnboundKey, 249 fn new(key: UnboundKey, nonce_sequence: N) -> Self { in new() argument 340 key: &UnboundKey, in seal_in_place_separate_tag_() argument 387 pub struct UnboundKey { struct 393 impl core::fmt::Debug for UnboundKey { argument [all …]
|
/external/rust/crates/ring/tests/ |
D | aead_tests.rs | 309 assert!(aead::UnboundKey::new(aead_alg, &key_data[..key_len]).is_ok()); in test_aead_key_sizes() 312 assert!(aead::UnboundKey::new(aead_alg, &key_data[..(key_len - 1)]).is_err()); in test_aead_key_sizes() 315 assert!(aead::UnboundKey::new(aead_alg, &key_data[..(key_len + 1)]).is_err()); in test_aead_key_sizes() 318 assert!(aead::UnboundKey::new(aead_alg, &key_data[..(key_len / 2)]).is_err()); in test_aead_key_sizes() 321 assert!(aead::UnboundKey::new(aead_alg, &key_data[..(key_len * 2)]).is_err()); in test_aead_key_sizes() 324 assert!(aead::UnboundKey::new(aead_alg, &[]).is_err()); in test_aead_key_sizes() 327 assert!(aead::UnboundKey::new(aead_alg, &[0]).is_err()); in test_aead_key_sizes() 416 let key = aead::UnboundKey::new(&aead::AES_256_GCM, &key_bytes).unwrap(); in test_aead_key_debug() 454 let key = aead::UnboundKey::new(algorithm, key).unwrap(); in make_key() 460 let key = aead::UnboundKey::new(algorithm, key).unwrap(); in make_less_safe_key()
|
/external/rust/crates/quiche/src/ |
D | crypto.rs | 134 aead::UnboundKey::new(alg.get_ring_aead(), key) in new() 218 aead::UnboundKey::new(alg.get_ring_aead(), key) in new()
|
D | packet.rs | 683 aead::UnboundKey::new(&aead::AES_128_GCM, key) in compute_retry_integrity_tag()
|