|
@@ -1,5 +1,5 @@
|
|
/*
|
|
/*
|
|
- * Copyright (c) 2017-2018 The Linux Foundation. All rights reserved.
|
|
|
|
|
|
+ * Copyright (c) 2017-2019 The Linux Foundation. All rights reserved.
|
|
*
|
|
*
|
|
* Permission to use, copy, modify, and/or distribute this software for
|
|
* Permission to use, copy, modify, and/or distribute this software for
|
|
* any purpose with or without fee is hereby granted, provided that the
|
|
* any purpose with or without fee is hereby granted, provided that the
|
|
@@ -32,7 +32,7 @@
|
|
#define PMO_GTK_OFFLOAD_DISABLE 1
|
|
#define PMO_GTK_OFFLOAD_DISABLE 1
|
|
#define PMO_KEK_LEN_LEGACY 16
|
|
#define PMO_KEK_LEN_LEGACY 16
|
|
#define PMO_KEK_LEN 64
|
|
#define PMO_KEK_LEN 64
|
|
-#define PMO_KCK_LEN 16
|
|
|
|
|
|
+#define PMO_KCK_LEN 32
|
|
#define PMO_REPLAY_COUNTER_LEN 8
|
|
#define PMO_REPLAY_COUNTER_LEN 8
|
|
#define PMO_MAC_MAX_KEY_LENGTH 32
|
|
#define PMO_MAC_MAX_KEY_LENGTH 32
|
|
#define PMO_IGTK_PN_SIZE 6
|
|
#define PMO_IGTK_PN_SIZE 6
|
|
@@ -41,6 +41,7 @@
|
|
* struct pmo_gtk_req - pmo gtk request
|
|
* struct pmo_gtk_req - pmo gtk request
|
|
* @flags: optional flags
|
|
* @flags: optional flags
|
|
* @kck: Key confirmation key
|
|
* @kck: Key confirmation key
|
|
|
|
+ * @kck_len: Key confirmation key length
|
|
* @kek: key encryption key
|
|
* @kek: key encryption key
|
|
* @kek_len: KEK Length
|
|
* @kek_len: KEK Length
|
|
* @replay_counter: replay_counter
|
|
* @replay_counter: replay_counter
|
|
@@ -50,6 +51,7 @@
|
|
struct pmo_gtk_req {
|
|
struct pmo_gtk_req {
|
|
uint32_t flags;
|
|
uint32_t flags;
|
|
uint8_t kck[PMO_KCK_LEN];
|
|
uint8_t kck[PMO_KCK_LEN];
|
|
|
|
+ uint8_t kck_len;
|
|
uint8_t kek[PMO_KEK_LEN];
|
|
uint8_t kek[PMO_KEK_LEN];
|
|
uint32_t kek_len;
|
|
uint32_t kek_len;
|
|
uint64_t replay_counter;
|
|
uint64_t replay_counter;
|