History log of /freebsd-current/sys/crypto/rijndael/rijndael-api-fst.c
Revision Date Author Comments
# fdafd315 24-Nov-2023 Warner Losh <imp@FreeBSD.org>

sys: Automated cleanup of cdefs and other formatting

Apply the following automated changes to try to eliminate
no-longer-needed sys/cdefs.h includes as well as now-empty
blank lines in a row.

Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/
Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/
Remove /\n+#if.*\n#endif.*\n+/
Remove /^#if.*\n#endif.*\n/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/

Sponsored by: Netflix


# 685dc743 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

sys: Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# d3d79e96 03-Nov-2020 John Baldwin <jhb@FreeBSD.org>

Consistently use C99 fixed-width types in the in-kernel crypto code.

Reviewed by: markj
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D27061


# 07024904 26-Oct-2018 Conrad Meyer <cem@FreeBSD.org>

rijndael (AES): Avoid leaking sensitive data on kernel stack

Noticed this investigating Fortuna. Remove useless duplicate stack copies
of sensitive contents when possible, or if not possible, be sure to zero
them out when we're finished.

Approved by: secteam (gordon)
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D16935


# 136fae42 11-Nov-2014 Dag-Erling Smørgrav <des@FreeBSD.org>

Fix gcc build: preserve const qualifier when casting input values.

Noticed by: bz@
Submitted by: dim@


# 133cdd9e 10-Nov-2014 Dag-Erling Smørgrav <des@FreeBSD.org>

Constify the AES code and propagate to consumers. This allows us to
update the Fortuna code to use SHAd-256 as defined in FS&K.

Approved by: so (self)


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# 2dc7d840 11-Mar-2005 Hajimu UMEMOTO <ume@FreeBSD.org>

integrate rijndael-alg-fst.h into rijndael.h.


# 5129dcfc 10-Nov-2003 Hajimu UMEMOTO <ume@FreeBSD.org>

rijndael-alg-fst.[ch]:
- redo updating.

rijndael-api-fst.[ch]:
- switch to use new low level rijndael api.
- stop using u8, u16 and u32.
- space cleanup.

Tested by: gbde(8) and phk's test program


# 9132d507 19-Oct-2003 Hajimu UMEMOTO <ume@FreeBSD.org>

- revert to old rijndael code. new rijndael code broke gbde.
- since aes-xcbc-mac and aes-ctr require functions in new
rijndael code, aes-xcbc-mac and aes-ctr are disabled for now.


# 3011d4b3 14-Oct-2003 Hajimu UMEMOTO <ume@FreeBSD.org>

Fix alignment problem on 64 bit arch.
I only tested if it doesn't break anything on i368. Since I
have no 64 bit machine, I cannot test it, actually.

Reported by: jmallett


# 8f21478b 12-Oct-2003 Hajimu UMEMOTO <ume@FreeBSD.org>

simplify and update rijndael code.

Obtained from: KAME


# 66476d45 18-Sep-2003 Hajimu UMEMOTO <ume@FreeBSD.org>

one more opossite conditiion.

Reported by: "lg" <zevlg@yandex.ru>


# eb159f5b 17-Sep-2003 Hajimu UMEMOTO <ume@FreeBSD.org>

condition of padLen check was opposite.

Reported by: "lg" <zevlg@yandex.ru>
Reviewed by: Lev Walkin <vlm@netli.com>


# ad39da78 10-Jun-2003 David E. O'Brien <obrien@FreeBSD.org>

Use __FBSDID().


# 27da1009 14-Oct-2002 Poul-Henning Kamp <phk@FreeBSD.org>

Don't panic when we can just return an error code.


# db491696 24-May-2002 SUZUKI Shinsuke <suz@FreeBSD.org>

Fixed AES encryption algorithm bug

PR: kern/38465
Obtained from: Ramana Yarlagadda <ramana.yarlagadda@analog.com>


# 33841545 10-Jun-2001 Hajimu UMEMOTO <ume@FreeBSD.org>

Sync with recent KAME.
This work was based on kame-20010528-freebsd43-snap.tgz and some
critical problem after the snap was out were fixed.
There are many many changes since last KAME merge.

TODO:
- The definitions of SADB_* in sys/net/pfkeyv2.h are still different
from RFC2407/IANA assignment because of binary compatibility
issue. It should be fixed under 5-CURRENT.
- ip6po_m member of struct ip6_pktopts is no longer used. But, it
is still there because of binary compatibility issue. It should
be removed under 5-CURRENT.

Reviewed by: itojun
Obtained from: KAME
MFC after: 3 weeks


# fe2869c8 30-Oct-2000 Kris Kennaway <kris@FreeBSD.org>

Initial import of AES algorithm code (aka Rijndael) from KAME.