lib/crypto/simd.c

Source file repositories/reference/linux-study-clean/lib/crypto/simd.c

File Facts

System
Linux kernel
Corpus path
lib/crypto/simd.c
Extension
.c
Size
265 bytes
Lines
12
Domain
Kernel Services
Bucket
lib
Inferred role
Kernel Services: implementation source
Status
source implementation candidate

Why This File Exists

Shared kernel service surface used by multiple subsystems, including helpers, cryptography, virtualization support, and async I/O infrastructure.

Dependency Surface

Detected Declarations

Annotated Snippet

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * SIMD testing utility functions
 *
 * Copyright 2024 Google LLC
 */

#include <crypto/internal/simd.h>

DEFINE_PER_CPU(bool, crypto_simd_disabled_for_test);
EXPORT_PER_CPU_SYMBOL_GPL(crypto_simd_disabled_for_test);

Annotation

Implementation Notes