crypto: Use proper form for making a structure packed
This commit is contained in:
parent
f25b1442ff
commit
78d21c782c
|
@ -35,7 +35,7 @@ struct crypto_ptk {
|
||||||
uint8_t kck[16];
|
uint8_t kck[16];
|
||||||
uint8_t kek[16];
|
uint8_t kek[16];
|
||||||
uint8_t tk[0];
|
uint8_t tk[0];
|
||||||
} __attribute((packed))__;
|
} __attribute__ ((packed));
|
||||||
|
|
||||||
int crypto_cipher_key_len(enum crypto_cipher cipher);
|
int crypto_cipher_key_len(enum crypto_cipher cipher);
|
||||||
int crypto_cipher_tk_bits(enum crypto_cipher cipher);
|
int crypto_cipher_tk_bits(enum crypto_cipher cipher);
|
||||||
|
|
Loading…
Reference in New Issue