mka: Remove cs_len argument from the set_current_cipher_suite functions
This is a known constant value (CS_ID_LEN, i.e., the length of the EUI64 identifier) and does not need to be provided separately in these function calls. Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
This commit is contained in:
parent
46bbda2b83
commit
ec958aee32
8 changed files with 13 additions and 20 deletions
|
@ -61,7 +61,7 @@ struct ieee802_1x_kay_ctx {
|
|||
int (*macsec_deinit)(void *ctx);
|
||||
int (*enable_protect_frames)(void *ctx, Boolean enabled);
|
||||
int (*set_replay_protect)(void *ctx, Boolean enabled, u32 window);
|
||||
int (*set_current_cipher_suite)(void *ctx, const u8 *cs, size_t cs_len);
|
||||
int (*set_current_cipher_suite)(void *ctx, const u8 *cs);
|
||||
int (*enable_controlled_port)(void *ctx, Boolean enabled);
|
||||
int (*get_receive_lowest_pn)(void *ctx, u32 channel, u8 an,
|
||||
u32 *lowest_pn);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue