summaryrefslogtreecommitdiffstats
path: root/sys/crypto/rijndael/rijndael-api-fst.c
Commit message (Collapse)AuthorAgeFilesLines
* MFC r274380:Luiz Otavio O Souza2015-10-201-4/+4
| | | | | | | | | | Fix gcc build: preserve const qualifier when casting input values. Noticed by: bz@ Submitted by: dim@ TAG: IPSEC-HEAD Issue: #4841
* MFC r274340:Luiz Otavio O Souza2015-10-201-5/+6
| | | | | | | | | | | | | | | | | | | | 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) MFC r274341: I just realized that the previous commit message makes no sense: the first sentence should have read "Constify the AES and SHA-256 code and wrappers". This allows us to feed zero_region (which is const) to the hash function during reseeding and thereby implement the FS&K version of SHAd-256 instead of the older F&S version. Approved by: so (self) TAG: IPSEC-HEAD Issue: #4841
* integrate rijndael-alg-fst.h into rijndael.h.ume2005-03-111-1/+0
|
* rijndael-alg-fst.[ch]:ume2003-11-101-174/+123
| | | | | | | | | | | - 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
* - revert to old rijndael code. new rijndael code broke gbde.ume2003-10-191-173/+238
| | | | | - since aes-xcbc-mac and aes-ctr require functions in new rijndael code, aes-xcbc-mac and aes-ctr are disabled for now.
* Fix alignment problem on 64 bit arch.ume2003-10-141-0/+49
| | | | | | | 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
* simplify and update rijndael code.ume2003-10-121-250/+138
| | | | Obtained from: KAME
* one more opossite conditiion.ume2003-09-181-1/+1
| | | | Reported by: "lg" <zevlg@yandex.ru>
* condition of padLen check was opposite.ume2003-09-171-1/+1
| | | | | Reported by: "lg" <zevlg@yandex.ru> Reviewed by: Lev Walkin <vlm@netli.com>
* Use __FBSDID().obrien2003-06-101-1/+3
|
* Don't panic when we can just return an error code.phk2002-10-141-2/+6
|
* Fixed AES encryption algorithm bugsuz2002-05-241-0/+1
| | | | | PR: kern/38465 Obtained from: Ramana Yarlagadda <ramana.yarlagadda@analog.com>
* Sync with recent KAME.ume2001-06-111-44/+8
| | | | | | | | | | | | | | | | | | 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
* Initial import of AES algorithm code (aka Rijndael) from KAME.kris2000-10-301-0/+520
OpenPOWER on IntegriCloud