| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) 2010 IBM Corporation |
|---|
| 3 | 4 | * Copyright (C) 2010 Politecnico di Torino, Italy |
|---|
| .. | .. |
|---|
| 6 | 7 | * Authors: |
|---|
| 7 | 8 | * Mimi Zohar <zohar@us.ibm.com> |
|---|
| 8 | 9 | * Roberto Sassu <roberto.sassu@polito.it> |
|---|
| 9 | | - * |
|---|
| 10 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 11 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 12 | | - * the Free Software Foundation, version 2 of the License. |
|---|
| 13 | 10 | */ |
|---|
| 14 | 11 | |
|---|
| 15 | 12 | #ifndef _KEYS_ENCRYPTED_TYPE_H |
|---|
| .. | .. |
|---|
| 30 | 27 | unsigned short payload_datalen; /* payload data length */ |
|---|
| 31 | 28 | unsigned short encrypted_key_format; /* encrypted key format */ |
|---|
| 32 | 29 | u8 *decrypted_data; /* decrypted data */ |
|---|
| 33 | | - u8 payload_data[0]; /* payload data + datablob + hmac */ |
|---|
| 30 | + u8 payload_data[]; /* payload data + datablob + hmac */ |
|---|
| 34 | 31 | }; |
|---|
| 35 | 32 | |
|---|
| 36 | 33 | extern struct key_type key_type_encrypted; |
|---|