Home
last modified time | relevance | path

Searched refs:invalid_encoding (Results 1 – 6 of 6) sorted by relevance

/external/rust/crates/ring/src/
Dpkcs8.rs93 input.read_all(error::KeyRejected::invalid_encoding(), |input| { in unwrap_key_()
97 error::KeyRejected::invalid_encoding(), in unwrap_key_()
109 .map_err(|error::Unspecified| error::KeyRejected::invalid_encoding())?; in unwrap_key__()
121 .map_err(|error::Unspecified| error::KeyRejected::invalid_encoding())?; in unwrap_key__()
136 .map_err(|error::Unspecified| error::KeyRejected::invalid_encoding())?; in unwrap_key__()
141 .map_err(|error::Unspecified| error::KeyRejected::invalid_encoding())?; in unwrap_key__()
154 .map_err(|error::Unspecified| error::KeyRejected::invalid_encoding())?; in unwrap_key__()
Derror.rs164 pub(crate) fn invalid_encoding() -> Self { in invalid_encoding() method
/external/rust/crates/ring/src/ec/
Dsuite_b.rs164 ec_private_key.read_all(error::KeyRejected::invalid_encoding(), |input| { in key_pair_from_pkcs8()
169 error::KeyRejected::invalid_encoding(), in key_pair_from_pkcs8()
181 .map_err(|error::Unspecified| error::KeyRejected::invalid_encoding())?; in key_pair_from_pkcs8_()
187 .map_err(|error::Unspecified| error::KeyRejected::invalid_encoding())?; in key_pair_from_pkcs8_()
193 .map_err(|error::Unspecified| error::KeyRejected::invalid_encoding())?; in key_pair_from_pkcs8_()
207 .map_err(|error::Unspecified| error::KeyRejected::invalid_encoding())?; in key_pair_from_pkcs8_()
/external/rust/crates/ring/src/rsa/
Dsigning.rs165 untrusted::Input::from(input).read_all(KeyRejected::invalid_encoding(), |input| { in from_der()
169 error::KeyRejected::invalid_encoding(), in from_der()
177 .map_err(|error::Unspecified| KeyRejected::invalid_encoding())?; in from_der_reader()
186 .map_err(|error::Unspecified| KeyRejected::invalid_encoding()) in from_der_reader()
199 .map_err(|error::Unspecified| KeyRejected::invalid_encoding())?; in from_der_reader()
201 .map_err(|error::Unspecified| KeyRejected::invalid_encoding())?; in from_der_reader()
316 .map_err(|_| error::KeyRejected::invalid_encoding())?; in from_der_reader()
/external/rust/crates/ring/src/ec/curve25519/ed25519/
Dsigning.rs133 error::KeyRejected::invalid_encoding() in from_seed_and_public_key()
155 .map_err(|_| error::KeyRejected::invalid_encoding())?; in from_seed_unchecked()
249 .map_err(|error::Unspecified| error::KeyRejected::invalid_encoding())?; in unwrap_pkcs8()
/external/rust/crates/ring/src/arithmetic/
Dbigint.rs100 return Err(error::KeyRejected::invalid_encoding()); in positive_minimal_width_from_be_bytes()
667 let value = input.read_all(error::KeyRejected::invalid_encoding(), |input| { in from_be_bytes()
671 return Err(error::KeyRejected::invalid_encoding()); in from_be_bytes()
677 .map_err(|untrusted::EndOfInput| error::KeyRejected::invalid_encoding())?; in from_be_bytes()