summaryrefslogtreecommitdiff
path: root/camellia-meta.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* * camellia-meta.c: Use _NETTLE_CIPHER_SEP_SET_KEY.Niels Möller2010-07-201-3/+3
| | | | | | | | | | | | | | | | | | | | * camellia.h (struct camellia_ctx): Replaced flag camellia128 by expanded key length nkeys. * camellia.c (camellia_set_encrypt_key): Renamed, from... (camellia_set_key): ... old name. (camellia_invert_key): New function. (camellia_set_decrypt_key): New function, using camellia_invert_key. (camellia_crypt): Renamed, from... (camellia_encrypt): ... old name. (camellia_decrypt): Deleted, no longer needed. camellia_crypt used for both encryption and decryption. Rev: nettle/ChangeLog:1.95 Rev: nettle/camellia-meta.c:1.2 Rev: nettle/camellia.c:1.4 Rev: nettle/camellia.h:1.4
* * Makefile.in (nettle_SOURCES): Added camellia.c andNiels Möller2010-07-071-0/+38
camellia-meta.c. (HEADERS): Added camellia.h. * camellia-meta.c: New file. * camellia.h: Rewrote interface to match nettle conventions. * camellia.c: Converted to nettle conventions. (camellia_encrypt128, camellia_encrypt256): Unified to new function... (camellia_encrypt): ...New function, with a loop doing 6 regular rounds, one FL round and one FLINV round per iteration, with iteration count depending on the key size. Rev: nettle/ChangeLog:1.89 Rev: nettle/Makefile.in:1.25 Rev: nettle/camellia-meta.c:1.1 Rev: nettle/camellia.c:1.2 Rev: nettle/camellia.h:1.2