Lines Matching defs:Private
73 pub enum Private {} enum
138 unsafe impl HasPrivate for Private {} implementation
483 pub fn hmac(key: &[u8]) -> Result<PKey<Private>, ErrorStack> { in hmac()
505 pub fn cmac(cipher: &Cipher, key: &[u8]) -> Result<PKey<Private>, ErrorStack> { in cmac()
514 fn generate_eddsa(id: Id) -> Result<PKey<Private>, ErrorStack> { in generate_eddsa()
633 pub fn ec_gen(curve: &str) -> Result<PKey<Private>, ErrorStack> { in ec_gen()
676 pub fn private_key_from_pkcs8(der: &[u8]) -> Result<PKey<Private>, ErrorStack> { in private_key_from_pkcs8()
700 ) -> Result<PKey<Private>, ErrorStack> in private_key_from_pkcs8_callback()
728 ) -> Result<PKey<Private>, ErrorStack> { in private_key_from_pkcs8_passphrase()
751 ) -> Result<PKey<Private>, ErrorStack> { in private_key_from_raw_bytes()
1107 fn test_raw_public_key(gen: fn() -> Result<PKey<Private>, ErrorStack>, key_type: Id) { in test_raw_public_key()
1123 fn test_raw_private_key(gen: fn() -> Result<PKey<Private>, ErrorStack>, key_type: Id) { in test_raw_private_key()