HomeSort by relevance Sort by last modified time
    Searched refs:key_material (Results 26 - 46 of 46) sorted by null

12

  /system/keymaster/
ec_key_factory.cpp 82 KeymasterKeyBlob key_material;
83 keymaster_error_t error = EvpKeyToKeyMaterial(pkey.get(), &key_material);
87 return context_->CreateKeyBlob(authorizations, KM_ORIGIN_GENERATED, key_material, key_blob,
113 const KeymasterKeyBlob& key_material,
121 KeyMaterialToEvpKey(key_format, key_material, keymaster_key_type(), &pkey);
rsa_key_factory.cpp 90 KeymasterKeyBlob key_material;
91 keymaster_error_t error = EvpKeyToKeyMaterial(pkey.get(), &key_material);
95 return context_->CreateKeyBlob(authorizations, KM_ORIGIN_GENERATED, key_material, key_blob,
122 const KeymasterKeyBlob& key_material,
131 KeyMaterialToEvpKey(key_format, key_material, keymaster_key_type(), &pkey);
keymaster0_engine.h 48 KeymasterKeyBlob* key_material) const;
49 bool GenerateEcKey(uint32_t key_size, KeymasterKeyBlob* key_material) const;
android_keymaster.cpp 190 KeymasterKeyBlob key_material;
193 &key_material, &response->enforced, &response->unenforced);
335 KeymasterKeyBlob key_material; local
338 &key_material, &hw_enforced, &sw_enforced);
349 response->error = key_factory->LoadKey(key_material, hw_enforced, sw_enforced, &key);
373 keymaster_key_blob_t key_material = {request.key_data, request.key_data_length}; local
376 KeymasterKeyBlob(key_material), &key_blob,
400 KeymasterKeyBlob key_material; local
402 &key_material, hw_enforced, sw_enforced);
411 return (*factory)->LoadKey(key_material, *hw_enforced, *sw_enforced, key)
    [all...]
asymmetric_key.cpp 28 keymaster_error_t AsymmetricKey::key_material(UniquePtr<uint8_t[]>* material, size_t* size) const { function in class:keymaster::AsymmetricKey
openssl_utils.h 77 const KeymasterKeyBlob& key_material,
soft_keymaster_device.cpp 232 memcpy(*key_blob, rsp.key_blob.key_material, *key_blob_length);
273 memcpy(*key_blob, response.key_blob.key_material, *key_blob_length);
683 memcpy(tmp, response.key_blob.key_material, response.key_blob.key_material_size);
684 key_blob->key_material = tmp;
700 if (!dev || !key_blob || !key_blob->key_material)
745 key_blob->key_material = reinterpret_cast<uint8_t*>(malloc(key_blob->key_material_size));
746 if (!key_blob->key_material)
748 memcpy(const_cast<uint8_t*>(key_blob->key_material), response.key_blob.key_material,
766 if (!key_to_export || !key_to_export->key_material)
    [all...]
ocb_utils.cpp 103 AES_set_encrypt_key(master_key.key_material, master_key.key_material_size * 8, &aes_key))
140 int ae_err = ae_encrypt(ctx.get(), nonce.peek_read(), plaintext.key_material,
176 int ae_err = ae_decrypt(ctx.get(), nonce.peek_read(), ciphertext.key_material,
android_keymaster_test_utils.cpp 155 blob_.key_material = NULL;
157 blob_.key_material = 0;
183 const string& key_material) {
190 keymaster_blob_t key = {reinterpret_cast<const uint8_t*>(key_material.c_str()),
191 key_material.length()};
629 free(const_cast<uint8_t*>(blob_.key_material));
630 blob_.key_material = NULL;
634 assert(blob_.key_material);
635 uint8_t* tmp = const_cast<uint8_t*>(blob_.key_material);
android_keymaster_messages_test.cpp 143 rsp.key_blob.key_material = dup_array(TEST_DATA);
158 rsp.key_blob.key_material = dup_array(TEST_DATA);
179 EXPECT_EQ(0, memcmp(deserialized->key_blob.key_material, "foo", 3));
206 EXPECT_EQ(0, memcmp(deserialized->key_blob.key_material, "foo", 3));
400 EXPECT_EQ(0, memcmp(msg.key_blob.key_material, deserialized->key_blob.key_material,
418 EXPECT_EQ(0, memcmp("foo", deserialized->key_blob.key_material, 3));
441 EXPECT_EQ(0, memcmp("foo", deserialized->key_blob.key_material, 3));
key_blob_test.cpp 332 EXPECT_NE(nullptr, key_blob.key_material);
349 EXPECT_EQ(nullptr, key_blob.key_material);
android_keymaster_test_utils.h 179 keymaster_key_format_t format, const std::string& key_material);
295 blob_.key_material = key;
keymaster_enforcement.cpp 385 EVP_DigestUpdate(ctx.get(), key_blob.key_material, key_blob.key_material_size) &&
  /system/keymaster/include/keymaster/
key_factory.h 51 virtual keymaster_error_t LoadKey(const KeymasterKeyBlob& key_material,
ec_key_factory.h 49 const KeymasterKeyBlob& key_material,
  /external/boringssl/src/include/openssl/
ssl2.h 200 unsigned char key_material[SSL2_MAX_KEY_MATERIAL_LENGTH*2]; member in struct:ssl2_state_st
  /external/wpa_supplicant_8/src/tls/
tlsv1_common.h 228 size_t key_material; member in struct:tls_cipher_data
tlsv1_record.c 59 rl->key_material_len = data->key_material;
  /hardware/libhardware/include/hardware/
keymaster_defs.h 262 const uint8_t* key_material; member in struct:__anon24885
  /system/security/keystore/
keystore.cpp     [all...]
  /system/vold/
cryptfs.c 232 key = (uint8_t*)key_blob.key_material;
    [all...]

Completed in 1260 milliseconds

12