Home
last modified time | relevance | path

Searched refs:cak (Results 1 – 7 of 7) sorted by relevance

/external/wpa_supplicant_8/src/pae/
Dieee802_1x_key.c83 const u8 *mac2, u8 *cak) in ieee802_1x_cak_128bits_aes_cmac() argument
89 context, sizeof(context) * 8, 128, cak); in ieee802_1x_cak_128bits_aes_cmac()
128 int ieee802_1x_kek_128bits_aes_cmac(const u8 *cak, const u8 *ckn, in ieee802_1x_kek_128bits_aes_cmac() argument
137 return aes_kdf_128(cak, "IEEE8021 KEK", context, sizeof(context) * 8, in ieee802_1x_kek_128bits_aes_cmac()
148 int ieee802_1x_ick_128bits_aes_cmac(const u8 *cak, const u8 *ckn, in ieee802_1x_ick_128bits_aes_cmac() argument
157 return aes_kdf_128(cak, "IEEE8021 ICK", context, sizeof(context) * 8, in ieee802_1x_ick_128bits_aes_cmac()
185 int ieee802_1x_sak_128bits_aes_cmac(const u8 *cak, const u8 *ctx, in ieee802_1x_sak_128bits_aes_cmac() argument
188 return aes_kdf_128(cak, "IEEE8021 SAK", ctx, ctx_bytes * 8, 128, sak); in ieee802_1x_sak_128bits_aes_cmac()
Dieee802_1x_key.h13 const u8 *mac2, u8 *cak);
17 int ieee802_1x_kek_128bits_aes_cmac(const u8 *cak, const u8 *ckn,
19 int ieee802_1x_ick_128bits_aes_cmac(const u8 *cak, const u8 *ckn,
23 int ieee802_1x_sak_128bits_aes_cmac(const u8 *cak, const u8 *ctx,
Dieee802_1x_kay_i.h165 int (*cak_trfm)(const u8 *msk, const u8 *mac1, const u8 *mac2, u8 *cak);
168 int (*kek_trfm)(const u8 *cak, const u8 *ckn, size_t ckn_len, u8 *kek);
169 int (*ick_trfm)(const u8 *cak, const u8 *ckn, size_t ckn_len, u8 *ick);
181 struct mka_key cak; member
Dieee802_1x_kay.c2014 ieee802_1x_sak_128bits_aes_cmac(participant->cak.key, in ieee802_1x_kay_generate_new_sak()
2017 ieee802_1x_sak_128bits_aes_cmac(participant->cak.key, in ieee802_1x_kay_generate_new_sak()
3247 struct mka_key *cak, u32 life, in ieee802_1x_kay_create_mka() argument
3253 if (!kay || !ckn || !cak) { in ieee802_1x_kay_create_mka()
3258 if (cak->len != mka_alg_tbl[kay->mka_algindex].cak_len) { in ieee802_1x_kay_create_mka()
3279 participant->cak.len = cak->len; in ieee802_1x_kay_create_mka()
3280 os_memcpy(participant->cak.key, cak->key, cak->len); in ieee802_1x_kay_create_mka()
3347 if (mka_alg_tbl[kay->mka_algindex].kek_trfm(participant->cak.key, in ieee802_1x_kay_create_mka()
3359 if (mka_alg_tbl[kay->mka_algindex].ick_trfm(participant->cak.key, in ieee802_1x_kay_create_mka()
3446 os_memset(&participant->cak, 0, sizeof(participant->cak)); in ieee802_1x_kay_delete_mka()
Dieee802_1x_kay.h164 struct mka_key_name *ckn, struct mka_key *cak,
/external/wpa_supplicant_8/wpa_supplicant/
Dwpas_kay.c310 struct mka_key *cak; in ieee802_1x_notify_create_actor() local
324 cak = os_zalloc(sizeof(*cak)); in ieee802_1x_notify_create_actor()
325 if (!msk || !sid || !ckn || !cak) in ieee802_1x_notify_create_actor()
342 cak->len = DEFAULT_KEY_LEN; in ieee802_1x_notify_create_actor()
344 peer_addr, cak->key)) { in ieee802_1x_notify_create_actor()
349 wpa_hexdump_key(MSG_DEBUG, "Derived CAK", cak->key, cak->len); in ieee802_1x_notify_create_actor()
362 res = ieee802_1x_kay_create_mka(wpa_s->kay, ckn, cak, 0, in ieee802_1x_notify_create_actor()
372 if (cak) { in ieee802_1x_notify_create_actor()
373 os_memset(cak, 0, sizeof(*cak)); in ieee802_1x_notify_create_actor()
374 os_free(cak); in ieee802_1x_notify_create_actor()
/external/chromium_org/third_party/sqlite/src/test/
Dfts1porter.test2896 cak cak