Changeset View
Changeset View
Standalone View
Standalone View
head/sys/opencrypto/xform.c
Show First 20 Lines • Show All 53 Lines • ▼ Show 20 Lines | |||||
#include <sys/systm.h> | #include <sys/systm.h> | ||||
#include <sys/malloc.h> | #include <sys/malloc.h> | ||||
#include <sys/sysctl.h> | #include <sys/sysctl.h> | ||||
#include <sys/errno.h> | #include <sys/errno.h> | ||||
#include <sys/time.h> | #include <sys/time.h> | ||||
#include <sys/kernel.h> | #include <sys/kernel.h> | ||||
#include <machine/cpu.h> | #include <machine/cpu.h> | ||||
#include <crypto/des/des.h> | |||||
#include <crypto/rijndael/rijndael.h> | #include <crypto/rijndael/rijndael.h> | ||||
#include <crypto/camellia/camellia.h> | #include <crypto/camellia/camellia.h> | ||||
#include <crypto/sha1.h> | #include <crypto/sha1.h> | ||||
#include <opencrypto/deflate.h> | #include <opencrypto/deflate.h> | ||||
#include <opencrypto/rmd160.h> | #include <opencrypto/rmd160.h> | ||||
#include <sys/md5.h> | #include <sys/md5.h> | ||||
#include <opencrypto/cryptodev.h> | #include <opencrypto/cryptodev.h> | ||||
#include <opencrypto/xform.h> | #include <opencrypto/xform.h> | ||||
MALLOC_DEFINE(M_XDATA, "xform", "xform data buffers"); | MALLOC_DEFINE(M_XDATA, "xform", "xform data buffers"); | ||||
/* Include the encryption algorithms */ | /* Include the encryption algorithms */ | ||||
#include "xform_null.c" | #include "xform_null.c" | ||||
#include "xform_des1.c" | |||||
#include "xform_des3.c" | |||||
#include "xform_rijndael.c" | #include "xform_rijndael.c" | ||||
#include "xform_aes_icm.c" | #include "xform_aes_icm.c" | ||||
#include "xform_aes_xts.c" | #include "xform_aes_xts.c" | ||||
#include "xform_cml.c" | #include "xform_cml.c" | ||||
/* Include the authentication and hashing algorithms */ | /* Include the authentication and hashing algorithms */ | ||||
#include "xform_gmac.c" | #include "xform_gmac.c" | ||||
#include "xform_md5.c" | #include "xform_md5.c" | ||||
#include "xform_rmd160.c" | #include "xform_rmd160.c" | ||||
#include "xform_sha1.c" | #include "xform_sha1.c" | ||||
#include "xform_sha2.c" | #include "xform_sha2.c" | ||||
/* Include the compression algorithms */ | /* Include the compression algorithms */ | ||||
#include "xform_deflate.c" | #include "xform_deflate.c" | ||||