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