summaryrefslogtreecommitdiff
path: root/nettle-meta.h
Commit message (Collapse)AuthorAgeFilesLines
* hmac: add support for streebog256/512 hash functionDmitry Baryshkov2020-06-081-0/+2
| | | | | | Add support for calculating HMAC using Streebog hash functions. Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
* Implement GOST R 34.11-2012 (Streebog) hash functionDmitry Baryshkov2020-06-061-0/+2
| | | | | | Also add nettle_streebog256 and nettle_streebog512 to nettle meta interface. Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
* cmac-des3: add meta declaration to Nettle libraryDmitry Baryshkov2020-03-081-0/+1
| | | | | | | Move cmac-des3 meta information from testsuite/cmac-test.c to main Nettle library. Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
* nettle-meta: Expose defined MACs through nettle_macsmove-nettle_macNiels Möller2020-02-091-0/+7
| | | | Based on patches by Daiki Ueno.
* Add meta interface for HMAC functions.Niels Möller2020-02-091-1/+20
| | | | Based on patches by Daiki Ueno.
* Add meta interface for CMAC functions.Niels Möller2020-02-091-0/+3
| | | | | | | | Based on patches by Daiki Ueno. * testsuite/cmac-test.c (nettle_cmac_aes128, nettle_cmac_aes256): Moved to... * cmac-aes128-meta.c: New file. * cmac-aes256-meta.c: New file.
* Move struct nettle_mac to nettle-meta.h.Niels Möller2020-02-091-0/+18
|
* Add support for GOSTHASH94CP: GOST R 34.11-94 hash with CryptoPro S-boxDmitry Eremin-Solenikov2019-09-151-0/+1
| | | | | | | | | | Hash gosthash94 implements GOST R 34.11-94 standard using S-Box defined in the standard 'for testing purposes only'. RFC 4357 defines S-Box (CryptoPro one) for GOST R 34.11-94 hash function that is widely used in applications. Add separate hash function algorithm (gosthash94cp) implementing GOST R 34.11-94 hashing using that S-Box. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* New macro _NETTLE_ATTRIBUTE_PURE.Niels Möller2018-08-091-16/+4
|
* abi: explicitly export intended symbols and hide othersNikos Mavrogiannopoulos2018-07-071-8/+0
| | | | | | | | | | | | | This adds all exported symbols in the map files explicitly under the following rules: - Symbols mentioned in internal headers go in a section which is valid only for testing, and linking with these symbols will break in library updates. - Symbols mentioned in installed headers go in the exported sections and are considered part of the ABI. - All internal symbols move to internal headers. - The _nettle_md5_compress and _nettle_sha1_compress become exported without the _nettle prefix, due to existing usage.
* Add leading underscore to data symbols.rename-data-symbolsNiels Möller2018-03-171-16/+4
|
* Undo added underscores on public symbols.Niels Möller2017-10-231-4/+16
|
* New function nettle_get_armors.Niels Möller2017-04-091-1/+9
|
* New function nettle_get_aeads.Niels Möller2017-04-091-1/+9
|
* New function nettle_get_hashes.Niels Möller2017-04-091-1/+9
|
* New functions nettle_get_hashes and nettle_lookup_hash.Niels Möller2017-01-121-1/+12
|
* New struct nettle_armor for base64url.Niels Möller2015-02-101-0/+1
|
* Implemented algorithm array nettle_aeads.Niels Möller2014-05-081-0/+4
|
* Rename *_DATA_SIZE to *_BLOCK_SIZE.Niels Möller2014-04-251-1/+1
|
* Update copyright headers for dual licensing.Niels Möller2014-04-121-23/+31
|
* nettle_hash instances for sha512_224 and sha512_256.Niels Möller2014-04-091-0/+2
|
* Define and use nettle_cipher_func, for block ciphers.Niels Möller2014-03-181-2/+2
|
* Deleted nettle_cipher nettle_arcfour128.Niels Möller2014-03-161-2/+0
|
* Support for gcm-camellia256.Niels Möller2014-02-161-0/+1
|
* Support for gcm-camellia128.Niels Möller2014-02-161-1/+2
|
* Make eax_aes128 interface public.Niels Möller2014-02-131-0/+1
|
* Implemented chacha-poly1305.Niels Möller2014-02-121-0/+1
|
* Generalized nettle_aead abstraction, and moved to nettle-meta.h.Niels Möller2014-02-121-0/+25
|
* Deleted _NETTLE_CIPHER.Niels Möller2014-02-061-12/+1
|
* Deleted _NETTLE_CIPHER_FIX.Niels Möller2014-02-061-11/+0
|
* Deleted _NETTLE_CIPHER_SEP and _NETTLE_CIPHER_SEP_SET_KEY.Niels Möller2014-02-061-22/+0
|
* Revert to unsigned in struct nettle_cipher.Niels Möller2013-04-261-3/+3
|
* Use size_t rather than unsigned for all cipher-related functions.Niels Möller2013-04-261-3/+3
|
* Added sha3 variants with other digest sizes.Niels Möller2013-01-011-0/+3
|
* Implemented sha3.Niels Möller2012-11-121-0/+1
|
* Added gosthash, ported from rhash by Nikos Mavrogiannopoulos.Niels Möller2012-11-081-0/+1
|
* 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
|
* * nettle-meta.h: Declare nettle_ripemd160.Andres Mejia2011-08-281-0/+1
| | | | Rev: nettle/nettle-meta.h:1.11
* Contributed by Daniel Kahn Gillmor:Daniel Kahn Gillmor2011-03-231-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | * testsuite/Makefile.in (TS_NETTLE_SOURCES): Added meta-hash-test.c, meta-cipher-test.c, and meta-armor-test.c. * nettle.texinfo: Document nettle_hashes and nettle_ciphers. * nettle-meta.h: Declare algorithm lists nettle_ciphers, nettle_hashes, nettle_armors. * Makefile.in (nettle_SOURCES): Added nettle-meta-hashes.c, nettle-meta-ciphers.c, and nettle-meta-armors.c. * nettle-meta-armors.c: New file. * nettle-meta-ciphers.c: New file. * nettle-meta-hashes.c: New file. Rev: nettle/ChangeLog:1.159 Rev: nettle/Makefile.in:1.32 Rev: nettle/nettle-meta-armors.c:1.1 Rev: nettle/nettle-meta-ciphers.c:1.1 Rev: nettle/nettle-meta-hashes.c:1.1 Rev: nettle/nettle-meta.h:1.10 Rev: nettle/nettle.texinfo:1.22
* Renamed some macro arguments.Niels Möller2011-02-141-9/+9
| | | | Rev: nettle/nettle-meta.h:1.9
* (_NETTLE_CIPHER_FIX): Deleted keysize parameter.Niels Möller2011-02-141-2/+2
| | | | Rev: nettle/nettle-meta.h:1.8
* (_NETTLE_CIPHER_SEP_SET_KEY): New macro.Niels Möller2010-07-201-0/+11
| | | | Rev: nettle/nettle-meta.h:1.7
* (nettle_camellia128): Declare.Niels Möller2010-07-071-0/+5
| | | | | | | (nettle_camellia192): Likewise. (nettle_camellia256): Likewise. Rev: nettle/nettle-meta.h:1.6
* New file.Niels Möller2010-03-261-0/+1
| | | | | Rev: nettle/nettle-meta.h:1.5 Rev: nettle/sha224-meta.c:1.1
* * Makefile.in (nettle_SOURCES): Added sha384-meta.c.Niels Möller2010-03-251-0/+1
| | | | | | | | | | | | | | | | | | | * sha384-meta.c: New file. * sha.h: Added declarations for sha384. Some are aliases for the corresponding sha512 definition. * sha512.c (sha512_write_digest): New function. (sha512_digest): Use it. (sha384_init): New function. (sha384_digest): New function. Rev: nettle/ChangeLog:1.59 Rev: nettle/Makefile.in:1.19 Rev: nettle/nettle-meta.h:1.4 Rev: nettle/sha.h:1.5 Rev: nettle/sha384-meta.c:1.1 Rev: nettle/sha512.c:1.4
* * Makefile.in (nettle_SOURCES): Added sha512.c and sha512-meta.c.Niels Möller2010-03-221-0/+1
| | | | | | | | | | | | | | * sha.h: Added SHA-512-related declarations. * nettle-meta.h: Likewise. * sha512-meta.c: New file. * sha512.c: New file. Rev: nettle/Makefile.in:1.14 Rev: nettle/nettle-meta.h:1.3 Rev: nettle/sha.h:1.2 Rev: nettle/sha512-meta.c:1.1 Rev: nettle/sha512.c:1.1
* Moved all typedefs for function types to nettle-types.h. UseNiels Möller2008-11-011-98/+54
| | | | | | | | | | | | | | | | | | | | non-pointer types, so that the types can be used to declare functions. Updated all users. Rev: nettle/arcfour-meta.c:1.2 Rev: nettle/cbc.h:1.2 Rev: nettle/des-compat.c:1.2 Rev: nettle/examples/nettle-benchmark.c:1.3 Rev: nettle/examples/nettle-openssl.c:1.2 Rev: nettle/examples/rsa-encrypt.c:1.2 Rev: nettle/examples/rsa-keygen.c:1.2 Rev: nettle/nettle-internal.c:1.2 Rev: nettle/nettle-meta.h:1.2 Rev: nettle/nettle-types.h:1.2 Rev: nettle/testsuite/dsa-keygen-test.c:1.3 Rev: nettle/testsuite/rsa-encrypt-test.c:1.3 Rev: nettle/testsuite/rsa-keygen-test.c:1.3 Rev: nettle/testsuite/testutils.c:1.3
* 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
* No longer needs to include cbc.h.Niels Möller2005-07-021-3/+0
| | | | Rev: src/nettle/nettle-meta.h:1.14