Lines Matching defs:cipher_mode
158 unsigned int cipher_mode;
634 if (s->cipher.cipher_mode == SCMD_CIPH_MODE_AES_CBC &&
666 if (s->cipher.cipher_mode == SCMD_CIPH_MODE_AES_XTS)
726 V_SCMD_CIPH_MODE(s->cipher.cipher_mode) |
737 switch (s->cipher.cipher_mode) {
835 if (s->cipher.cipher_mode == SCMD_CIPH_MODE_AES_CBC &&
840 if (s->cipher.cipher_mode == SCMD_CIPH_MODE_AES_XTS)
1034 V_SCMD_CIPH_MODE(s->cipher.cipher_mode) |
1045 switch (s->cipher.cipher_mode) {
2085 if (s->cipher.cipher_mode == SCMD_CIPH_MODE_AES_XTS)
2105 switch (s->cipher.cipher_mode) {
2149 V_KEY_CONTEXT_DUAL_CK(s->cipher.cipher_mode ==
2225 unsigned int cipher_mode;
2257 cipher_mode = ccr_cipher_mode(csp);
2258 if (cipher_mode == SCMD_CIPH_MODE_NOP)
2320 unsigned int auth_mode, cipher_mode, mk_size;
2368 cipher_mode = ccr_cipher_mode(csp);
2373 if (cipher_mode == SCMD_CIPH_MODE_NOP ||
2374 cipher_mode == SCMD_CIPH_MODE_AES_GCM ||
2375 cipher_mode == SCMD_CIPH_MODE_AES_CCM)
2383 if (cipher_mode != SCMD_CIPH_MODE_AES_GCM &&
2384 cipher_mode != SCMD_CIPH_MODE_AES_CCM)
2390 if (cipher_mode == SCMD_CIPH_MODE_NOP ||
2391 cipher_mode == SCMD_CIPH_MODE_AES_GCM ||
2392 cipher_mode == SCMD_CIPH_MODE_AES_CCM)
2442 if (cipher_mode == SCMD_CIPH_MODE_AES_CCM)
2489 if (cipher_mode != SCMD_CIPH_MODE_NOP) {
2490 s->cipher.cipher_mode = cipher_mode;