Home
last modified time | relevance | path

Searched defs:u8 (Results 1 – 25 of 46) sorted by relevance

12

/system/security/keystore2/src/
Dec_crypto.rs50 pub fn public_key(&self) -> Result<Vec<u8>> { in public_key()
61 salt: &[u8], in agree_key()
62 other_public_key: &[u8], in agree_key()
63 sender_public_key: &[u8], in agree_key()
64 recipient_public_key: &[u8], in agree_key()
84 recipient_public_key: &[u8], in encrypt_message()
85 message: &[u8], in encrypt_message()
86 ) -> Result<(Vec<u8>, Vec<u8>, Vec<u8>, Vec<u8>, Vec<u8>)> { in encrypt_message()
105 sender_public_key: &[u8], in decrypt_message()
106 salt: &[u8], in decrypt_message()
[all …]
Dremote_provisioning.rs281 eek: &[u8], in generate_csr()
282 challenge: &[u8], in generate_csr()
286 ) -> Result<Vec<u8>> { in generate_csr()
339 public_key: &[u8], in provision_cert_chain()
340 batch_cert: &[u8], in provision_cert_chain()
341 certs: &[u8], in provision_cert_chain()
441 eek: &[u8], in generateCsr()
442 challenge: &[u8], in generateCsr()
446 ) -> binder::public_api::Result<Vec<u8>> { in generateCsr()
464 public_key: &[u8], in provisionCertChain()
[all …]
Dattestation_key_utils.rs100 ) -> Result<(KeyIdGuard, Vec<u8>, Vec<u8>, BlobMetaData)> { in load_attest_key_blob_and_cert()
Dsuper_key.rs163 pub fn aes_gcm_decrypt(&self, data: &[u8], iv: &[u8], tag: &[u8]) -> Result<ZVec> { in aes_gcm_decrypt()
183 fn new(key: &[u8], to_encrypt: &Arc<SuperKey>) -> Result<Self> { in new()
436 blob: &'a [u8], in unwrap_key_if_required()
456 fn unwrap_key_with_key(blob: &[u8], metadata: &BlobMetaData, key: &SuperKey) -> Result<ZVec> { in unwrap_key_with_key()
661 super_key: &[u8], in encrypt_with_password()
663 ) -> Result<(Vec<u8>, BlobMetaData)> { in encrypt_with_password()
687 key_blob: &[u8], in super_encrypt_on_key_init()
688 ) -> Result<(Vec<u8>, BlobMetaData)> { in super_encrypt_on_key_init()
708 key_blob: &[u8], in encrypt_with_aes_super_key()
710 ) -> Result<(Vec<u8>, BlobMetaData)> { in encrypt_with_aes_super_key()
[all …]
Dapc.rs204 confirmation_token_sender: Sender<Vec<u8>>, in new_native_binder()
215 data_confirmed: Option<&[u8]>, in result()
216 confirmation_token: Option<&[u8]>, in result()
272 extra_data: &[u8], in present_prompt()
362 extra_data: &[u8], in presentPrompt()
Dservice.rs183 public_cert: Option<&[u8]>, in update_subcomponent()
184 certificate_chain: Option<&[u8]>, in update_subcomponent()
374 public_cert: Option<&[u8]>, in updateSubcomponent()
375 certificate_chain: Option<&[u8]>, in updateSubcomponent()
Doperation.rs386 fn update(&self, input: &[u8]) -> Result<Option<Vec<u8>>> { in update()
417 fn finish(&self, input: Option<&[u8]>, signature: Option<&[u8]>) -> Result<Option<Vec<u8>>> { in finish()
855 fn update(&self, input: &[u8]) -> binder::public_api::Result<Option<Vec<u8>>> { in update()
867 input: Option<&[u8]>, in finish()
868 signature: Option<&[u8]>, in finish()
869 ) -> binder::public_api::Result<Option<Vec<u8>>> { in finish()
Dsecurity_level.rs470 _entropy: &[u8], in generate_key()
587 key_data: &[u8], in import_key()
645 masking_key: Option<&[u8]>, in import_wrapped_key()
773 upgraded_blob: &[u8], in store_upgraded_keyblob()
978 entropy: &[u8], in generateKey()
994 key_data: &[u8], in importKey()
1006 masking_key: Option<&[u8]>, in importWrappedKey()
Draw_device.rs307 key_blob: &[u8], in use_key_in_one_step()
311 input: &[u8], in use_key_in_one_step()
312 ) -> Result<Vec<u8>> { in use_key_in_one_step()
Dentropy.rs45 fn get_entropy(size: usize) -> Result<Vec<u8>> { in get_entropy()
Ddatabase.rs583 pub fn new(cert: Option<Vec<u8>>, cert_chain: Option<Vec<u8>>) -> Self { in new()
588 pub fn take_cert(&mut self) -> Option<Vec<u8>> { in take_cert()
593 pub fn take_cert_chain(&mut self) -> Option<Vec<u8>> { in take_cert_chain()
632 pub fn key_blob_info(&self) -> &Option<(Vec<u8>, BlobMetaData)> { in key_blob_info()
636 pub fn take_key_blob_info(&mut self) -> Option<(Vec<u8>, BlobMetaData)> { in take_key_blob_info()
640 pub fn cert(&self) -> &Option<Vec<u8>> { in cert()
644 pub fn take_cert(&mut self) -> Option<Vec<u8>> { in take_cert()
648 pub fn cert_chain(&self) -> &Option<Vec<u8>> { in cert_chain()
652 pub fn take_cert_chain(&mut self) -> Option<Vec<u8>> { in take_cert_chain()
1132 ) -> Result<Vec<(i64, Vec<u8>, BlobMetaData)>> { in handle_next_superseded_blobs()
[all …]
/system/bt/gd/rust/hal/src/
Dhidl_hal.rs44 fn send_command(data: &[u8]); in send_command()
45 fn send_acl(data: &[u8]); in send_acl()
46 fn send_sco(data: &[u8]); in send_sco()
47 fn send_iso(data: &[u8]); in send_iso()
52 fn on_event(data: &[u8]); in on_event()
53 fn on_acl(data: &[u8]); in on_acl()
54 fn on_sco(data: &[u8]); in on_sco()
55 fn on_iso(data: &[u8]); in on_iso()
75 fn on_event(data: &[u8]) { in on_event()
84 fn on_acl(data: &[u8]) { in on_acl()
[all …]
/system/security/keystore2/src/crypto/
Dlib.rs65 pub fn generate_random_data(size: usize) -> Result<Vec<u8>, Error> { in generate_random_data()
82 pub fn aes_gcm_decrypt(data: &[u8], iv: &[u8], tag: &[u8], key: &[u8]) -> Result<ZVec, Error> { in aes_gcm_decrypt()
124 pub fn aes_gcm_encrypt(plaintext: &[u8], key: &[u8]) -> Result<(Vec<u8>, Vec<u8>, Vec<u8>), Error> { in aes_gcm_encrypt()
173 fn get_key(&'a self) -> &'a [u8] { in get_key()
183 pub fn derive_key(&self, salt: Option<&[u8]>, key_length: usize) -> Result<ZVec, Error> { in derive_key()
186 let salt: *const u8 = match salt { in derive_key() constant
223 pub fn hkdf_extract(secret: &[u8], salt: &[u8]) -> Result<ZVec, Error> { in hkdf_extract()
253 pub fn hkdf_expand(out_len: usize, prk: &[u8], info: &[u8]) -> Result<ZVec, Error> { in hkdf_expand()
383 pub fn ec_point_point_to_oct(point: &EC_POINT) -> Result<Vec<u8>, Error> { in ec_point_point_to_oct()
413 pub fn parse_subject_from_certificate(cert_buf: &[u8]) -> Result<Vec<u8>, Error> { in parse_subject_from_certificate()
/system/bt/gd/rust/shim/src/
Dhci.rs19 fn run(&self, data: &[u8]) { in run()
37 data: &[u8], in hci_send_command()
53 pub fn hci_send_acl(hci: &mut Hci, data: &[u8]) { in hci_send_acl()
65 pub fn hci_register_event(hci: &mut Hci, event: u8) { in hci_register_event()
72 pub fn hci_register_le_event(hci: &mut Hci, subevent: u8) { in hci_register_le_event()
Dbridge.rs27 fn hci_send_command(hci: &mut Hci, data: &[u8], callback: UniquePtr<u8SliceOnceCallback>); in hci_send_command()
28 fn hci_send_acl(hci: &mut Hci, data: &[u8]); in hci_send_acl()
29 fn hci_register_event(hci: &mut Hci, event: u8); in hci_register_event()
30 fn hci_register_le_event(hci: &mut Hci, subevent: u8); in hci_register_le_event()
92 fn controller_get_le_supported_advertising_sets(c: &Controller) -> u8; in controller_get_le_supported_advertising_sets()
93 fn controller_get_le_periodic_advertiser_list_size(c: &Controller) -> u8; in controller_get_le_periodic_advertiser_list_size()
95 fn controller_get_le_buffers(c: &Controller) -> u8; in controller_get_le_buffers()
96 fn controller_get_iso_buffers(c: &Controller) -> u8; in controller_get_iso_buffers()
97 fn controller_get_le_connect_list_size(c: &Controller) -> u8; in controller_get_le_connect_list_size()
98 fn controller_get_le_resolving_list_size(c: &Controller) -> u8; in controller_get_le_resolving_list_size()
[all …]
/system/security/keystore2/apc_compat/
Dapc_compat.rs78 tbs_message: *const u8, in confirmation_result_callback()
80 confirmation_token: *const u8, in confirmation_result_callback()
151 extra_data: &[u8], in prompt_user_confirmation()
157 F: FnOnce(u32, Option<&[u8]>, Option<&[u8]>) + 'static, in prompt_user_confirmation()
/system/nfc/src/include/
Dnfc_types.h62 #define UINT8_TO_STREAM(p, u8) \ argument
64 #define INT8_TO_STREAM(p, u8) \ argument
76 #define STREAM_TO_UINT8(u8, p) \ argument
127 #define UINT8_TO_BE_STREAM(p, u8) \ argument
135 #define BE_STREAM_TO_UINT8(u8, p) \ argument
157 #define UINT8_TO_BE_FIELD(p, u8) \ argument
/system/security/keystore2/aaid/
Dlib.rs23 pub fn get_aaid(uid: u32) -> Result<Vec<u8>, u32> { in get_aaid()
/system/nfc/src/nfc/include/
Dllcp_defs.h40 #define LLCP_GET_NS(u8) ((uint8_t)(u8) >> 4) argument
41 #define LLCP_GET_NR(u8) ((uint8_t)(u8)&0x0F) argument
88 #define LLCP_GET_MAJOR_VERSION(u8) (((uint8_t)(u8) >> 4) & 0x0F) argument
89 #define LLCP_GET_MINOR_VERSION(u8) ((uint8_t)(u8)&0x0F) argument
/system/bt/gd/rust/hci/custom_types/
Dlib.rs60 impl From<Address> for [u8; 6] { implementation
104 impl From<ClassOfDevice> for [u8; 3] { implementation
/system/bt/stack/include/
Dbt_types.h173 #define UINT8_TO_STREAM(p, u8) \ argument
175 #define INT8_TO_STREAM(p, u8) \ argument
215 #define STREAM_TO_INT8(u8, p) \ argument
220 #define STREAM_TO_UINT8(u8, p) \ argument
331 #define UINT8_TO_FIELD(p, u8) \ argument
355 #define UINT8_TO_BE_STREAM(p, u8) \ argument
368 #define BE_STREAM_TO_UINT8(u8, p) \ argument
426 #define UINT8_TO_BE_FIELD(p, u8) \ argument
/system/security/keystore2/src/km_compat/
Dlib.rs85 fn generate_rsa_key(legacy: &dyn IKeyMintDevice, encrypt: bool, attest: bool) -> Vec<u8> { in generate_rsa_key()
214 fn generate_aes_key(legacy: &dyn IKeyMintDevice) -> Vec<u8> { in generate_aes_key()
246 blob: &[u8], in begin()
/system/media/camera/include/system/
Dcamera_metadata.h86 uint8_t *u8; member
105 const uint8_t *u8; member
/system/bt/gd/rust/facade/helpers/
Dlib.rs15 fn run(&self, data: &[u8]); in run()
/system/core/libsparse/
Dsparse_defs.h40 typedef unsigned char u8; typedef

12