• Home
  • Raw
  • Download

Lines Matching defs:u8

64     fn add_entropy(&mut self, data: &[u8]);  in add_entropy()
66 fn fill_bytes(&mut self, dest: &mut [u8]); in fill_bytes()
79 fn eq(&self, left: &[u8], right: &[u8]) -> bool; in eq()
81 fn ne(&self, left: &[u8], right: &[u8]) -> bool { in ne()
130 data: &[u8], in import_key()
175 fn import_key(&self, data: &[u8], _params: &[keymint::KeyParam]) -> Result<KeyMaterial, Error> { in import_key()
214 data: &[u8], in import_key()
258 data: &[u8], in import_pkcs8_key()
272 fn subject_public_key(&self, key: &OpaqueOr<rsa::Key>) -> Result<Vec<u8>, Error> { in subject_public_key()
327 data: &[u8], in import_pkcs8_key()
337 data: &[u8], in import_raw_ed25519_key()
347 data: &[u8], in import_raw_x25519_key()
359 fn subject_public_key(&self, key: &OpaqueOr<ec::Key>) -> Result<Vec<u8>, Error> { in subject_public_key()
385 fn nist_public_key(&self, key: &ec::NistKey, curve: ec::NistCurve) -> Result<Vec<u8>, Error>; in nist_public_key()
388 fn ed25519_public_key(&self, key: &ec::Ed25519Key) -> Result<Vec<u8>, Error>; in ed25519_public_key()
391 fn x25519_public_key(&self, key: &ec::X25519Key) -> Result<Vec<u8>, Error>; in x25519_public_key()
411 fn update(&mut self, data: &[u8]) -> Result<Vec<u8>, Error>; in update()
414 fn finish(self: Box<Self>) -> Result<Vec<u8>, Error>; in finish()
435 fn finish(self: Box<Self>) -> Result<Vec<u8>, Error>; in finish()
444 fn hkdf(&self, salt: &[u8], ikm: &[u8], info: &[u8], out_len: usize) -> Result<Vec<u8>, Error> { in hkdf()
450 fn extract(&self, salt: &[u8], ikm: &[u8]) -> Result<OpaqueOr<hmac::Key>, Error>; in extract()
456 info: &[u8], in expand()
458 ) -> Result<Vec<u8>, Error>; in expand()
464 salt: &[u8], in hkdf_aes()
465 ikm: &[u8], in hkdf_aes()
466 info: &[u8], in hkdf_aes()
480 info: &[u8], in expand_aes()
500 label: &[u8], in ckdf()
501 chunks: &[&[u8]], in ckdf()
503 ) -> Result<Vec<u8>, Error>; in ckdf()
541 fn add_entropy(&mut self, _data: &[u8]) { in add_entropy()
544 fn fill_bytes(&mut self, _dest: &mut [u8]) { in fill_bytes()
553 fn eq(&self, left: &[u8], right: &[u8]) -> bool { in eq()
680 fn nist_public_key(&self, _key: &ec::NistKey, _curve: ec::NistCurve) -> Result<Vec<u8>, Error> { in nist_public_key()
684 fn ed25519_public_key(&self, _key: &ec::Ed25519Key) -> Result<Vec<u8>, Error> { in ed25519_public_key()
688 fn x25519_public_key(&self, _key: &ec::X25519Key) -> Result<Vec<u8>, Error> { in x25519_public_key()