/system/keymint/common/src/crypto/ |
D | hmac.rs | 33 pub struct Key(pub Vec<u8>); struct 55 impl Key { impl 57 pub fn new(data: Vec<u8>) -> Key { in new() 62 pub fn new_from(data: &[u8]) -> Result<Key, Error> { in new_from()
|
D | des.rs | 41 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()
|
D | aes.rs | 44 pub enum Key { enum 53 impl Key { implementation
|
D | traits.rs | 144 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 …]
|
D | rsa.rs | 64 pub struct Key(pub Vec<u8>); struct 66 impl Key { impl
|
/system/keymaster/include/keymaster/key_blob_utils/ |
D | software_keyblobs.h | 32 class Key; variable
|
/system/keymaster/include/keymaster/ |
D | key_factory.h | 24 class Key; variable
|
D | android_keymaster.h | 25 class Key; variable
|
D | attestation_context.h | 24 class Key; variable
|
D | key.h | 69 Key(AuthorizationSet&& hw_enforced, AuthorizationSet&& sw_enforced, in Key() function
|
/system/keymaster/include/keymaster/legacy_support/ |
D | keymaster_passthrough_key.h | 46 UniquePtr<Key> /* attest_key */, in GenerateKey() 57 UniquePtr<Key> /* attest_key */, in ImportKey()
|
/system/keymaster/km_openssl/ |
D | symmetric_key.cpp | 37 UniquePtr<Key> /* attest_key */, in GenerateKey() 70 UniquePtr<Key> /* attest_key */, in ImportKey()
|
/system/keymaster/include/keymaster/contexts/ |
D | keymaster2_passthrough_context.h | 110 CertificateChain GenerateSelfSignedCertificate(const Key& /* key */, in GenerateSelfSignedCertificate()
|
D | keymaster1_passthrough_context.h | 116 CertificateChain GenerateSelfSignedCertificate(const Key& /* key */, in GenerateSelfSignedCertificate()
|
D | soft_keymaster_context.h | 37 class Key; variable
|
D | pure_soft_keymaster_context.h | 39 class Key; variable
|
/system/keymaster/include/keymaster/km_openssl/ |
D | attestation_utils.h | 34 class Key; variable
|
/system/keymaster/legacy_support/ |
D | rsa_keymaster1_key.cpp | 87 UniquePtr<Key> /* attest_key */, in GenerateKey() 102 UniquePtr<Key> /* attest_key */, in ImportKey()
|
D | ec_keymaster1_key.cpp | 67 UniquePtr<Key> /* attest_key */, in GenerateKey() 91 UniquePtr<Key> /* attest_key */, // in ImportKey()
|
/system/keymint/ta/src/ |
D | device.rs | 73 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/ |
D | lib.rs | 92 impl Fromm<wire::Key> for Key { implementation 124 impl TryFromm<Key> for wire::Key { implementation
|
/system/keymint/boringssl/src/ |
D | rsa.rs | 87 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()
|
D | aes_cmac.rs | 30 key: OpaqueOr<crypto::aes::Key>, in begin()
|
D | des.rs | 28 key: OpaqueOr<crypto::des::Key>, in begin()
|
/system/keymint/common/src/ |
D | keyblob.rs | 292 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()
|