- 01 Oct, 2019 3 commits
-
-
Niels Möller authored
* testsuite/testutils.c (test_cipher_cfb8): Reset destination area between tests. Encrypt/decrypt final partial block.
-
Niels Möller authored
-
Daiki Ueno authored
Previously cfb8_decrypt didn't update the IV if the input is shorter than the AES block size. Reported by Stephan Mueller. Signed-off-by:
Daiki Ueno <dueno@redhat.com>
-
- 30 Sep, 2019 2 commits
-
-
Niels Möller authored
-
Niels Möller authored
-
- 26 Sep, 2019 1 commit
-
-
Niels Möller authored
-
- 15 Sep, 2019 8 commits
-
-
Niels Möller authored
-
Niels Möller authored
-
Dmitry Baryshkov authored
Russian technical comitee working on standartization of cryptography algorithms has published the document describing usage of GOST R 34.11-94 hash function with PBKDF2 algorithm (MR 26.2.001-2012). Add test vectors from that document and a special function implementing Nettle interface for PBKDF2 using gosthash94cp. Signed-off-by:
Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
-
Dmitry Baryshkov authored
GOST hash functions can be used to generate MAC using HMAC algorithm. Add functions implementing HMAC with GOSTHASH94/GOSTHASH94CP. Signed-off-by:
Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
-
Dmitry Baryshkov authored
Add entries for gosthash94 and gosthash94cp in nettle_hashes array. Signed-off-by:
Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
-
Dmitry Baryshkov authored
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>
-
Dmitry Baryshkov authored
Hash function GOST R 34.11-94 (gosthash94) in its compression function uses Russian block cipher (GOST 28147-89, Magma). Start separating block cipher code from hash function code. For now there is no public interface for this cipher, it will be added later. Signed-off-by:
Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
-
Niels Möller authored
-
- 14 Sep, 2019 1 commit
-
-
Niels Möller authored
-
- 04 Sep, 2019 3 commits
-
-
Dmitry Baryshkov authored
Move GCM's block shift function to block-internal.h. This concludes moving of all Galois mul-by-2 to single header. Signed-off-by:
Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
-
Dmitry Baryshkov authored
Move Galois polynomial shifts to block-internal.h, simplifying common code. GCM is left unconverted for now, this will be fixed later. Signed-off-by:
Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
-
Dmitry Baryshkov authored
Add common implementations for functions doing XOR over nettle_block16/nettle_block8. Signed-off-by:
Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
-
- 03 Sep, 2019 2 commits
-
-
Dmitry Baryshkov authored
CMAC64 uses block8, rather than block16. Signed-off-by:
Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
-
Dmitry Baryshkov authored
Remove last usage of unsigned long member of nettle_block16. Signed-off-by:
Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
-
- 23 Aug, 2019 1 commit
-
-
Niels Möller authored
-
- 22 Jul, 2019 1 commit
-
-
Dmitry Baryshkov authored
-
- 21 Jul, 2019 1 commit
-
-
Niels Möller authored
-
- 10 Jul, 2019 4 commits
-
-
Niels Möller authored
-
Dmitry Baryshkov authored
Implement CMAC using TrippleDES as underlying cipher. Signed-off-by:
Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
-
Niels Möller authored
-
Dmitry Baryshkov authored
Signed-off-by:
Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
-
- 08 Jul, 2019 3 commits
-
-
Niels Möller authored
-
Niels Möller authored
-
Niels Möller authored
-
- 02 Jul, 2019 4 commits
-
-
Niels Möller authored
-
Dmitry Baryshkov authored
Signed-off-by:
Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
-
Simo Sorce authored
When performing ECDH the peer provided public key needs to be checked for validity. FIPS requires basic tests be performed to insure the provided points are in fact on the selected curve. Those checks already exists in the ecc_point_set() function. Add an explicit test that checks the boundaries so that any regression in checks will be caught. Signed-off-by:
Simo Sorce <simo@redhat.com>
-
Niels Möller authored
-
- 26 Jun, 2019 2 commits
-
-
Niels Möller authored
-
Niels Möller authored
-
- 25 Jun, 2019 1 commit
-
-
Niels Möller authored
-
- 15 Jun, 2019 2 commits
-
-
Niels Möller authored
-
Wim Lewis authored
-
- 06 Jun, 2019 1 commit
-
-
Niels Möller authored
The cmac changes on master breaks the previous version of the siv code. Now updated, and improved to use const context arguments for the _message functions.
-