Searched refs:Bytes (Results 1 – 9 of 9) sorted by relevance
/system/nfc/src/rust/nci/ |
D | api.rs | 18 use bytes::Bytes; 187 payload: Some(Bytes::copy_from_slice(param_tlvs)), in nfc_set_config() 192 let raw = Bytes::from(rp); in nfc_set_config() 226 payload: Some(Bytes::copy_from_slice(param_tlvs)), in nfc_get_config() 231 let raw = Bytes::from(rp); in nfc_get_config()
|
/system/keymint/common/src/tag/ |
D | info.rs | 638 tt: TagType::Bytes, 653 tt: TagType::Bytes, 701 tt: TagType::Bytes, 749 tt: TagType::Bytes, 772 tt: TagType::Bytes, 787 tt: TagType::Bytes, 802 tt: TagType::Bytes, 817 tt: TagType::Bytes, 832 tt: TagType::Bytes, 847 tt: TagType::Bytes, [all …]
|
/system/keymint/common/src/ |
D | crypto.rs | 304 cbor::value::Value::Bytes(try_to_vec(&k)?), in to_cbor_value() 310 cbor::value::Value::Bytes(try_to_vec(&k)?), in to_cbor_value() 316 cbor::value::Value::Bytes(try_to_vec(&k)?), in to_cbor_value() 322 cbor::value::Value::Bytes(try_to_vec(&k)?), in to_cbor_value() 332 cbor::value::Value::Bytes(try_to_vec(&k)?), in to_cbor_value() 343 aes::Key::Aes128(k) => cbor::value::Value::Bytes(try_to_vec(&k)?), in to_cbor_value() 344 aes::Key::Aes192(k) => cbor::value::Value::Bytes(try_to_vec(&k)?), in to_cbor_value() 345 aes::Key::Aes256(k) => cbor::value::Value::Bytes(try_to_vec(&k)?), in to_cbor_value() 353 cbor::value::Value::Bytes(k.0.to_vec()), in to_cbor_value() 359 cbor::value::Value::Bytes(k.0.clone()), in to_cbor_value() [all …]
|
/system/keymint/hal/src/hal/ |
D | tests.rs | 70 Value::Bytes(vec![1, 2, 3]), in test_cbor_parse_fail() 121 Value::Bytes(vec![1, 2, 3]), in test_unnamed_cbor_parse_fail()
|
/system/keymint/wire/src/ |
D | tests.rs | 9 ("40", Value::Bytes(vec![])), in test_read_to_value_ok()
|
D | lib.rs | 267 Value::Bytes(_) => "bstr", in cbor_type_error() 411 cbor::value::Value::Bytes(bstr) => Ok(bstr), in from_cbor_value() 417 Ok(cbor::value::Value::Bytes(self)) in to_cbor_value() 428 cbor::value::Value::Bytes(bstr) => bstr, in from_cbor_value() 441 Ok(cbor::value::Value::Bytes(v)) in to_cbor_value()
|
D | keymint.rs | 938 x if x == TagType::Bytes as i32 => TagType::Bytes, in tag_type() 1068 Bytes = -1879048192, enumerator
|
/system/keymint/ta/src/ |
D | rkp.rs | 73 let vbmeta_digest = cbor::value::Value::Bytes(try_to_vec(&boot_info.verified_boot_hash)?); in rpc_device_info_cbor() 258 cbor!([Value::Bytes(challenge.to_vec()), Value::Bytes(csr_payload_data)])?; in generate_cert_req_v2()
|
/system/security/diced/sample_inputs/src/ |
D | sample_inputs.rs | 87 (Label::Int(iana::Ec2KeyParameter::X as i64), Value::Bytes(public_key.to_vec())), in ed25519_public_key_to_cbor_value()
|