Home
last modified time | relevance | path

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

12

/system/keymint/common/src/crypto/
Dhmac.rs33 pub struct Key(pub Vec<u8>); struct
55 impl Key { implementation
57 pub fn new(data: Vec<u8>) -> Key { in new()
62 pub fn new_from(data: &[u8]) -> Result<Key, Error> { in new_from()
Ddes.rs41 pub struct Key(pub [u8; KEY_SIZE_BYTES]); struct
43 impl Key { implementation
45 pub fn new(data: Vec<u8>) -> Result<Key, Error> { in new()
51 pub fn new_from(data: &[u8]) -> Result<Key, Error> { in new_from()
Daes.rs44 pub enum Key { enum
53 impl Key { implementation
Dtraits.rs144 key: OpaqueOr<aes::Key>, in begin()
152 key: OpaqueOr<aes::Key>, in begin_aead()
186 key: OpaqueOr<des::Key>, in begin()
228 key: OpaqueOr<hmac::Key>, in begin()
281 key: OpaqueOr<rsa::Key>, in begin_decrypt()
291 key: OpaqueOr<rsa::Key>, in begin_sign()
403 key: OpaqueOr<ec::Key>, in begin_sign()
450 fn extract(&self, salt: &[u8], ikm: &[u8]) -> Result<OpaqueOr<hmac::Key>, Error>; in extract()
455 prk: &OpaqueOr<hmac::Key>, in expand()
470 key: &OpaqueOr<aes::Key>, in ckdf()
[all …]
Drsa.rs64 pub struct Key(pub Vec<u8>); struct
66 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.cpp37 UniquePtr<Key> /* attest_key */, in GenerateKey()
70 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.rs73 fn root_kek(&self, context: &[u8]) -> Result<OpaqueOr<hmac::Key>, Error>; in root_kek()
83 fn kak(&self) -> Result<OpaqueOr<aes::Key>, Error>; in kak()
92 fn unique_id_hbk(&self, ckdf: &dyn crypto::Ckdf) -> Result<crypto::hmac::Key, Error> { in unique_id_hbk()
112 fn get_hmac_key(&self) -> Option<crypto::hmac::Key> { in get_hmac_key()
353 fn root_kek(&self, _context: &[u8]) -> Result<OpaqueOr<hmac::Key>, Error> { in root_kek()
357 fn kak(&self) -> Result<OpaqueOr<aes::Key>, Error> { in kak()
/system/authgraph/hal/src/
Dlib.rs92 impl Fromm<wire::Key> for Key { implementation
124 impl TryFromm<Key> for wire::Key { implementation
/system/keymint/boringssl/src/
Drsa.rs87 key: OpaqueOr<crypto::rsa::Key>, in begin_decrypt()
97 key: OpaqueOr<crypto::rsa::Key>, in begin_sign()
211 key: crypto::rsa::Key, in new()
298 fn new(key: crypto::rsa::Key, mode: SignMode) -> Result<Self, Error> { in new()
Daes_cmac.rs30 key: OpaqueOr<crypto::aes::Key>, in begin()
Ddes.rs28 key: OpaqueOr<crypto::des::Key>, in begin()
/system/keymint/common/src/
Dkeyblob.rs292 root_key: &crypto::OpaqueOr<crypto::hmac::Key>, in derive_kek()
297 ) -> Result<crypto::aes::Key, Error> {
345 root_key: &crypto::OpaqueOr<crypto::hmac::Key>, in encrypt()
420 root_key: &crypto::OpaqueOr<crypto::hmac::Key>, in decrypt()

12