Lines Matching defs:cipher
87 * All statistics are stored separately per cipher type.
113 enum cipher cipher = rxdesc->cipher;
116 if (cipher == CIPHER_TKIP_NO_MIC)
117 cipher = CIPHER_TKIP;
118 if (cipher == CIPHER_NONE || cipher >= CIPHER_MAX)
122 cipher--;
124 intf->crypto_stats[cipher].success += (status == RX_CRYPTO_SUCCESS);
125 intf->crypto_stats[cipher].icv_error += (status == RX_CRYPTO_FAIL_ICV);
126 intf->crypto_stats[cipher].mic_error += (status == RX_CRYPTO_FAIL_MIC);
127 intf->crypto_stats[cipher].key_error += (status == RX_CRYPTO_FAIL_KEY);
376 temp += sprintf(data, "cipher\tsuccess\ticv err\tmic err\tkey err\n");