1#         $NetBSD: files.opencrypto,v 1.30 2020/06/29 23:34:48 riastradh Exp $
2#
3#
4
5# Opencrypto framework.
6# Devices that provide crypto transforms via opencrypto, or subsystems
7# that use the opencrypto framework, should list opencrypto as a dependency
8# to pull in the framework.
9
10define    opencrypto: aes
11file      opencrypto/criov.c            opencrypto
12file      opencrypto/xform.c            opencrypto
13file      opencrypto/crypto.c           opencrypto
14
15# Pseudo-device that provides software implementations of various cryptographic
16# algorithms.
17defpseudo swcrypto: opencrypto,
18                    blowfish, des, cast128, skipjack, camellia
19file      opencrypto/cryptosoft.c                 swcrypto
20file      opencrypto/deflate.c                    swcrypto  # wrapper around zlib
21file      opencrypto/aesxcbcmac.c                 swcrypto
22file      opencrypto/gmac.c             swcrypto
23
24# Pseudo-device for userspace access to opencrypto
25# (and thus crypto hardware accelerators).
26defpseudo crypto: opencrypto
27file      opencrypto/cryptodev.c                  crypto
28file      opencrypto/ocryptodev.c                 compat_50 & crypto
29file      opencrypto/compat_crypto_50.c compat_50 & crypto
30
31defflag opt_ocf.h   CRYPTO_DEBUG CRYPTO_TIMING
32defparam opt_ocf.h  CRYPTO_RET_Q_MAXLEN CRYPTO_RET_KQ_MAXLEN
33