Home
last modified time | relevance | path

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

/external/rust/crates/ring/src/
Derror.rs132 pub struct KeyRejected(&'static str); struct
134 impl KeyRejected { implementation
186 impl std::error::Error for KeyRejected {} implementation
188 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/rsa/keypair/
Dasn1.rs108 pub fn from_pkcs8(pkcs8: &[u8]) -> Result<Self, KeyRejected> { in from_pkcs8() argument
133 pub fn from_der(input: &[u8]) -> Result<Self, KeyRejected> { in from_der() argument
144 fn from_der_reader(input: &mut untrusted::Reader) -> Result<Self, KeyRejected> { in from_der_reader() argument
153 ) -> Result<&'a [u8], KeyRejected> { in from_der_reader() argument
Dsigning.rs136 pub fn from_pkcs8(pkcs8: &[u8]) -> Result<Self, KeyRejected> { in from_pkcs8() argument
155 pub fn from_der(input: &[u8]) -> Result<Self, KeyRejected> { in from_der() argument
Dcore.rs300 fn new(p: bigint::Nonnegative, dP: untrusted::Input) -> Result<Self, KeyRejected> { in new() argument
/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/public/
Dkey.rs34 ) -> Result<Self, error::KeyRejected> { in from_modulus_and_exponent()
140 ) -> Result<Self, error::KeyRejected> { in new()
188 fn new(e: untrusted::Input, e_min_value: u64) -> Result<Self, error::KeyRejected> { in new()
/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.rs98 ) -> Result<Self, error::KeyRejected> { in positive_minimal_width_from_be_bytes()
262 ) -> Result<(Self, bits::BitLength), error::KeyRejected> { in from_be_bytes_with_bit_length()
269 ) -> Result<(Self, bits::BitLength), error::KeyRejected> { in from_nonnegative_with_bit_length()
277 fn from_boxed_limbs(n: BoxedLimbs<M>) -> Result<(Self, bits::BitLength), error::KeyRejected> { in from_boxed_limbs()
474 pub fn into_modulus<MM>(self) -> Result<Modulus<MM>, error::KeyRejected> { in into_modulus()
685 ) -> Result<Self, error::KeyRejected> { in from_be_bytes()