Lines Matching refs:cipher
449 "cipher", __func__);
479 "pairwise cipher", __func__);
539 "group cipher 0x%x", __func__,
900 * wpa_cipher_txt - Convert cipher suite to a text string
901 * @cipher: Cipher suite (WPA_CIPHER_* enum)
902 * Returns: Pointer to a text string of the cipher suite name
904 const char * wpa_cipher_txt(int cipher)
906 switch (cipher) {
1031 /* Skip Version and Group Data Cipher Suite */
1033 /* Skip Pairwise Cipher Suite Count and List */
1084 int wpa_cipher_key_len(int cipher)
1086 switch (cipher) {
1102 int wpa_cipher_rsc_len(int cipher)
1104 switch (cipher) {
1118 int wpa_cipher_to_alg(int cipher)
1120 switch (cipher) {
1135 enum wpa_cipher wpa_cipher_to_suite_driver(int cipher)
1137 switch (cipher) {
1155 int wpa_cipher_valid_pairwise(int cipher)
1157 return cipher == WPA_CIPHER_CCMP ||
1158 cipher == WPA_CIPHER_GCMP ||
1159 cipher == WPA_CIPHER_TKIP;
1163 u32 wpa_cipher_to_suite(int proto, int cipher)
1165 if (cipher & WPA_CIPHER_CCMP)
1168 if (cipher & WPA_CIPHER_GCMP)
1170 if (cipher & WPA_CIPHER_TKIP)
1173 if (cipher & WPA_CIPHER_WEP104)
1176 if (cipher & WPA_CIPHER_WEP40)
1179 if (cipher & WPA_CIPHER_NONE)
1372 /* Select group cipher based on the enabled pairwise cipher suites */