Home
last modified time | relevance | path

Searched defs:Key (Results 1 – 25 of 39) sorted by relevance

12

/system/keymint/common/src/crypto/
Dhmac.rs19 pub struct Key(pub Vec<u8>); struct
41 impl Key { implementation
43 pub fn new(data: Vec<u8>) -> Key { in new()
48 pub fn new_from(data: &[u8]) -> Result<Key, Error> { in new_from()
Ddes.rs27 pub struct Key(pub [u8; KEY_SIZE_BYTES]); struct
29 impl Key { implementation
31 pub fn new(data: Vec<u8>) -> Result<Key, Error> { in new()
37 pub fn new_from(data: &[u8]) -> Result<Key, Error> { in new_from()
Daes.rs27 pub enum Key { enum
33 impl Key { implementation
Dtraits.rs127 key: OpaqueOr<aes::Key>, in begin()
135 key: OpaqueOr<aes::Key>, in begin_aead()
169 key: OpaqueOr<des::Key>, in begin()
211 key: OpaqueOr<hmac::Key>, in begin()
264 key: OpaqueOr<rsa::Key>, in begin_decrypt()
274 key: OpaqueOr<rsa::Key>, in begin_sign()
385 key: OpaqueOr<ec::Key>, in begin_sign()
430 fn extract(&self, salt: &[u8], ikm: &[u8]) -> Result<OpaqueOr<hmac::Key>, Error>; in extract()
434 prk: &OpaqueOr<hmac::Key>, in expand()
448 key: &OpaqueOr<aes::Key>, in ckdf()
[all …]
Drsa.rs50 pub struct Key(pub Vec<u8>); struct
52 impl Key { implementation
Dec.rs235 pub enum Key { enum
250 impl Key { impl
/system/keymaster/include/keymaster/key_blob_utils/
Dsoftware_keyblobs.h32 class Key; variable
/system/keymaster/include/keymaster/
Dkey_factory.h24 class Key; variable
Dandroid_keymaster.h25 class Key; variable
Dattestation_context.h24 class Key; variable
Dkey.h69 Key(AuthorizationSet&& hw_enforced, AuthorizationSet&& sw_enforced, in Key() function
/system/keymaster/include/keymaster/legacy_support/
Dkeymaster_passthrough_key.h46 UniquePtr<Key> /* attest_key */, in GenerateKey()
57 UniquePtr<Key> /* attest_key */, in ImportKey()
/system/keymaster/km_openssl/
Dsymmetric_key.cpp36 UniquePtr<Key> /* attest_key */, in GenerateKey()
69 UniquePtr<Key> /* attest_key */, in ImportKey()
/system/keymaster/include/keymaster/contexts/
Dkeymaster2_passthrough_context.h110 CertificateChain GenerateSelfSignedCertificate(const Key& /* key */, in GenerateSelfSignedCertificate()
Dkeymaster1_passthrough_context.h116 CertificateChain GenerateSelfSignedCertificate(const Key& /* key */, in GenerateSelfSignedCertificate()
Dsoft_keymaster_context.h37 class Key; variable
Dpure_soft_keymaster_context.h39 class Key; variable
/system/keymaster/include/keymaster/km_openssl/
Dattestation_utils.h34 class Key; variable
/system/keymaster/legacy_support/
Drsa_keymaster1_key.cpp87 UniquePtr<Key> /* attest_key */, in GenerateKey()
102 UniquePtr<Key> /* attest_key */, in ImportKey()
Dec_keymaster1_key.cpp67 UniquePtr<Key> /* attest_key */, in GenerateKey()
91 UniquePtr<Key> /* attest_key */, // in ImportKey()
/system/keymint/ta/src/
Ddevice.rs59 fn root_kek(&self, context: &[u8]) -> Result<OpaqueOr<hmac::Key>, Error>; in root_kek()
69 fn kak(&self) -> Result<OpaqueOr<aes::Key>, Error>; in kak()
78 fn unique_id_hbk(&self, ckdf: &dyn crypto::Ckdf) -> Result<crypto::hmac::Key, Error> { in unique_id_hbk()
98 fn get_hmac_key(&self) -> Option<crypto::hmac::Key> { in get_hmac_key()
318 fn root_kek(&self, _context: &[u8]) -> Result<OpaqueOr<hmac::Key>, Error> { in root_kek()
322 fn kak(&self) -> Result<OpaqueOr<aes::Key>, Error> { in kak()
/system/keymint/boringssl/src/
Drsa.rs71 key: OpaqueOr<crypto::rsa::Key>, in begin_decrypt()
81 key: OpaqueOr<crypto::rsa::Key>, in begin_sign()
193 key: crypto::rsa::Key, in new()
277 fn new(key: crypto::rsa::Key, mode: SignMode) -> Result<Self, Error> { in new()
Daes_cmac.rs14 key: OpaqueOr<crypto::aes::Key>, in begin()
Ddes.rs13 key: OpaqueOr<crypto::des::Key>, in begin()
/system/keymint/common/src/
Dkeyblob.rs268 root_key: &crypto::OpaqueOr<crypto::hmac::Key>, in derive_kek()
273 ) -> Result<crypto::aes::Key, Error> {
321 root_key: &crypto::OpaqueOr<crypto::hmac::Key>, in encrypt()
396 root_key: &crypto::OpaqueOr<crypto::hmac::Key>, in decrypt()

12