Home
last modified time | relevance | path

Searched refs:consume_u8 (Results 1 – 4 of 4) sorted by relevance

/system/keymint/common/src/keyblob/legacy/
Dtests.rs17 use crate::tag::legacy::{consume_u32, consume_u64, consume_u8, consume_vec};
24 assert_eq!(1u8, consume_u8(&mut data).unwrap()); in test_consume_u8()
25 assert_eq!(2u8, consume_u8(&mut data).unwrap()); in test_consume_u8()
26 let result = consume_u8(&mut data); in test_consume_u8()
/system/keymint/common/src/keyblob/
Dlegacy.rs17 use crate::tag::legacy::{consume_i32, consume_u32, consume_u8, consume_vec};
133 let format = match consume_u8(&mut data)? { in deserialize()
240 let version = consume_u8(&mut data)?; in deserialize()
/system/security/keystore2/src/
Dsw_keyblob.rs243 let version = consume_u8(&mut data)?; in new_from_serialized()
294 fn consume_u8(data: &mut &[u8]) -> Result<u8> { in consume_u8() function
308 let b = consume_u8(data)?; in consume_bool()
592 assert_eq!(1u8, consume_u8(&mut data).unwrap()); in test_consume_u8()
593 assert_eq!(2u8, consume_u8(&mut data).unwrap()); in test_consume_u8()
594 let result = consume_u8(&mut data); in test_consume_u8()
/system/keymint/common/src/tag/
Dlegacy.rs30 pub fn consume_u8(data: &mut &[u8]) -> Result<u8, Error> { in consume_u8() function
44 let b = consume_u8(data)?; in consume_bool()