Home
last modified time | relevance | path

Searched refs:RsaExponent (Results 1 – 13 of 13) sorted by relevance

/system/keymint/common/src/crypto/
Drsa.rs3 use super::{KeyMaterial, KeySizeInBits, OpaqueOr, RsaExponent};
181 pub fn import_pkcs8_key(data: &[u8]) -> Result<(KeyMaterial, KeySizeInBits, RsaExponent), Error> { in import_pkcs8_key() argument
198 ) -> Result<(KeyMaterial, KeySizeInBits, RsaExponent), Error> { in import_pkcs1_key() argument
219 Ok((KeyMaterial::Rsa(key.into()), KeySizeInBits(key_size), RsaExponent(pub_exponent))) in import_pkcs1_key()
Dtraits.rs6 use kmr_wire::{keymint, keymint::Digest, KeySizeInBits, RsaExponent};
232 pub_exponent: RsaExponent, in generate_key() argument
243 ) -> Result<(KeyMaterial, KeySizeInBits, RsaExponent), Error> { in import_pkcs8_key() argument
564 _pub_exponent: RsaExponent, in generate_key() argument
/system/keymint/boringssl/src/
Drsa.rs13 use kmr_wire::{keymint, keymint::Digest, KeySizeInBits, RsaExponent};
17 const MIN_RSA_EXPONENT: RsaExponent = RsaExponent(3);
37 pub_exponent: RsaExponent, in generate_key() argument
/system/keymint/common/src/bin/
Dcddl-dump.rs19 show_schema::<kmr_wire::RsaExponent>(); in main()
Dkeyblob-cddl-dump.rs120 schema.add(kmr_wire::RsaExponent(65537)); in main()
/system/keymint/common/src/keyblob/
Dkeyblob.cddl87 [1342177480, RsaExponent], ; Tag_RsaPublicExponent
271 RsaExponent = int
/system/keymint/common/
Dgenerated.cddl3 RsaExponent = int
325 [1342177480, RsaExponent], ; Tag_RsaPublicExponent
/system/keymint/wire/src/
Dkeymint.rs16 cbor, cbor_type_error, try_from_n, vec_try, AsCborValue, CborError, KeySizeInBits, RsaExponent,
333 RsaPublicExponent(RsaExponent),
488 KeyParam::RsaPublicExponent(<RsaExponent>::from_cbor_value(raw)?) in from_cbor_value()
777 RsaExponent::cddl_ref(), in cddl_schema()
Dtypes.rs25 pub struct RsaExponent(pub u64); struct
/system/keymint/common/src/
Dcrypto.rs14 use kmr_wire::{cbor, cbor_type_error, AsCborValue, CborError, KeySizeInBits, RsaExponent};
56 Rsa(KeySizeInBits, RsaExponent),
/system/keymint/common/src/tag/
Dlegacy.rs12 KeySizeInBits, RsaExponent,
358 Tag::RsaPublicExponent => KeyParam::RsaPublicExponent(RsaExponent(consume_u64(data)?)), in deserialize()
/system/keymint/hal/src/
Dhal.rs26 use kmr_wire::{keymint::DateTime, keymint::KeyParam, KeySizeInBits, RsaExponent};
542 Some(KeyParam::RsaPublicExponent(RsaExponent(value_of!(val, LongInteger)? as u64))) in try_fromm()
/system/keymint/ta/src/
Dcert.rs23 KeySizeInBits, RsaExponent,
739 RsaExponent, in decode_value_from_bytes()