Lines Matching defs:cak
310 struct mka_key *cak;
324 cak = os_zalloc(sizeof(*cak));
325 if (!msk || !sid || !ckn || !cak)
341 /* Derive CAK from MSK */
342 cak->len = DEFAULT_KEY_LEN;
344 peer_addr, cak->key)) {
346 "IEEE 802.1X: Deriving CAK failed");
349 wpa_hexdump_key(MSG_DEBUG, "Derived CAK", cak->key, cak->len);
362 res = ieee802_1x_kay_create_mka(wpa_s->kay, ckn, cak, 0,
372 if (cak) {
373 os_memset(cak, 0, sizeof(*cak));
374 os_free(cak);