summaryrefslogtreecommitdiff
path: root/aes.h
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers for dual licensing.Niels Möller2014-04-121-23/+31
|
* Fixed aes name mangling.Niels Möller2013-10-051-10/+10
|
* New interface for AES-256. Also deleted old aes-meta.c.Niels Möller2013-06-251-0/+26
|
* New interface for AES-192.Niels Möller2013-06-251-1/+27
|
* New interface for AES-128.Niels Möller2013-06-251-0/+28
|
* New internal functions _aes_set_key and _aes_invert.Niels Möller2013-05-221-6/+10
|
* Rearranged struct aes_ctx.Niels Möller2013-05-171-1/+1
|
* Use size_t rather than unsigned for all cipher-related functions.Niels Möller2013-04-261-4/+4
|
* Updated FSF address. Patch from David Woodhouse.Niels Möller2012-07-071-2/+2
|
* Converted files to utf-8.Niels Möller2012-02-181-1/+1
|
* * aes.h (aes_invert_key): Declare it.Niels Möller2010-07-241-0/+9
| | | | | | | | | | * aes-set-decrypt-key.c (aes_invert_key): New function, key inversion code extracted from aes_set_decrypt_key. (aes_set_decrypt_key): Use aes_invert_key. Rev: nettle/ChangeLog:1.97 Rev: nettle/aes-set-decrypt-key.c:1.2 Rev: nettle/aes.h:1.3
* * aes.h (aes_encrypt, aes_decrypt): Declare ctx argument as const.Niels Möller2010-07-071-2/+2
| | | | | | | | | | | | | | | | | | | | | Also updated implementation. * blowfish.h (blowfish_encrypt, blowfish_decrypt): Likewise. * cast128.h (cast128_encrypt, cast128_decrypt): Likewise. * serpent.h (serpent_encrypt, serpent_decrypt): Likewise. * twofish.h (twofish_encrypt, twofish_decrypt): Likewise. Rev: nettle/ChangeLog:1.91 Rev: nettle/aes-decrypt.c:1.2 Rev: nettle/aes-encrypt.c:1.2 Rev: nettle/aes.h:1.2 Rev: nettle/blowfish.c:1.3 Rev: nettle/blowfish.h:1.3 Rev: nettle/cast128.c:1.2 Rev: nettle/cast128.h:1.2 Rev: nettle/serpent.c:1.2 Rev: nettle/serpent.h:1.2 Rev: nettle/twofish.c:1.2 Rev: nettle/twofish.h:1.2
* Added C++ guards.Niels Möller2006-11-241-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rev: src/nettle/aes.h:1.8 Rev: src/nettle/arcfour.h:1.6 Rev: src/nettle/arctwo.h:1.3 Rev: src/nettle/asn1.h:1.3 Rev: src/nettle/base16.h:1.4 Rev: src/nettle/base64.h:1.15 Rev: src/nettle/bignum.h:1.11 Rev: src/nettle/blowfish.h:1.10 Rev: src/nettle/buffer.h:1.6 Rev: src/nettle/cast128.h:1.6 Rev: src/nettle/cbc.h:1.9 Rev: src/nettle/ctr.h:1.3 Rev: src/nettle/des-compat.h:1.13 Rev: src/nettle/des.h:1.11 Rev: src/nettle/dsa.h:1.10 Rev: src/nettle/hmac.h:1.6 Rev: src/nettle/knuth-lfib.h:1.4 Rev: src/nettle/md2.h:1.4 Rev: src/nettle/md4.h:1.4 Rev: src/nettle/md5-compat.h:1.3 Rev: src/nettle/md5.h:1.9 Rev: src/nettle/memxor.h:1.5 Rev: src/nettle/nettle-meta.h:1.15 Rev: src/nettle/nettle-types.h:1.2 Rev: src/nettle/pgp.h:1.8 Rev: src/nettle/pkcs1.h:1.4 Rev: src/nettle/realloc.h:1.3 Rev: src/nettle/rsa-compat.h:1.4 Rev: src/nettle/rsa.h:1.26 Rev: src/nettle/serpent.h:1.8 Rev: src/nettle/sexp.h:1.18 Rev: src/nettle/sha.h:1.7 Rev: src/nettle/testsuite/testutils.h:1.24 Rev: src/nettle/twofish.h:1.7 Rev: src/nettle/yarrow.h:1.12
* * nettle-types.h: New (generated) file, to be used instead of includingNiels Möller2004-01-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | <inttypes.h> directly. Updated all users of inttypes.h. Rev: src/nettle/aes.h:1.7 Rev: src/nettle/aesdata.c:1.3 Rev: src/nettle/arcfour.h:1.5 Rev: src/nettle/base16.h:1.3 Rev: src/nettle/base64.h:1.14 Rev: src/nettle/bignum.h:1.8 Rev: src/nettle/blowfish.h:1.9 Rev: src/nettle/cast128.h:1.5 Rev: src/nettle/cbc.h:1.5 Rev: src/nettle/des.h:1.9 Rev: src/nettle/dsa.h:1.9 Rev: src/nettle/knuth-lfib.h:1.3 Rev: src/nettle/md2.h:1.3 Rev: src/nettle/md4.h:1.3 Rev: src/nettle/md5.h:1.7 Rev: src/nettle/memxor.h:1.3 Rev: src/nettle/nettle-meta.h:1.11 Rev: src/nettle/pkcs1.h:1.3 Rev: src/nettle/realloc.h:1.2 Rev: src/nettle/rsa.h:1.24 Rev: src/nettle/serpent.h:1.7 Rev: src/nettle/sexp.h:1.16 Rev: src/nettle/sha.h:1.4 Rev: src/nettle/twofish.h:1.6
* * New name mangling, to reduce the risk of link collisions. AllNiels Möller2003-04-121-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | functions (except memxor) now use a nettle_ or _nettle prefix when seen by the linker. For most functions, the header file that declares a function also use #define to provide a shorter more readable name without the prefix. Rev: src/nettle/aes-internal.h:1.9 Rev: src/nettle/aes.h:1.6 Rev: src/nettle/arcfour.h:1.4 Rev: src/nettle/base16.h:1.2 Rev: src/nettle/base64.h:1.12 Rev: src/nettle/blowfish.h:1.8 Rev: src/nettle/cast128.h:1.4 Rev: src/nettle/cbc.h:1.4 Rev: src/nettle/des.h:1.8 Rev: src/nettle/dsa.h:1.7 Rev: src/nettle/hmac.h:1.5 Rev: src/nettle/knuth-lfib.h:1.2 Rev: src/nettle/md5-compat.h:1.2 Rev: src/nettle/md5.h:1.6 Rev: src/nettle/pgp.h:1.2 Rev: src/nettle/pkcs1.h:1.2 Rev: src/nettle/rsa-compat.h:1.3 Rev: src/nettle/rsa.h:1.22 Rev: src/nettle/serpent.h:1.6 Rev: src/nettle/sexp.h:1.15 Rev: src/nettle/sha.h:1.3 Rev: src/nettle/twofish.h:1.5 Rev: src/nettle/yarrow.h:1.10
* (struct aes_ctx): Deleted space for inverse subkeys.Niels Möller2002-02-141-3/+5
| | | | Rev: src/nettle/aes.h:1.5
* *** empty log message ***Niels Möller2001-06-171-1/+1
| | | | | | | | | | | | | | Rev: src/nettle/ChangeLog:1.10 Rev: src/nettle/aes.h:1.4 Rev: src/nettle/arcfour.h:1.3 Rev: src/nettle/blowfish.h:1.7 Rev: src/nettle/cast128.h:1.3 Rev: src/nettle/des.h:1.4 Rev: src/nettle/md5.h:1.3 Rev: src/nettle/memxor.h:1.2 Rev: src/nettle/serpent.h:1.5 Rev: src/nettle/sha1.h:1.3 Rev: src/nettle/twofish.h:1.4
* Fixed copyright notice.Niels Möller2001-06-171-1/+1
| | | | | | | | | | | | | | | | | | | | Rev: src/nettle/aes.c:1.3 Rev: src/nettle/aes.h:1.3 Rev: src/nettle/arcfour.c:1.2 Rev: src/nettle/arcfour.h:1.2 Rev: src/nettle/blowfish.h:1.5 Rev: src/nettle/cast128.c:1.2 Rev: src/nettle/cast128.h:1.2 Rev: src/nettle/des.c:1.3 Rev: src/nettle/des.h:1.3 Rev: src/nettle/macros.h:1.3 Rev: src/nettle/md5.c:1.2 Rev: src/nettle/md5.h:1.2 Rev: src/nettle/serpent.h:1.4 Rev: src/nettle/sha1.c:1.3 Rev: src/nettle/sha1.h:1.2 Rev: src/nettle/twofish.c:1.3 Rev: src/nettle/twofish.h:1.3
* Fixed copyright notice to not mention GNU MP. XXX: ReviewNiels Möller2001-06-151-1/+1
| | | | | | all nettle copyrights. Rev: src/nettle/aes.h:1.2
* * Initial checkin.Niels Möller2001-04-131-0/+60
Rev: src/nettle/.bootstrap:1.1 Rev: src/nettle/.c-style:1.1 Rev: src/nettle/AUTHORS:1.1 Rev: src/nettle/ChangeLog:1.1 Rev: src/nettle/Makefile.am:1.1 Rev: src/nettle/NEWS:1.1 Rev: src/nettle/README:1.1 Rev: src/nettle/aes.c:1.1 Rev: src/nettle/aes.h:1.1 Rev: src/nettle/arcfour.c:1.1 Rev: src/nettle/arcfour.h:1.1 Rev: src/nettle/configure.in:1.1 Rev: src/nettle/macros.h:1.1 Rev: src/nettle/md5.c:1.1 Rev: src/nettle/md5.h:1.1 Rev: src/nettle/memxor.c:1.1 Rev: src/nettle/memxor.h:1.1 Rev: src/nettle/testsuite/.c-style:1.1 Rev: src/nettle/testsuite/Makefile.am:1.1 Rev: src/nettle/testsuite/aes-test.m4:1.1 Rev: src/nettle/testsuite/arcfour-test.m4:1.1 Rev: src/nettle/testsuite/macros.m4:1.1 Rev: src/nettle/testsuite/md5-test.m4:1.1 Rev: src/nettle/testsuite/run-tests:1.1 Rev: src/nettle/testsuite/testutils.c:1.1 Rev: src/nettle/testsuite/testutils.h:1.1