Lines Matching defs:Private
73 pub enum Private {} enum
130 unsafe impl HasPrivate for Private {} implementation
476 pub fn hmac(key: &[u8]) -> Result<PKey<Private>, ErrorStack> { in hmac()
498 pub fn cmac(cipher: &Cipher, key: &[u8]) -> Result<PKey<Private>, ErrorStack> { in cmac()
507 fn generate_eddsa(id: Id) -> Result<PKey<Private>, ErrorStack> { in generate_eddsa()
626 pub fn ec_gen(curve: &str) -> Result<PKey<Private>, ErrorStack> { in ec_gen()
669 pub fn private_key_from_pkcs8(der: &[u8]) -> Result<PKey<Private>, ErrorStack> { in private_key_from_pkcs8()
693 ) -> Result<PKey<Private>, ErrorStack> in private_key_from_pkcs8_callback()
721 ) -> Result<PKey<Private>, ErrorStack> { in private_key_from_pkcs8_passphrase()
744 ) -> Result<PKey<Private>, ErrorStack> { in private_key_from_raw_bytes()
1088 fn test_raw_public_key(gen: fn() -> Result<PKey<Private>, ErrorStack>, key_type: Id) { in test_raw_public_key()
1104 fn test_raw_private_key(gen: fn() -> Result<PKey<Private>, ErrorStack>, key_type: Id) { in test_raw_private_key()