HomeSort by relevance Sort by last modified time
    Searched refs:secure_key (Results 1 - 4 of 4) sorted by null

  /system/keymaster/km_openssl/
wrapped_key.cpp 43 const KeymasterKeyBlob& secure_key, const KeymasterBlob& tag,
52 !ASN1_OCTET_STRING_set(wrapped_key->secure_key, secure_key.key_material,
53 secure_key.key_material_size) ||
83 KeymasterKeyBlob* transit_key, KeymasterKeyBlob* secure_key,
87 if (!iv || !transit_key || !secure_key || !tag || !auth_list || !key_format ||
107 *secure_key = KeymasterKeyBlob(record->secure_key->data, record->secure_key->length);
108 if (record->secure_key->data && !secure_key->key_material)
    [all...]
  /system/keymaster/include/keymaster/
wrapped_key.h 43 ASN1_OCTET_STRING* secure_key; member in struct:keymaster::km_wrapped_key
52 ASN1_SIMPLE(KM_WRAPPED_KEY, secure_key, ASN1_OCTET_STRING),
59 const KeymasterKeyBlob& secure_key, const KeymasterBlob& tag,
64 KeymasterKeyBlob* transit_key, KeymasterKeyBlob* secure_key,
  /system/keymaster/tests/
wrapped_key_test.cpp 74 KeymasterKeyBlob secure_key = {reinterpret_cast<const uint8_t*>(test_secure_key.c_str()), local
80 build_wrapped_key(tk, iv, KM_KEY_FORMAT_RAW, secure_key, tag, authorization_list, &asn1),
111 KeymasterKeyBlob secure_key; local
118 EXPECT_EQ(parse_wrapped_key(wrapped_key, &iv, &transit_key, &secure_key, &tag, &auth_list,
124 EXPECT_EQ(keyblob2string(secure_key), test_secure_key);
  /system/keymaster/contexts/
pure_soft_keymaster_context.cpp 274 KeymasterKeyBlob secure_key; local
277 error = parse_wrapped_key(wrapped_key_blob, &iv, &transit_key, &secure_key, &tag,
369 if (!plaintext.Reinitialize(secure_key.key_material_size + tag.data_length)) {
372 if (!encrypted_key.Reinitialize(secure_key.key_material_size + tag.data_length)) {
375 if (!encrypted_key.write(secure_key.key_material, secure_key.key_material_size)) {

Completed in 901 milliseconds