Searched refs:AuthEncryptedBlobFormat (Results 1 – 5 of 5) sorted by relevance
/system/keymaster/include/keymaster/key_blob_utils/ |
D | auth_encrypted_key_blob.h | 33 enum AuthEncryptedBlobFormat : uint8_t { enum 70 AuthEncryptedBlobFormat format; 94 EncryptKey(const KeymasterKeyBlob& plaintext, AuthEncryptedBlobFormat format, 125 bool requiresSecureDeletion(const AuthEncryptedBlobFormat& fmt); 127 bool isVersionedFormat(const AuthEncryptedBlobFormat& fmt);
|
/system/keymint/common/src/keyblob/ |
D | legacy.rs | 22 pub enum AuthEncryptedBlobFormat { enum 30 impl AuthEncryptedBlobFormat { implementation 45 pub format: AuthEncryptedBlobFormat, 107 x if x == AuthEncryptedBlobFormat::AesOcb as u8 => AuthEncryptedBlobFormat::AesOcb, in deserialize() 108 x if x == AuthEncryptedBlobFormat::AesGcmWithSwEnforced as u8 => { in deserialize() 109 AuthEncryptedBlobFormat::AesGcmWithSwEnforced in deserialize() 111 x if x == AuthEncryptedBlobFormat::AesGcmWithSecureDeletion as u8 => { in deserialize() 112 AuthEncryptedBlobFormat::AesGcmWithSecureDeletion in deserialize() 114 x if x == AuthEncryptedBlobFormat::AesGcmWithSwEnforcedVersioned as u8 => { in deserialize() 115 AuthEncryptedBlobFormat::AesGcmWithSwEnforcedVersioned in deserialize() [all …]
|
/system/keymint/common/src/keyblob/legacy/ |
D | tests.rs | 91 format: AuthEncryptedBlobFormat::AesOcb, in test_serialize_encrypted_keyblob() 124 format: AuthEncryptedBlobFormat::AesGcmWithSwEnforced, in test_serialize_encrypted_keyblob() 159 format: AuthEncryptedBlobFormat::AesGcmWithSwEnforcedVersioned, in test_serialize_encrypted_keyblob()
|
/system/keymaster/key_blob_utils/ |
D | auth_encrypted_key_blob.cpp | 51 KmErrorOr<Buffer> BuildDerivationInfo(const AuthEncryptedBlobFormat format, // in BuildDerivationInfo() 92 KmErrorOr<Buffer> DeriveAesGcmKeyEncryptionKey(const AuthEncryptedBlobFormat format, // in DeriveAesGcmKeyEncryptionKey() 130 const AuthEncryptedBlobFormat format, // in AesGcmEncryptKey() 252 retval.encrypted_key.format = static_cast<AuthEncryptedBlobFormat>(*(*buf_ptr)++); in DeserializeAuthEncryptedBlob() 303 EncryptKey(const KeymasterKeyBlob& plaintext, AuthEncryptedBlobFormat format, in EncryptKey() 361 bool requiresSecureDeletion(const AuthEncryptedBlobFormat& fmt) { in requiresSecureDeletion() 365 bool isVersionedFormat(const AuthEncryptedBlobFormat& fmt) { in isVersionedFormat()
|
/system/keymaster/tests/ |
D | key_blob_test.cpp | 45 class KeyBlobTest : public ::testing::TestWithParam<AuthEncryptedBlobFormat>, 73 keymaster_error_t Encrypt(AuthEncryptedBlobFormat format) { in Encrypt()
|