| /src/external/bsd/wpa/dist/src/pae/ |
| ieee802_1x_key.h | 13 const u8 *mac2, u8 *cak, size_t cak_bytes); 17 int ieee802_1x_kek_aes_cmac(const u8 *cak, size_t cak_bytes, const u8 *ckn, 19 int ieee802_1x_ick_aes_cmac(const u8 *cak, size_t cak_bytes, const u8 *ckn, 23 int ieee802_1x_sak_aes_cmac(const u8 *cak, size_t cak_bytes, const u8 *ctx,
|
| ieee802_1x_key.c | 89 * CAK = KDF(Key, Label, mac1 | mac2, CAKlength) 92 const u8 *mac2, u8 *cak, size_t cak_bytes) 97 return aes_kdf(msk, 8 * msk_bytes, "IEEE8021 EAP CAK", 98 context, sizeof(context) * 8, 8 * cak_bytes, cak); 137 int ieee802_1x_kek_aes_cmac(const u8 *cak, size_t cak_bytes, const u8 *ckn, 146 return aes_kdf(cak, 8 * cak_bytes, "IEEE8021 KEK", 158 int ieee802_1x_ick_aes_cmac(const u8 *cak, size_t cak_bytes, const u8 *ckn, 167 return aes_kdf(cak, 8 *cak_bytes, "IEEE8021 ICK", 205 int ieee802_1x_sak_aes_cmac(const u8 *cak, size_t cak_bytes, const u8 *ctx, 208 return aes_kdf(cak, cak_bytes * 8, "IEEE8021 SAK", ctx, ctx_bytes * 8 [all...] |
| ieee802_1x_kay_i.h | 70 const u8 *mac2, u8 *cak, size_t cak_bytes); 73 int (*kek_trfm)(const u8 *cak, size_t cak_bytes, 76 int (*ick_trfm)(const u8 *cak, size_t cak_bytes, 89 struct mka_key cak; member in struct:ieee802_1x_mka_participant 188 * @ckn: CAK Name 215 /* followed by CAK Name */ 370 * struct ieee802_1x_mka_dist_cak_body - Distributed CAK parameter set (Figure 379 * @cak: AES Key Wrap of CAK (see 9.8) 380 * @ckn: CAK Nam 399 u8 cak[24]; member in struct:ieee802_1x_mka_dist_cak_body [all...] |
| ieee802_1x_kay.c | 860 * the same CAK as our participant. 1975 "KaY: MKA Use CAK Packet Body Length (%zu bytes) should be 28 or more octets", 2070 /* Distribute CAK parameter set */ 2205 if (ieee802_1x_sak_aes_cmac(participant->cak.key, 2206 participant->cak.len, 3666 const struct mka_key *cak, u32 life, 3676 if (!kay || !ckn || !cak) { 3677 wpa_printf(MSG_ERROR, "KaY: CKN or CAK is null"); 3681 if (cak->len != 16 && cak->len != 32) [all...] |
| ieee802_1x_kay.h | 252 const struct mka_key *cak,
|
| /src/external/bsd/wpa/dist/wpa_supplicant/ |
| wpas_kay.c | 308 struct mka_key *cak; local 321 cak = os_zalloc(sizeof(*cak)); 322 if (!msk || !ckn || !cak) 338 /* Derive CAK from MSK */ 339 cak->len = DEFAULT_KEY_LEN; 341 peer_addr, cak->key, cak->len)) { 343 "IEEE 802.1X: Deriving CAK failed"); 346 wpa_hexdump_key(MSG_DEBUG, "Derived CAK", cak->key, cak->len) 379 struct mka_key *cak; local [all...] |
| /src/external/bsd/wpa/dist/src/ap/ |
| wpa_auth_kay.c | 390 struct mka_key *cak; local 403 cak = os_zalloc(sizeof(*cak)); 404 if (!msk || !ckn || !cak) 423 /* Derive CAK from MSK */ 424 cak->len = DEFAULT_KEY_LEN; 426 sta->addr, cak->key, cak->len)) { 427 wpa_printf(MSG_ERROR, "IEEE 802.1X: Deriving CAK failed"); 430 wpa_hexdump_key(MSG_DEBUG, "Derived CAK", cak->key, cak->len) 456 struct mka_key *cak; local [all...] |