Home
last modified time | relevance | path

Searched refs:PRIVATE_KEY_SIZE (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Bluetooth/tools/rootcanal/rust/src/lmp/
Dec.rs87 P192([u8; P192r1::PRIVATE_KEY_SIZE]),
88 P256([u8; P256r1::PRIVATE_KEY_SIZE]),
112 let random_bytes: [u8; P192r1::PRIVATE_KEY_SIZE] = thread_rng().gen(); in generate_p192()
122 let mut inner = [0; P192r1::PRIVATE_KEY_SIZE]; in generate_p192()
128 let random_bytes: [u8; P256r1::PRIVATE_KEY_SIZE] = thread_rng().gen(); in generate_p256()
138 let mut inner = [0; P256r1::PRIVATE_KEY_SIZE]; in generate_p256()
197 const PRIVATE_KEY_SIZE: usize; constant
224 const PRIVATE_KEY_SIZE: usize = 24; constant
250 const PRIVATE_KEY_SIZE: usize = 32; constant
304 x.resize(Curve::PRIVATE_KEY_SIZE, 0); in to_bytes()
[all …]
/packages/modules/Virtualization/libs/dice/open_dice/src/
Ddice.rs42 pub const PRIVATE_KEY_SIZE: usize = DICE_PRIVATE_KEY_SIZE as usize; constant
113 pub struct PrivateKey([u8; PRIVATE_KEY_SIZE]);
122 Self([0u8; PRIVATE_KEY_SIZE]) in default()
128 pub fn as_array(&self) -> &[u8; PRIVATE_KEY_SIZE] { in as_array() argument
Dops.rs21 Signature, HASH_SIZE, PRIVATE_KEY_SEED_SIZE, PRIVATE_KEY_SIZE, PUBLIC_KEY_SIZE, SIGNATURE_SIZE,
109 pub fn sign(message: &[u8], private_key: &[u8; PRIVATE_KEY_SIZE]) -> Result<Signature> { in sign()