Searched refs:bytes_less_safe (Results 1 – 5 of 5) sorted by relevance
64 let private_key: &[u8; SCALAR_LEN] = private_key.bytes_less_safe().try_into()?; in x25519_public_from_private()98 let my_private_key: &[u8; SCALAR_LEN] = my_private_key.bytes_less_safe().try_into()?; in x25519_ecdh()
63 pub fn bytes_less_safe(&self) -> &[u8] { in bytes_less_safe() method
95 scalar_from_big_endian_bytes(ops, private_key.bytes_less_safe()).unwrap() in private_key_as_scalar()
148 self.private_key.bytes_less_safe() in bytes()
90 private_key.bytes_less_safe(), in generate_pkcs8()360 ctx.update(seed.bytes_less_safe()); in new()