---
name: "struct_key_params"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/struct_key_params"
---

# struct\_key\_params(9)

key information

## NAME

struct\_key\_params - key information

## SYNOPSIS

```
struct key_params {
  const u8 * key;
  const u8 * seq;
  int key_len;
  int seq_len;
  u32 cipher;
};
```

## MEMBERS

key

key material

seq

sequence counter (IV/PN) for TKIP and CCMP keys, only used with the **get\_key** callback, must be in little endian, length given by *seq\_len*.

key\_len

length of key material

seq\_len

length of *seq*.

cipher

cipher suite selector

## DESCRIPTION

Information about a key

## AUTHOR

**Johannes Berg** \<johannes@sipsolutions.net\>

Author.

## COPYRIGHT
