Lines Matching refs:record
93 UniquePtr<KM_WRAPPED_KEY, KM_WRAPPED_KEY_Delete> record( in parse_wrapped_key() local
95 if (!record.get()) return TranslateLastOpenSslError(); in parse_wrapped_key()
97 *iv = KeymasterBlob(record->iv->data, record->iv->length); in parse_wrapped_key()
98 if (record->iv->data && !iv->data) { in parse_wrapped_key()
102 *transit_key = KeymasterKeyBlob(record->transit_key->data, record->transit_key->length); in parse_wrapped_key()
103 if (record->transit_key->data && !transit_key->key_material) { in parse_wrapped_key()
107 *secure_key = KeymasterKeyBlob(record->secure_key->data, record->secure_key->length); in parse_wrapped_key()
108 if (record->secure_key->data && !secure_key->key_material) { in parse_wrapped_key()
112 *tag = KeymasterBlob(record->tag->data, record->tag->length); in parse_wrapped_key()
113 if (record->tag->data && !tag->data) { in parse_wrapped_key()
118 int len = i2d_KM_WRAPPED_KEY_DESCRIPTION(record->wrapped_key_description, nullptr); in parse_wrapped_key()
126 if (i2d_KM_WRAPPED_KEY_DESCRIPTION(record->wrapped_key_description, &p) < 0) { in parse_wrapped_key()
131 ASN1_INTEGER_get(record->wrapped_key_description->key_format)); in parse_wrapped_key()
132 return extract_auth_list(record->wrapped_key_description->auth_list, auth_list); in parse_wrapped_key()