Searched refs:wrapped_key_description (Results 1 – 4 of 4) sorted by relevance
/system/keymaster/km_openssl/ |
D | wrapped_key.cpp | 54 !ASN1_INTEGER_set(wrapped_key->wrapped_key_description->key_format, key_format)) { in build_wrapped_key() 58 auto err = build_auth_list(auth_set, wrapped_key->wrapped_key_description->auth_list); in build_wrapped_key() 85 KeymasterBlob* wrapped_key_description) { in parse_wrapped_key() argument 87 !wrapped_key_description) { in parse_wrapped_key() 117 int len = i2d_KM_WRAPPED_KEY_DESCRIPTION(record->wrapped_key_description, nullptr); in parse_wrapped_key() 121 if (!wrapped_key_description->Reset(len)) { in parse_wrapped_key() 124 uint8_t* p = wrapped_key_description->writable_data(); in parse_wrapped_key() 125 if (i2d_KM_WRAPPED_KEY_DESCRIPTION(record->wrapped_key_description, &p) < 0) { in parse_wrapped_key() 130 ASN1_INTEGER_get(record->wrapped_key_description->key_format)); in parse_wrapped_key() 131 return extract_auth_list(record->wrapped_key_description->auth_list, auth_list); in parse_wrapped_key()
|
/system/keymaster/include/keymaster/ |
D | wrapped_key.h | 42 KM_WRAPPED_KEY_DESCRIPTION* wrapped_key_description; member 51 ASN1_SIMPLE(KM_WRAPPED_KEY, wrapped_key_description, KM_WRAPPED_KEY_DESCRIPTION), 67 KeymasterBlob* wrapped_key_description);
|
/system/keymaster/tests/ |
D | wrapped_key_test.cpp | 84 KeymasterBlob wrapped_key_description; in TEST() local 90 &key_format, &wrapped_key_description), in TEST() 114 KeymasterBlob wrapped_key_description; in TEST() local 118 &key_format, &wrapped_key_description), in TEST()
|
/system/keymaster/contexts/ |
D | pure_soft_keymaster_context.cpp | 415 KeymasterBlob wrapped_key_description; in UnwrapKey() local 417 wrapped_key_params, wrapped_key_format, &wrapped_key_description); in UnwrapKey() 523 .Authorization(TAG_ASSOCIATED_DATA, wrapped_key_description.data, in UnwrapKey() 524 wrapped_key_description.data_length) in UnwrapKey()
|