Home
last modified time | relevance | path

Searched defs:KeyRejected (Results 1 – 8 of 8) sorted by relevance

/external/rust/crates/ring/src/
Derror.rs147 pub struct KeyRejected(&'static str); struct
149 impl KeyRejected { implementation
206 impl std::error::Error for KeyRejected { implementation
216 impl core::fmt::Display for KeyRejected { implementation
Dpkcs8.rs74 ) -> Result<(untrusted::Input<'a>, Option<untrusted::Input<'a>>), error::KeyRejected> { in unwrap_key()
92 ) -> Result<(untrusted::Input<'a>, Option<untrusted::Input<'a>>), error::KeyRejected> { in unwrap_key_()
107 ) -> Result<(untrusted::Input<'a>, Option<untrusted::Input<'a>>), error::KeyRejected> { in unwrap_key__()
/external/rust/crates/ring/src/ec/curve25519/ed25519/
Dsigning.rs76 pub fn from_pkcs8(pkcs8: &[u8]) -> Result<Self, error::KeyRejected> { in from_pkcs8()
99 pub fn from_pkcs8_maybe_unchecked(pkcs8: &[u8]) -> Result<Self, error::KeyRejected> { in from_pkcs8_maybe_unchecked()
125 ) -> Result<Self, error::KeyRejected> { in from_seed_and_public_key()
152 pub fn from_seed_unchecked(seed: &[u8]) -> Result<Self, error::KeyRejected> { in from_seed_unchecked()
243 ) -> Result<(untrusted::Input, Option<untrusted::Input>), error::KeyRejected> { in unwrap_pkcs8()
/external/rust/crates/ring/src/ec/
Dsuite_b.rs161 ) -> Result<ec::KeyPair, error::KeyRejected> { in key_pair_from_pkcs8()
179 ) -> Result<(untrusted::Input<'a>, untrusted::Input<'a>), error::KeyRejected> { in key_pair_from_pkcs8_()
217 ) -> Result<ec::KeyPair, error::KeyRejected> { in key_pair_from_bytes()
/external/rust/crates/ring/src/rsa/
Dsigning.rs139 pub fn from_pkcs8(pkcs8: &[u8]) -> Result<Self, KeyRejected> { in from_pkcs8() argument
164 pub fn from_der(input: &[u8]) -> Result<Self, KeyRejected> { in from_der() argument
175 fn from_der_reader(input: &mut untrusted::Reader) -> Result<Self, KeyRejected> { in from_der_reader() argument
184 ) -> Result<io::Positive<'a>, KeyRejected> { in from_der_reader() argument
442 fn new(p: bigint::Nonnegative, dP: untrusted::Input) -> Result<Self, KeyRejected> { in new() argument
Dverification.rs39 ) -> Result<Self, error::KeyRejected> { in from_modulus_and_exponent()
/external/rust/crates/ring/src/ec/suite_b/ecdsa/
Dsigning.rs108 ) -> Result<Self, error::KeyRejected> { in from_pkcs8()
139 ) -> Result<Self, error::KeyRejected> { in from_private_key_and_public_key()
154 ) -> Result<Self, error::KeyRejected> { in new()
348 ) -> Result<Self, error::KeyRejected> { in new()
/external/rust/crates/ring/src/arithmetic/
Dbigint.rs96 ) -> Result<Self, error::KeyRejected> { in positive_minimal_width_from_be_bytes()
235 ) -> Result<(Self, bits::BitLength), error::KeyRejected> { in from_be_bytes_with_bit_length()
242 ) -> Result<(Self, bits::BitLength), error::KeyRejected> { in from_nonnegative_with_bit_length()
250 fn from_boxed_limbs(n: BoxedLimbs<M>) -> Result<(Self, bits::BitLength), error::KeyRejected> { in from_boxed_limbs()
446 pub fn into_modulus<MM>(self) -> Result<Modulus<MM>, error::KeyRejected> { in into_modulus()
663 ) -> Result<Self, error::KeyRejected> { in from_be_bytes()