Lines Matching defs:u8
217 pub fn new(flags: u8, value: BlobValue) -> Self { in new()
222 pub fn get_flags(&self) -> u8 { in get_flags()
482 pub fn new_from_stream_decrypt_with<F>(mut stream: impl Read, decrypt: F) -> Result<Blob> in new_from_stream_decrypt_with()
484 F: FnOnce(&[u8], &[u8], &[u8], Option<&[u8]>, Option<usize>) -> Result<ZVec>, in new_from_stream_decrypt_with()
787 fn read_generic_blob_decrypt_with<F>(path: &Path, decrypt: F) -> Result<Option<Blob>> in read_generic_blob_decrypt_with()
789 F: FnOnce(&[u8], &[u8], &[u8], Option<&[u8]>, Option<usize>) -> Result<ZVec>, in read_generic_blob_decrypt_with()
808 ) -> Result<Option<Vec<u8>>> in read_legacy_keystore_entry()
810 F: FnOnce(&[u8], &[u8], &[u8], Option<&[u8]>, Option<usize>) -> Result<ZVec>, in read_legacy_keystore_entry()
1237 ) -> Result<(Option<(Blob, LegacyKeyCharacteristics)>, Option<Vec<u8>>, Option<Vec<u8>>)> { in load_by_uid_alias()
1549 data: &[u8], in write_legacy_blob_helper()
1550 info: Option<&[u8]>, in write_legacy_blob_helper()
1590 key: &[u8], in make_encrypted_characteristics_file()
1591 data: &[u8], in make_encrypted_characteristics_file()
1604 key: &[u8], in make_encrypted_usr_cert_file()
1605 data: &[u8], in make_encrypted_usr_cert_file()
1617 key: &[u8], in make_encrypted_ca_cert_file()
1618 data: &[u8], in make_encrypted_ca_cert_file()
1628 pub fn make_encrypted_key_file<P: AsRef<Path>>(path: P, key: &[u8], data: &[u8]) -> Result<()> { in make_encrypted_key_file()
1938 fn key(&self) -> &[u8] { in key()