diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-10-09 22:52:54 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-10-10 09:08:23 +0200 |
commit | e599318e912d8836c59d8b5202e3e31a6b8dcae9 (patch) | |
tree | 1172b8b830a1c3236e45c834c2b80e01325ea144 /freebsd/sys/opencrypto/xform.c | |
parent | Move files to match FreeBSD layout (diff) | |
download | rtems-libbsd-e599318e912d8836c59d8b5202e3e31a6b8dcae9.tar.bz2 |
Update files to match FreeBSD layout
Add compatibility with Newlib header files. Some FreeBSD header files
are mapped by the translation script:
o rtems/bsd/sys/_types.h
o rtems/bsd/sys/errno.h
o rtems/bsd/sys/lock.h
o rtems/bsd/sys/param.h
o rtems/bsd/sys/resource.h
o rtems/bsd/sys/time.h
o rtems/bsd/sys/timespec.h
o rtems/bsd/sys/types.h
o rtems/bsd/sys/unistd.h
It is now possible to include <sys/socket.h> directly for example.
Generate one Makefile which builds everything including tests.
Diffstat (limited to 'freebsd/sys/opencrypto/xform.c')
-rw-r--r-- | freebsd/sys/opencrypto/xform.c | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/freebsd/sys/opencrypto/xform.c b/freebsd/sys/opencrypto/xform.c index e54a6740..7fceb4ec 100644 --- a/freebsd/sys/opencrypto/xform.c +++ b/freebsd/sys/opencrypto/xform.c @@ -1,4 +1,4 @@ -#include <freebsd/machine/rtems-bsd-config.h> +#include <machine/rtems-bsd-config.h> /* $OpenBSD: xform.c,v 1.16 2001/08/28 12:20:43 ben Exp $ */ /*- @@ -38,33 +38,33 @@ * PURPOSE. */ -#include <freebsd/sys/cdefs.h> +#include <sys/cdefs.h> __FBSDID("$FreeBSD$"); -#include <freebsd/sys/param.h> -#include <freebsd/sys/systm.h> -#include <freebsd/sys/malloc.h> -#include <freebsd/sys/sysctl.h> -#include <freebsd/sys/errno.h> -#include <freebsd/sys/time.h> -#include <freebsd/sys/kernel.h> -#include <freebsd/machine/cpu.h> - -#include <freebsd/crypto/blowfish/blowfish.h> -#include <freebsd/crypto/des/des.h> -#include <freebsd/crypto/rijndael/rijndael.h> -#include <freebsd/crypto/camellia/camellia.h> -#include <freebsd/crypto/sha1.h> - -#include <freebsd/opencrypto/cast.h> -#include <freebsd/opencrypto/deflate.h> -#include <freebsd/opencrypto/rmd160.h> -#include <freebsd/opencrypto/skipjack.h> - -#include <freebsd/sys/md5.h> - -#include <freebsd/opencrypto/cryptodev.h> -#include <freebsd/opencrypto/xform.h> +#include <rtems/bsd/sys/param.h> +#include <sys/systm.h> +#include <sys/malloc.h> +#include <sys/sysctl.h> +#include <rtems/bsd/sys/errno.h> +#include <rtems/bsd/sys/time.h> +#include <sys/kernel.h> +#include <machine/cpu.h> + +#include <crypto/blowfish/blowfish.h> +#include <crypto/des/des.h> +#include <crypto/rijndael/rijndael.h> +#include <crypto/camellia/camellia.h> +#include <crypto/sha1.h> + +#include <opencrypto/cast.h> +#include <opencrypto/deflate.h> +#include <opencrypto/rmd160.h> +#include <opencrypto/skipjack.h> + +#include <sys/md5.h> + +#include <opencrypto/cryptodev.h> +#include <opencrypto/xform.h> static int null_setkey(u_int8_t **, u_int8_t *, int); static int des1_setkey(u_int8_t **, u_int8_t *, int); |