Home
last modified time | relevance | path

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

/aosp_15_r20/external/rust/android-crates-io/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.rs80 ) -> Result<(untrusted::Input<'a>, Option<untrusted::Input<'a>>), error::KeyRejected> { in unwrap_key()
98 ) -> Result<(untrusted::Input<'a>, Option<untrusted::Input<'a>>), error::KeyRejected> { in unwrap_key_()
113 ) -> Result<(untrusted::Input<'a>, Option<untrusted::Input<'a>>), error::KeyRejected> { in unwrap_key__()
/aosp_15_r20/external/rust/android-crates-io/crates/ring/src/ec/curve25519/ed25519/
Dsigning.rs80 pub fn from_pkcs8(pkcs8: &[u8]) -> Result<Self, error::KeyRejected> { in from_pkcs8()
110 pub fn from_pkcs8_maybe_unchecked(pkcs8: &[u8]) -> Result<Self, error::KeyRejected> { in from_pkcs8_maybe_unchecked()
138 ) -> Result<Self, error::KeyRejected> { in from_seed_and_public_key()
165 pub fn from_seed_unchecked(seed: &[u8]) -> Result<Self, error::KeyRejected> { in from_seed_unchecked()
250 ) -> Result<(untrusted::Input, Option<untrusted::Input>), error::KeyRejected> { in unwrap_pkcs8()
/aosp_15_r20/external/rust/android-crates-io/crates/ring/src/rsa/
Dkeypair.rs97 pub fn from_pkcs8(pkcs8: &[u8]) -> Result<Self, KeyRejected> { in from_pkcs8() argument
125 pub fn from_der(input: &[u8]) -> Result<Self, KeyRejected> { in from_der() argument
136 fn from_der_reader(input: &mut untrusted::Reader) -> Result<Self, KeyRejected> { in from_der_reader() argument
145 ) -> Result<&'a [u8], KeyRejected> { in from_der_reader() argument
475 ) -> Result<Self, KeyRejected> { in new() argument
Dpublic_modulus.rs23 ) -> Result<Self, error::KeyRejected> { in from_be_bytes()
Dpublic_exponent.rs32 ) -> Result<Self, error::KeyRejected> { in from_be_bytes()
Dpublic_key.rs42 ) -> Result<Self, error::KeyRejected> { in from_modulus_and_exponent()
/aosp_15_r20/external/rust/android-crates-io/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()
/aosp_15_r20/external/rust/android-crates-io/crates/ring/src/arithmetic/bigint/
Dmodulus.rs111 ) -> Result<(Self, bits::BitLength), error::KeyRejected> { in from_be_bytes_with_bit_length()
119 ) -> Result<(Self, bits::BitLength), error::KeyRejected> { in from_nonnegative_with_bit_length()
141 ) -> Result<(Self, bits::BitLength), error::KeyRejected> { in from_boxed_limbs()
Dboxed_limbs.rs72 ) -> Result<Self, error::KeyRejected> { in positive_minimal_width_from_be_bytes()
/aosp_15_r20/external/rust/android-crates-io/crates/ring/src/ec/suite_b/ecdsa/
Dsigning.rs109 ) -> Result<Self, error::KeyRejected> { in from_pkcs8()
140 ) -> Result<Self, error::KeyRejected> { in from_private_key_and_public_key()
154 ) -> Result<Self, error::KeyRejected> { in new()
347 ) -> Result<Self, error::KeyRejected> { in new()
/aosp_15_r20/external/rust/android-crates-io/crates/ring/tests/
Ded25519_tests.rs141 f: impl Fn(&[u8]) -> Result<Ed25519KeyPair, error::KeyRejected>, in test_ed25519_from_pkcs8_()