Searched refs:CCMP_TK_LEN (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/net/wireless/ |
D | lib80211_crypt_ccmp.c | 36 #define CCMP_TK_LEN 16 macro 40 u8 key[CCMP_TK_LEN]; 163 if (aeskey != NULL && keylen >= CCMP_TK_LEN) in lib80211_ccmp_hdr() 164 memcpy(aeskey, key->key, CCMP_TK_LEN); in lib80211_ccmp_hdr() 357 if (len == CCMP_TK_LEN) { in lib80211_ccmp_set_key() 358 memcpy(data->key, key, CCMP_TK_LEN); in lib80211_ccmp_set_key() 369 crypto_aead_setkey(data->tfm, data->key, CCMP_TK_LEN)) in lib80211_ccmp_set_key() 383 if (len < CCMP_TK_LEN) in lib80211_ccmp_get_key() 388 memcpy(key, data->key, CCMP_TK_LEN); in lib80211_ccmp_get_key() 399 return CCMP_TK_LEN; in lib80211_ccmp_get_key()
|
/Linux-v5.4/drivers/staging/rtl8192e/ |
D | rtllib_crypt_ccmp.c | 27 #define CCMP_TK_LEN 16 macro 31 u8 key[CCMP_TK_LEN]; 327 if (len == CCMP_TK_LEN) { in rtllib_ccmp_set_key() 328 memcpy(data->key, key, CCMP_TK_LEN); in rtllib_ccmp_set_key() 339 crypto_aead_setkey(data->tfm, data->key, CCMP_TK_LEN)) in rtllib_ccmp_set_key() 355 if (len < CCMP_TK_LEN) in rtllib_ccmp_get_key() 360 memcpy(key, data->key, CCMP_TK_LEN); in rtllib_ccmp_get_key() 371 return CCMP_TK_LEN; in rtllib_ccmp_get_key()
|
/Linux-v5.4/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_crypt_ccmp.c | 32 #define CCMP_TK_LEN 16 macro 36 u8 key[CCMP_TK_LEN]; 335 if (len == CCMP_TK_LEN) { in ieee80211_ccmp_set_key() 336 memcpy(data->key, key, CCMP_TK_LEN); in ieee80211_ccmp_set_key() 347 crypto_aead_setkey(tfm, data->key, CCMP_TK_LEN)) in ieee80211_ccmp_set_key() 362 if (len < CCMP_TK_LEN) in ieee80211_ccmp_get_key() 367 memcpy(key, data->key, CCMP_TK_LEN); in ieee80211_ccmp_get_key() 378 return CCMP_TK_LEN; in ieee80211_ccmp_get_key()
|