| /system/keymint/common/src/crypto/ | 
| D | hmac.rs | 19 pub struct Key(pub Vec<u8>);  struct 41 impl Key {  impl 43     pub fn new(data: Vec<u8>) -> Key {  in new() 48     pub fn new_from(data: &[u8]) -> Result<Key, Error> {  in new_from()
  | 
| D | des.rs | 27 pub struct Key(pub [u8; KEY_SIZE_BYTES]);  struct 29 impl Key {  impl 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()
  | 
| D | aes.rs | 27 pub enum Key {  enum 33 impl Key {  implementation
  | 
| D | traits.rs | 127         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 …] 
 | 
| D | rsa.rs | 50 pub struct Key(pub Vec<u8>);  struct 52 impl Key {  impl
  | 
| D | ec.rs | 235 pub enum Key {  enum 250 impl Key {  implementation
  | 
| /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 | 36                                                    UniquePtr<Key> /* attest_key */,  in GenerateKey() 69                                                  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 | 59     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/ | 
| D | rsa.rs | 71         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()
  | 
| D | aes_cmac.rs | 14         key: OpaqueOr<crypto::aes::Key>,  in begin()
  | 
| D | des.rs | 13         key: OpaqueOr<crypto::des::Key>,  in begin()
  | 
| /system/keymint/common/src/ | 
| D | keyblob.rs | 268     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()
  |