The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/modules/crypto/Makefile

Version: -  FREEBSD  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-2  -  FREEBSD-11-1  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-4  -  FREEBSD-10-3  -  FREEBSD-10-2  -  FREEBSD-10-1  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-3  -  FREEBSD-9-2  -  FREEBSD-9-1  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-4  -  FREEBSD-8-3  -  FREEBSD-8-2  -  FREEBSD-8-1  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-4  -  FREEBSD-7-3  -  FREEBSD-7-2  -  FREEBSD-7-1  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-4  -  FREEBSD-6-3  -  FREEBSD-6-2  -  FREEBSD-6-1  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-5  -  FREEBSD-5-4  -  FREEBSD-5-3  -  FREEBSD-5-2  -  FREEBSD-5-1  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  linux-2.6  -  linux-2.4.22  -  MK83  -  MK84  -  PLAN9  -  DFBSD  -  NETBSD  -  NETBSD5  -  NETBSD4  -  NETBSD3  -  NETBSD20  -  OPENBSD  -  xnu-517  -  xnu-792  -  xnu-792.6.70  -  xnu-1228  -  xnu-1456.1.26  -  xnu-1699.24.8  -  xnu-2050.18.24  -  OPENSOLARIS  -  minix-3-1-1 
SearchContext: -  none  -  3  -  10 

    1 # $FreeBSD: stable/12/sys/modules/crypto/Makefile 368930 2021-01-02 05:00:48Z kevans $
    2 
    3 LIBSODIUM=${SRCTOP}/sys/contrib/libsodium/src/libsodium
    4 
    5 .PATH:  ${SRCTOP}/sys/opencrypto
    6 .PATH:  ${SRCTOP}/sys/crypto
    7 .PATH:  ${SRCTOP}/sys/crypto/blowfish
    8 .PATH:  ${SRCTOP}/sys/crypto/camellia
    9 .PATH:  ${SRCTOP}/sys/crypto/des
   10 .PATH:  ${SRCTOP}/sys/crypto/rijndael
   11 .PATH:  ${SRCTOP}/sys/crypto/sha2
   12 .PATH:  ${SRCTOP}/sys/crypto/siphash
   13 .PATH:  ${SRCTOP}/sys/crypto/skein
   14 .PATH:  ${SRCTOP}/sys/crypto/blake2
   15 .PATH:  ${SRCTOP}/sys/crypto/chacha20
   16 .PATH:  ${SRCTOP}/sys/contrib/libb2
   17 .PATH:  ${LIBSODIUM}/crypto_onetimeauth/poly1305
   18 .PATH:  ${LIBSODIUM}/crypto_onetimeauth/poly1305/donna
   19 .PATH:  ${LIBSODIUM}/crypto_verify/sodium
   20 .PATH:  ${SRCTOP}/sys/crypto/libsodium
   21 
   22 KMOD    = crypto
   23 SRCS    = crypto.c cryptodev_if.c
   24 SRCS    += criov.c cryptosoft.c xform.c
   25 SRCS    += cast.c cryptodeflate.c rmd160.c rijndael-alg-fst.c rijndael-api.c rijndael-api-fst.c
   26 SRCS    += skipjack.c bf_enc.c bf_ecb.c bf_skey.c
   27 SRCS    += camellia.c camellia-api.c
   28 SRCS    += des_ecb.c des_enc.c des_setkey.c
   29 SRCS    += sha1.c sha256c.c sha512c.c
   30 SRCS    += skein.c skein_block.c
   31 # unroll the 256 and 512 loops, half unroll the 1024
   32 CFLAGS.skein_block.c    += -DSKEIN_LOOP=995
   33 .if exists(${MACHINE_ARCH}/skein_block_asm.s)
   34 .PATH:  ${SRCTOP}/sys/crypto/skein/${MACHINE_ARCH}
   35 SRCS    += skein_block_asm.s
   36 CFLAGS  += -DSKEIN_ASM -DSKEIN_USE_ASM=1792 # list of block functions to replace with assembly: 256+512+1024 = 1792
   37 ACFLAGS += -DELF -Wa,--noexecstack
   38 # Fully unroll all loops in the assembly optimized version
   39 AFLAGS+= --defsym SKEIN_LOOP=0 --defsym SKEIN_USE_ASM=1792
   40 .endif
   41 SRCS    += siphash.c
   42 SRCS    += gmac.c gfmult.c
   43 SRCS    += blake2b-ref.c
   44 SRCS    += blake2s-ref.c
   45 SRCS    += blake2-sw.c
   46 CFLAGS.blake2b-ref.c    += -I${SRCTOP}/sys/crypto/blake2 -DSUFFIX=_ref
   47 CFLAGS.blake2s-ref.c    += -I${SRCTOP}/sys/crypto/blake2 -DSUFFIX=_ref
   48 CFLAGS.blake2-sw.c      += -I${SRCTOP}/sys/crypto/blake2
   49 CWARNFLAGS.blake2b-ref.c        += -Wno-cast-qual -Wno-unused-function
   50 CWARNFLAGS.blake2s-ref.c        += -Wno-cast-qual -Wno-unused-function
   51 SRCS    += chacha.c
   52 SRCS    += chacha-sw.c
   53 
   54 LIBSODIUM_INC=${LIBSODIUM}/include
   55 LIBSODIUM_COMPAT=${SRCTOP}/sys/crypto/libsodium
   56 SRCS    += xform_poly1305.c
   57 CFLAGS.xform_poly1305.c         += -I${LIBSODIUM_INC} -I${LIBSODIUM_COMPAT}
   58 SRCS    += onetimeauth_poly1305.c
   59 CFLAGS.onetimeauth_poly1305.c   += -I${LIBSODIUM_INC}/sodium -I${LIBSODIUM_COMPAT}
   60 SRCS    += poly1305_donna.c
   61 CFLAGS.poly1305_donna.c         += -I${LIBSODIUM_INC}/sodium -I${LIBSODIUM_COMPAT}
   62 SRCS    += verify.c
   63 CFLAGS.verify.c                 += -I${LIBSODIUM_INC}/sodium -I${LIBSODIUM_COMPAT}
   64 SRCS    += randombytes.c
   65 CFLAGS.randombytes.c            += -I${LIBSODIUM_INC} -I${LIBSODIUM_COMPAT}
   66 SRCS    += utils.c
   67 CFLAGS.utils.c                  += -I${LIBSODIUM_INC} -I${LIBSODIUM_COMPAT}
   68 
   69 SRCS    += opt_param.h cryptodev_if.h bus_if.h device_if.h
   70 SRCS    += opt_ddb.h
   71 SRCS    += cbc_mac.c
   72 SRCS    += xform_cbc_mac.c
   73 
   74 .include <bsd.kmod.mk>

Cache object: 2afac3f748e4c5c2368be6202f28a09a


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.