DRV_HASH_NULL
} else if (ctx->auth_mode != DRV_HASH_NULL) { /* HMAC authentication */
case DRV_HASH_NULL:
.auth_mode = DRV_HASH_NULL,
.auth_mode = DRV_HASH_NULL,
.auth_mode = DRV_HASH_NULL,
.auth_mode = DRV_HASH_NULL,
.auth_mode = DRV_HASH_NULL,
case DRV_HASH_NULL: /* Not authenc (e.g., CCM) - no auth_key) */
if (ctx->auth_mode != DRV_HASH_NULL) { /* authenc() alg. */
} else if (ctx->auth_mode != DRV_HASH_NULL) { /* HMAC */
case DRV_HASH_NULL: /* non-authenc modes, e.g., CCM */
} else if (ctx->auth_mode != DRV_HASH_NULL) { /* HMAC auth. */
if (ctx->hash_mode != DRV_HASH_NULL) {
.hash_mode = DRV_HASH_NULL,
.hash_mode = DRV_HASH_NULL,
if (is_hmac && ctx->hash_mode != DRV_HASH_NULL) {
case DRV_HASH_NULL: