Home
last modified time | relevance | path

Searched refs:alg_type (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/nix/test/sys/
Dtest_socket.rs857 let alg_type = "skcipher"; in test_af_alg_cipher() localVariable
876 let sockaddr = AlgAddr::new(alg_type, alg_name); in test_af_alg_cipher()
880 assert_eq!(sockaddr.alg_type().to_string_lossy(), alg_type); in test_af_alg_cipher()
941 let alg_type = "aead"; in test_af_alg_aead() localVariable
971 let sockaddr = AlgAddr::new(alg_type, alg_name); in test_af_alg_aead()
/external/rust/crates/nix/src/sys/socket/
Daddr.rs2048 pub fn new_alg(alg_type: &str, alg_name: &str) -> SockAddr { in new_alg()
2049 SockAddr::Alg(AlgAddr::new(alg_type, alg_name)) in new_alg()
2486 pub fn new(alg_type: &str, alg_name: &str) -> AlgAddr { in new()
2489 addr.salg_type[..alg_type.len()] in new()
2490 .copy_from_slice(alg_type.to_string().as_bytes()); in new()
2498 pub fn alg_type(&self) -> &CStr { in alg_type() method
2518 self.alg_type().to_string_lossy() in fmt()
/external/avb/
Davbtool.py498 def lookup_algorithm_by_type(alg_type): argument
512 if alg_data.algorithm_type == alg_type:
514 raise AvbError('Unknown algorithm type {}'.format(alg_type))
517 def lookup_hash_size_by_type(alg_type): argument
531 if alg_data.algorithm_type == alg_type:
533 raise AvbError('Unsupported algorithm type {}'.format(alg_type))