Home
last modified time | relevance | path

Searched defs:key_blob (Results 1 – 25 of 27) sorted by relevance

12

/system/security/keystore/
Dkeyblob_utils.cpp49 uint8_t* add_softkey_header(uint8_t* key_blob, size_t key_blob_length) { in add_softkey_header()
59 bool is_softkey(const uint8_t* key_blob, const size_t key_blob_length) { in is_softkey()
Dlegacy_keymaster_device_wrapper.cpp223 keymaster_key_blob_t key_blob{nullptr, 0}; in generateKey() local
288 keymaster_key_blob_t key_blob{nullptr, 0}; in importKey() local
402 keymaster_key_blob_t key_blob = {}; in upgradeKey() local
Dkeymaster_enforcement.cpp375 std::optional<km_id_t> KeymasterEnforcement::CreateKeyId(const hidl_vec<uint8_t>& key_blob) { in CreateKeyId()
/system/keymaster/key_blob_utils/
Dauth_encrypted_key_blob.cpp34 KeymasterKeyBlob* key_blob) { in SerializeAuthEncryptedBlob()
57 static keymaster_error_t DeserializeUnversionedBlob(const KeymasterKeyBlob& key_blob, in DeserializeUnversionedBlob()
82 keymaster_error_t DeserializeAuthEncryptedBlob(const KeymasterKeyBlob& key_blob, in DeserializeAuthEncryptedBlob()
Dintegrity_assured_key_blob.cpp82 KeymasterKeyBlob* key_blob) { in SerializeIntegrityAssuredBlob()
101 keymaster_error_t DeserializeIntegrityAssuredBlob(const KeymasterKeyBlob& key_blob, in DeserializeIntegrityAssuredBlob()
125 keymaster_error_t DeserializeIntegrityAssuredBlob_NoHmacCheck(const KeymasterKeyBlob& key_blob, in DeserializeIntegrityAssuredBlob_NoHmacCheck()
/system/keymaster/legacy_support/
Dkeymaster0_engine.cpp86 uint8_t* key_blob = nullptr; in GenerateRsaKey() local
102 uint8_t* key_blob = nullptr; in GenerateEcKey() local
120 uint8_t* key_blob = nullptr; in ImportKey() local
301 const keymaster_key_blob_t* key_blob = RsaKeyToBlob(rsa); in RsaPrivateTransform() local
345 const keymaster_key_blob_t* key_blob = EcKeyToBlob(ec_key); in EcdsaSign() local
Dec_keymaster0_key.cpp37 KeymasterKeyBlob* key_blob, in GenerateKey()
Drsa_keymaster0_key.cpp37 KeymasterKeyBlob* key_blob, in GenerateKey()
Dkeymaster_passthrough_engine.cpp213 KeymasterKeyBlob* key_blob, in GenerateKey()
236 KeymasterKeyBlob* key_blob, in GenerateKey()
Drsa_keymaster1_key.cpp83 KeymasterKeyBlob* key_blob, in GenerateKey()
Dec_keymaster1_key.cpp65 KeymasterKeyBlob* key_blob, in GenerateKey()
Dkeymaster1_legacy_support.cpp229 KeymasterKeyBlob* key_blob, AuthorizationSet* hw_enforced, in GenerateKey()
/system/keymaster/tests/
Dkey_blob_test.cpp307 KeymasterKeyBlob key_blob(blob); in TEST_F() local
331 KeymasterKeyBlob key_blob(blob); in TEST_F() local
348 KeymasterKeyBlob key_blob(blob); in TEST_F() local
/system/keymaster/android_keymaster/
Dandroid_keymaster.cpp232 KeymasterKeyBlob key_blob; in GenerateKey() local
446 KeymasterKeyBlob key_blob; in ImportKey() local
477 keymaster_error_t AndroidKeymaster::LoadKey(const keymaster_key_blob_t& key_blob, in LoadKey()
526 KeymasterKeyBlob key_blob; in ImportWrappedKey() local
Dandroid_keymaster_messages.cpp26 static void set_key_blob(keymaster_key_blob_t* key_blob, const void* key_material, size_t length) { in set_key_blob()
32 static size_t key_blob_size(const keymaster_key_blob_t& key_blob) { in key_blob_size()
36 static uint8_t* serialize_key_blob(const keymaster_key_blob_t& key_blob, uint8_t* buf, in serialize_key_blob()
41 static bool deserialize_key_blob(keymaster_key_blob_t* key_blob, const uint8_t** buf_ptr, in deserialize_key_blob()
/system/keymaster/km_openssl/
Dsymmetric_key.cpp34 KeymasterKeyBlob* key_blob, in GenerateKey()
Dopenssl_utils.cpp112 keymaster_error_t EvpKeyToKeyMaterial(const EVP_PKEY* pkey, KeymasterKeyBlob* key_blob) { in EvpKeyToKeyMaterial()
Drsa_key_factory.cpp53 KeymasterKeyBlob* key_blob, in GenerateKey()
Dec_key_factory.cpp75 KeymasterKeyBlob* key_blob, in GenerateKey()
Dsoft_keymaster_enforcement.cpp62 bool SoftKeymasterEnforcement::CreateKeyId(const keymaster_key_blob_t& key_blob, in CreateKeyId()
/system/keymaster/include/keymaster/legacy_support/
Dkeymaster_passthrough_key.h44 KeymasterKeyBlob* key_blob, AuthorizationSet* hw_enforced, in GenerateKey()
Dkeymaster1_legacy_support.h72 KeymasterKeyBlob* key_blob, AuthorizationSet* hw_enforced, in GenerateKey()
/system/keymaster/include/keymaster/
Dandroid_keymaster_messages.h294 keymaster_key_blob_t key_blob; member
316 keymaster_key_blob_t key_blob; member
348 keymaster_key_blob_t key_blob; member
496 keymaster_key_blob_t key_blob; member
519 keymaster_key_blob_t key_blob; member
556 keymaster_key_blob_t key_blob; member
620 keymaster_key_blob_t key_blob; member
655 keymaster_key_blob_t key_blob; member
816 KeymasterKeyBlob key_blob; member
/system/keymaster/contexts/
Dsoft_keymaster_device.cpp741 keymaster_key_blob_t* key_blob, keymaster_key_characteristics_t** characteristics) { in generate_key()
787 keymaster_key_blob_t* key_blob, in generate_key()
861 const keymaster1_device_t* dev, const keymaster_key_blob_t* key_blob, in get_key_characteristics()
905 const keymaster2_device_t* dev, const keymaster_key_blob_t* key_blob, in get_key_characteristics()
938 keymaster_key_blob_t* key_blob, keymaster_key_characteristics_t** characteristics) { in import_key()
985 keymaster_key_blob_t* key_blob, keymaster_key_characteristics_t* characteristics) { in import_key()
/system/vold/
DKeymaster.cpp306 uint32_t ratelimit, const uint8_t* key_blob, in keymaster_upgrade_key_for_cryptfs_scrypt()
326 const uint8_t* key_blob, size_t key_blob_size, uint32_t ratelimit, const uint8_t* object, in keymaster_sign_object_for_cryptfs_scrypt()

12