Searched refs:alg_type (Results 1 – 4 of 4) sorted by relevance
670 pub fn new_alg(alg_type: &str, alg_name: &str) -> SockAddr { in new_alg()671 SockAddr::Alg(AlgAddr::new(alg_type, alg_name)) in new_alg()944 pub fn new(alg_type: &str, alg_name: &str) -> AlgAddr { in new()947 addr.salg_type[..alg_type.len()].copy_from_slice(alg_type.to_string().as_bytes()); in new()954 pub fn alg_type(&self) -> &CStr { in alg_type() method967 self.alg_type().to_string_lossy()) in fmt()
607 let alg_type = "skcipher"; in test_af_alg_cipher() localVariable621 let sockaddr = SockAddr::new_alg(alg_type, alg_name); in test_af_alg_cipher()626 assert_eq!(alg.alg_type().to_string_lossy(), alg_type); in test_af_alg_cipher()679 let alg_type = "aead"; in test_af_alg_aead() localVariable703 let sockaddr = SockAddr::new_alg(alg_type, alg_name); in test_af_alg_aead()
497 def lookup_algorithm_by_type(alg_type): argument511 if alg_data.algorithm_type == alg_type:513 raise AvbError('Unknown algorithm type {}'.format(alg_type))516 def lookup_hash_size_by_type(alg_type): argument530 if alg_data.algorithm_type == alg_type:532 raise AvbError('Unsupported algorithm type {}'.format(alg_type))