Branch: Tag:

2023-06-19

2023-06-19 08:16:50 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [Crypto.AEAD]: Improve defaults for test_aead().

2023-06-18

2023-06-18 11:50:54 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [Crypto.AES.OCB]: Add testvectors from RFC 7253.

2023-06-16

2023-06-16 08:18:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [Crypto.AES.CCM]: Update AEAD tests to actually run.

2023-06-07

2023-06-07 15:47:48 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [Crypto.SHA512]: Fix multiple typos.

2022-06-18

2022-06-18 11:59:39 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.Password: Fix support for Django-style pbkdf2_sha256.

2021-05-28

2021-05-28 17:00:00 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [Crypto.Password]: Added some tests of Crypto.MD5.crypt_php().

2021-04-14

2021-04-14 13:50:39 by Martin Nilsson <nilsson@fastmail.com>

Added verification support for default Django password encoding.

2020-05-24

2020-05-24 11:55:50 by Stephen R. van den Berg <srb@cuci.nl>

Crypto.testsuite: Character was mistaken for a wide character.

2020-04-01

2020-04-01 15:03:05 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [Crypto.Password]: Added some more vectors for bcrypt.

2020-03-23

2020-03-23 12:11:12 by Stephen R. van den Berg <srb@cuci.nl>

Crypto.Password: Add two countertests to the testsuite for sanity.

2020-03-23 12:00:55 by Stephen R. van den Berg <srb@cuci.nl>

Crypt.Password: Support bcrypt hashing.

2020-03-16

2020-03-16 17:27:15 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [Crypto]: Added note about EMSA-PSS needing tests.

2019-12-09

2019-12-09 16:50:41 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.Password: Added support for NetBSD-style crypt_sha1().

2019-10-28

2019-10-28 10:50:42 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [Crypto.Password]: Disabled test for invalid salt.

2019-10-26

2019-10-26 10:08:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [Crypto.Password]: Added some more test vectors.

2019-10-25

2019-10-25 16:19:17 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.Password: Added support for PBKDF2 password hashes.

These are hashes generated by Python PassLib and Phpass.

2019-03-19

2019-03-19 12:33:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge commit '722771973bd' into patches/lyslyskom22891031

* commit '722771973bd': (6177 commits)
Verify that callablep responses are aligned with reality.
...

2019-03-14

2019-03-14 10:39:03 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge commit '2470270f500c728d10b8895314d8d8b07016e37b' into grubba/typechecker-automap

* commit '2470270f500c728d10b8895314d8d8b07016e37b': (18681 commits)
Removed the old typechecker.
...

2018-11-04

2018-11-04 16:11:11 by Arne Goedeke <el@laramies.com>

Merge remote-tracking branch 'origin/master' into new_utf8

2018-11-03

2018-11-03 14:21:37 by Marcus Comstedt <marcus@mc.pp.se>

Merge remote-tracking branch 'origin/8.1' into gobject-introspection

2018-03-03

2018-03-03 12:21:41 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [Crypto.HMAC]: Added some mode HMAC tests.

2018-02-15

2018-02-15 15:54:26 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge commit '75c9d1806f1a69ca21c27a2c2fe1b4a6ea38e77e' into patches/pike63

* commit '75c9d1806f1a69ca21c27a2c2fe1b4a6ea38e77e': (19587 commits)
...

2017-12-31

2017-12-31 23:19:10 by Peter Bortas <bortas@gmail.com>

Merge remote-tracking branch 'origin/8.1' into peter/travis

2017-12-11

2017-12-11 21:31:18 by Martin Nilsson <nilsson@fastmail.com>

Added SHA512/224 and SHA512/256

2017-12-11 21:31:18 by Martin Nilsson <nilsson@fastmail.com>

M4 sucks (fix size limit)

2017-12-06

2017-12-06 14:21:47 by Martin Nilsson <nilsson@fastmail.com>

RC4 is alias for Arcfour

2017-11-30

2017-11-30 12:09:42 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.Hash.SCRAM: Moved class.

Move Crypto.SCRAM to __builtin.Nettle.Hash()->SCRAM analogous to
other similar APIs.

Crypto.SCRAM(Crypto.SHA256) is now Crypto.SHA256.SCRAM().

Also updates the testsuite and Sql.pgsql_util accordingly.

2017-11-30 11:52:51 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.Hash.SCRAM: Moved class.

Move Crypto.SCRAM to __builtin.Nettle.Hash()->SCRAM analogous to
other similar APIs.

Crypto.SCRAM(Crypto.SHA256) is now Crypto.SHA256.SCRAM().

Also updates the testsuite and Sql.pgsql_util accordingly.

2017-11-21

2017-11-21 01:26:02 by Stephen R. van den Berg <srb@cuci.nl>

Crypto.SCRAM: New module.

2017-11-20

2017-11-20 19:51:46 by Martin Nilsson <nilsson@fastmail.com>

Checked with Python.

2017-11-20 16:56:53 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [Crypto]: Added some vectors for SHA256.

2017-11-19

2017-11-19 14:40:34 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite: Fixed some typos in previous commit.

2017-11-19 10:56:12 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite: Test Crypto.Hash.HMAC.

2017-11-13

2017-11-13 16:17:08 by Martin Nilsson <nilsson@fastmail.com>

Remove untrue comment.

2017-11-13 13:48:20 by Stephen R. van den Berg <srb@cuci.nl>

Crypto.SCRAM: Streamline API and update docs.

2017-11-13 12:38:02 by Stephen R. van den Berg <srb@cuci.nl>

Crypto.SCRAM: API updated, implemented serverside and testsuite.

2017-09-22

2017-09-22 13:58:45 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [Crypto]: Test JWK-codec.

2017-09-22 12:27:10 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [Crypto]: Test JWK-codec.

2017-08-01

2017-08-01 21:56:39 by Martin Nilsson <nilsson@fastmail.com>

Fixed digest_info.

2017-07-16

2017-07-16 16:05:44 by Martin Nilsson <nilsson@fastmail.com>

NTLM hash added

2017-05-30

2017-05-30 13:24:46 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [Crypto]: Added some test vectors for Curve25519.EdDSA.

Vectors from RFC 8032.

2017-03-24

2017-03-24 17:14:44 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [Crypto.ECC.Curve25519]: Added some trivial tests.

2016-06-16

2016-06-16 17:26:28 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.NTLM: Added some primitives from [MS-NLMP].

2016-05-06

2016-05-06 11:06:13 by Martin Nilsson <nilsson@fastmail.com>

Don't pretend jwa is a variable, to be consistent with name(), digest_size() etc.

2016-05-06 11:05:35 by Martin Nilsson <nilsson@fastmail.com>

Don't pretend jwa is a variable, to be consistent with name(), digest_size() etc.

2016-05-04

2016-05-04 13:21:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

__builtin.Nettle.MAC: Added support for HMAC-based JWS signatures.

2016-05-04 09:58:11 by Henrik Grubbström (Grubba) <grubba@grubba.org>

__builtin.Nettle.MAC: Added support for HMAC-based JWS signatures.

2016-04-27

2016-04-27 14:36:12 by Martin Nilsson <nilsson@fastmail.com>

Test HMAC jwa constants.

2016-04-27 14:35:51 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [Crypto]: Added some tests of JOSE JWS.

Test vectors taken from RFC 7515 A.2.1 and A.3.1.

2016-04-26

2016-04-26 23:15:43 by Martin Nilsson <nilsson@fastmail.com>

Some blowfish keys are weak, for which an exception is thrown. Make the test deterministic to avoid rare failures because of this.

2016-04-19

2016-04-19 22:49:30 by Martin Nilsson <nilsson@fastmail.com>

Test HMAC jwa constants.

2016-04-19 14:55:52 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [Crypto]: Added some tests of JOSE JWS.

Test vectors taken from RFC 7515 A.2.1 and A.3.1.

2016-02-22

2016-02-22 16:20:48 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [Crypto]: Updated vectors for SSL3_* to FIPS 202.

Fixes quite a few testsuite failures with recent Nettle.

2016-02-22 16:18:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [Crypto]: Updated vectors for SSL3_* to FIPS 202.

Fixes quite a few testsuite failures with recent Nettle.

2016-01-15

2016-01-15 05:42:50 by Martin Nilsson <nilsson@fastmail.com>

Added HMAC-based One-Time Password generator.

2015-12-01

2015-12-01 01:59:36 by Martin Nilsson <nilsson@fastmail.com>

Let hex2string deal with non-hex characters.

2015-11-14

2015-11-14 12:42:54 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA: Cleaned up RSASSA-PSS API.

It is now possible to get a PSS signature object from an RSA state by
indexing it with "PSS". Eg

Crypto.RSA.State rsa = ...;
string(8bit) sign = rsa->PSS->pkcs_sign(message, hash);
int(0..1) ok = rsa->PSS->pkcs_verify(message, hash, sign);

Also adds a corresponding symbol "PKCS1_5" for the traditional (and
default) PKCS#1 1.5 style signatures.

2015-11-09

2015-11-09 13:34:21 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA: Added pss_{sign,verify}() implementing RSASSA-PSS.

Note: This is a temporary API as it is not compatible with
the __builtin.Nettle.Sign API.

2015-10-20

2015-10-20 12:35:19 by Martin Nilsson <nilsson@opera.com>

Change CAMELLIA to Camellia to be consistent with other non-acronym ciphers.

2015-05-26

2015-05-26 10:33:42 by Martin Nilsson <nilsson@opera.com>

Removed trailing spaces.

2015-03-05

2015-03-05 17:58:41 by Martin Nilsson <nilsson@opera.com>

Latest FFDHE draft is a bit inconsistent with protocol definitions and defined fields. It appears though like 2048 is replaced with 2432, though 2432 isn't defined in the appendix.

2015-01-25

2015-01-25 01:33:56 by Martin Nilsson <nilsson@opera.com>

Changed curve() into get_curve() to be consistent with the other methods, and to properly mask the get_curve() in Nettle.ECC_Curve.ECDSA.

2015-01-25 01:31:10 by Martin Nilsson <nilsson@opera.com>

Changed curve() into get_curve() to be consistent with the other methods, and to properly mask the get_curve() in Nettle.ECC_Curve.ECDSA.

2015-01-25 01:12:43 by Martin Nilsson <nilsson@opera.com>

Added some basic Point support.

2015-01-25 00:57:00 by Martin Nilsson <nilsson@opera.com>

Synchronize with latest FF-DHE draft.

2015-01-25 00:47:14 by Martin Nilsson <nilsson@opera.com>

Fixed testsuite after name changes. Added FFDHE2048 test case.

2014-12-04

2014-12-04 19:26:54 by Martin Nilsson <nilsson@opera.com>

Improved RSA en/decrypt test a bit.

2014-12-04 19:26:44 by Martin Nilsson <nilsson@opera.com>

Renamed the misnamed asn1_id to pkcs_hash_id

2014-12-04 19:26:39 by Martin Nilsson <nilsson@opera.com>

Updated some tests. The actual seed value is not important. Also random data is not extracted in the background to update the seed value anymore.

2014-12-04 19:26:05 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite: Updated the Nettle and Crypto testsuites.

Both the new and the old Crypto APIs should now be tested.

2014-12-04 19:25:52 by Martin Nilsson <nilsson@opera.com>

Cleanup

2014-12-04 19:25:45 by Martin Nilsson <nilsson@opera.com>

Resolve DSA in 7.8 mode as well.

2014-12-04 19:25:45 by Martin Nilsson <nilsson@opera.com>

Replaced Yarrow with Fortuna. This implementation is about 35 times faster than the old one. The output has been verified against NIST statistical test suite 2.1.1.

2014-12-04 19:25:43 by Martin Nilsson <nilsson@opera.com>

Set Crypto.Random.random_string as default random generator for ECDSA.

2014-12-04 19:25:42 by Martin Nilsson <nilsson@opera.com>

Added block_size() and digest_size() to HMAC

2014-12-04 19:25:40 by Martin Nilsson <nilsson@opera.com>

Try harder to be constant time.

2014-12-04 19:25:40 by Martin Nilsson <nilsson@opera.com>

Added PAD_TLS. Works as PAD_SSL did. Changed PAD_SSL to not verify the padding.

2014-12-04 19:25:37 by Martin Nilsson <nilsson@opera.com>

PAD_SSL will now pad with the size and not random data. unpad now verifies the padding.

2014-12-04 19:25:35 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.CCM: Added Counter with CBC-MAC mode.

This cipher mode is specified in NIST Special Publication 800-38C.

2014-12-04 19:25:14 by Martin Nilsson <nilsson@opera.com>

Some simple API tests for ECC/ECDSA

2014-12-04 19:25:03 by Martin Nilsson <nilsson@opera.com>

Minor fixes to padding.

2014-12-04 19:24:51 by Martin Nilsson <nilsson@opera.com>

Use Nettle dsa_generate_keypair to generate keys. This is slower, but safer.

2014-12-04 19:24:50 by Martin Nilsson <nilsson@opera.com>

Tests for pbkdf1 and pbkdf2.

2014-12-04 19:24:50 by Martin Nilsson <nilsson@opera.com>

Change CAMELLIA to Camellia to be consistent with other non-acronym ciphers.

2014-12-04 19:24:48 by Martin Nilsson <nilsson@opera.com>

Some fixes to the Pike key generation. Check that e is usable. Have the test message be short enough to actually work for small key sizes. Don't depend on MD5.

2014-12-04 19:24:48 by Martin Nilsson <nilsson@opera.com>

Added hash functions GOST94 and RIPEMD160. All Nettle hashes are now accounted for.

2014-12-04 19:24:44 by Martin Nilsson <nilsson@opera.com>

Fix testsuite

2014-12-04 19:24:42 by Martin Nilsson <nilsson@opera.com>

Changed asn1_id to return the ASN1 Identifier object.

2014-12-04 19:24:41 by Martin Nilsson <nilsson@opera.com>

Actually test that the generated DSA signature works.

2014-12-04 19:24:40 by Martin Nilsson <nilsson@opera.com>

Added SHA224.

2014-12-04 19:24:39 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto: Check for hash availability.

Some of the hashes are not available in old versions of Nettle,
so test for their presence before attempting to use them.

2014-12-04 19:24:36 by Martin Nilsson <nilsson@opera.com>

Added SHA-3.

2014-12-04 19:24:35 by Martin Nilsson <nilsson@opera.com>

Added support for SALSA20. A bit of copy and paste in the cipher implementation, but it felt excessive to add #cmod_define_block/#cmod_end_block or similar meta programming.

2014-12-04 19:24:18 by Martin Nilsson <nilsson@opera.com>

Restructured RSA and DSA so that they resemble each other in structure
and interface.

Deprecated
RSA->cooked_get_n
RSA->cooked_get_e
RSA->cooked_get_d
RSA->cooked_get_p
RSA->cooked_get_q
RSA->cooked_sign
RSA->query_blocksize (now block_size)
RSA->rsa_size (now key_size)
RSA->md5_sign
RSA->md5_verify
RSA->sha_sign
RSA->sha_verify
DSA->sign_rsaref
DSA->verify_rsaref

2014-12-04 19:24:16 by Martin Nilsson <nilsson@opera.com>

Updated the cipher API tests

2014-12-04 19:24:16 by Martin Nilsson <nilsson@opera.com>

Add CAMELLIA to Cipher API tests

2014-12-04 19:24:14 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle.Cipher: Major refactoring of the ciphers.

The cipher state now uses parent pointers instead of mixins.

Renamed Nettle.<CIPHER>_Info to Nettle.<CIPHER> and
moved Nettle.<CIPHER>_State to Nettle.<CIPHER>.State.

Adjusted the corresponding code in Crypto, so that the APIs
there should be the same as before.

2014-12-04 19:24:14 by Martin Nilsson <nilsson@opera.com>

Back to 0 skipped tests.

2014-12-04 19:24:00 by Martin Nilsson <nilsson@opera.com>

Test non-integral block calls of Buffer

2014-12-04 19:23:36 by Martin Nilsson <nilsson@opera.com>

This should be apply, not safe_apply.

2014-12-04 19:23:36 by Martin Nilsson <nilsson@opera.com>

Use the static program id for Fd/Fd_ref instead of looking up the program. This should perhaps be put somewhere more central.

2014-12-04 19:23:26 by Martin Nilsson <nilsson@opera.com>

Test for verify on {crypt} with empty hash.

2014-12-04 19:23:26 by Martin Nilsson <nilsson@opera.com>

Some Password tests.

2014-12-04 19:23:19 by Martin Nilsson <nilsson@opera.com>

SHA152 -> SHA512

2014-12-04 19:23:15 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto: Added the crypt_hash() function from SHA-crypt.

This implements the hashing function used in modern POSIX
operating systems. Implemented from the reference document
http://www.akkadia.org/drepper/SHA-crypt.txt

Added test vectors for Crypto.SHA256.crypt_hash() and
Crypto.SHA512.crypt_hash() from the above reference.

2014-12-03

2014-12-03 16:58:35 by Martin Nilsson <nilsson@opera.com>

A few more error cases.

2014-12-03 16:52:29 by Martin Nilsson <nilsson@opera.com>

Test the hash-a-buffer features.

2014-10-20

2014-10-20 17:43:18 by Martin Nilsson <nilsson@opera.com>

Adjusted tests for new key size.

2014-10-20 17:40:02 by Martin Nilsson <nilsson@opera.com>

Adjusted tests for new key size.

2014-10-20 16:11:20 by Martin Nilsson <nilsson@opera.com>

Nettle 2.0 have 489 bits as minimum key size.

2014-10-20 15:55:57 by Martin Nilsson <nilsson@opera.com>

Nettle 2.0 have 489 bits as minimum key size.

2014-10-20 15:45:24 by Martin Nilsson <nilsson@opera.com>

Fix for systems without ECC

2014-10-20 15:29:39 by Martin Nilsson <nilsson@opera.com>

Fix for systems without ECC

2014-10-13

2014-10-13 16:35:46 by Martin Nilsson <nilsson@opera.com>

Simple tests of DH groups.

2014-09-07

2014-09-07 19:41:38 by Martin Nilsson <nilsson@opera.com>

Tests for the RSA-padding bug in pkcs_verify.

2014-09-04

2014-09-04 15:57:43 by Arne Goedeke <el@laramies.com>

Merge remote-tracking branch 'origin/8.0' into string_alloc

Conflicts:
src/stralloc.c

2014-08-25

2014-08-25 15:42:18 by Martin Nilsson <nilsson@opera.com>

Use cast instead of _encode.

2014-07-25

2014-07-25 19:40:20 by Martin Nilsson <nilsson@opera.com>

Improved RSA en/decrypt test a bit.

2014-06-27

2014-06-27 16:47:37 by Martin Nilsson <nilsson@opera.com>

Renamed the misnamed asn1_id to pkcs_hash_id

2014-06-20

2014-06-20 14:29:08 by Martin Nilsson <nilsson@opera.com>

Updated some tests. The actual seed value is not important. Also random data is not extracted in the background to update the seed value anymore.

2014-05-02

2014-05-02 11:03:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite: Updated the Nettle and Crypto testsuites.

Both the new and the old Crypto APIs should now be tested.

2014-04-18

2014-04-18 11:53:26 by Martin Nilsson <nilsson@opera.com>

Cleanup

2014-04-05

2014-04-05 23:21:05 by Martin Nilsson <nilsson@opera.com>

Resolve DSA in 7.8 mode as well.

2014-04-05 21:55:19 by Martin Nilsson <nilsson@opera.com>

Replaced Yarrow with Fortuna. This implementation is about 35 times faster than the old one. The output has been verified against NIST statistical test suite 2.1.1.

2014-04-02

2014-04-02 15:51:20 by Martin Nilsson <nilsson@opera.com>

Set Crypto.Random.random_string as default random generator for ECDSA.

2014-03-29

2014-03-29 19:07:34 by Martin Nilsson <nilsson@opera.com>

Added block_size() and digest_size() to HMAC

2014-03-26

2014-03-26 23:21:44 by Martin Nilsson <nilsson@opera.com>

Try harder to be constant time.

2014-03-26 22:50:12 by Martin Nilsson <nilsson@opera.com>

Added PAD_TLS. Works as PAD_SSL did. Changed PAD_SSL to not verify the padding.

2014-03-19

2014-03-19 15:57:36 by Martin Nilsson <nilsson@opera.com>

PAD_SSL will now pad with the size and not random data. unpad now verifies the padding.

2014-03-17

2014-03-17 19:46:47 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.CCM: Added Counter with CBC-MAC mode.

This cipher mode is specified in NIST Special Publication 800-38C.

2014-01-29

2014-01-29 17:43:52 by Martin Nilsson <nilsson@opera.com>

Some simple API tests for ECC/ECDSA

2014-01-05

2014-01-05 15:14:13 by Marcus Comstedt <marcus@mc.pp.se>

Merge branch '8.0' into gobject-introspection

2014-01-03

2014-01-03 00:34:21 by Martin Nilsson <nilsson@opera.com>

Minor fixes to padding.

2013-12-02

2013-12-02 16:05:26 by Martin Nilsson <nilsson@opera.com>

Use Nettle dsa_generate_keypair to generate keys. This is slower, but safer.

2013-12-02 01:28:10 by Martin Nilsson <nilsson@opera.com>

Change CAMELLIA to Camellia to be consistent with other non-acronym ciphers.

2013-11-30

2013-11-30 22:31:45 by Martin Nilsson <nilsson@opera.com>

Tests for pbkdf1 and pbkdf2.

2013-11-30 02:40:33 by Martin Nilsson <nilsson@opera.com>

Added hash functions GOST94 and RIPEMD160. All Nettle hashes are now accounted for.

2013-11-29

2013-11-29 16:05:18 by Martin Nilsson <nilsson@opera.com>

Some fixes to the Pike key generation. Check that e is usable. Have the test message be short enough to actually work for small key sizes. Don't depend on MD5.

2013-11-22

2013-11-22 00:54:31 by Martin Nilsson <nilsson@opera.com>

Fix testsuite

2013-11-21

2013-11-21 21:09:54 by Martin Nilsson <nilsson@opera.com>

Changed asn1_id to return the ASN1 Identifier object.

2013-11-20

2013-11-20 18:14:21 by Martin Nilsson <nilsson@opera.com>

Actually test that the generated DSA signature works.

2013-11-19

2013-11-19 16:55:31 by Martin Nilsson <nilsson@opera.com>

Added SHA224.

2013-11-17

2013-11-17 18:20:30 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto: Check for hash availability.

Some of the hashes are not available in old versions of Nettle,
so test for their presence before attempting to use them.

2013-11-14

2013-11-14 19:23:37 by Martin Nilsson <nilsson@opera.com>

Added SHA-3.

2013-11-12

2013-11-12 15:45:06 by Martin Nilsson <nilsson@opera.com>

Added support for SALSA20. A bit of copy and paste in the cipher implementation, but it felt excessive to add #cmod_define_block/#cmod_end_block or similar meta programming.

2013-10-28

2013-10-28 16:57:40 by Martin Nilsson <nilsson@opera.com>

Restructured RSA and DSA so that they resemble each other in structure
and interface.

Deprecated
RSA->cooked_get_n
RSA->cooked_get_e
RSA->cooked_get_d
RSA->cooked_get_p
RSA->cooked_get_q
RSA->cooked_sign
RSA->query_blocksize (now block_size)
RSA->rsa_size (now key_size)
RSA->md5_sign
RSA->md5_verify
RSA->sha_sign
RSA->sha_verify
DSA->sign_rsaref
DSA->verify_rsaref

2013-10-26

2013-10-26 02:23:31 by Martin Nilsson <nilsson@opera.com>

Add CAMELLIA to Cipher API tests

2013-10-26 02:23:31 by Martin Nilsson <nilsson@opera.com>

Updated the cipher API tests

2013-10-21

2013-10-21 21:47:32 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle.Cipher: Major refactoring of the ciphers.

The cipher state now uses parent pointers instead of mixins.

Renamed Nettle.<CIPHER>_Info to Nettle.<CIPHER> and
moved Nettle.<CIPHER>_State to Nettle.<CIPHER>.State.

Adjusted the corresponding code in Crypto, so that the APIs
there should be the same as before.

2013-10-21 15:25:42 by Martin Nilsson <nilsson@opera.com>

Back to 0 skipped tests.

2013-08-13

2013-08-13 12:46:06 by Martin Nilsson <nilsson@opera.com>

Test non-integral block calls of Buffer

2013-06-21

2013-06-21 09:18:55 by Arne Goedeke <el@laramies.com>

Merge remote-tracking branch 'origin/7.9' into pdf

2013-06-11

2013-06-11 23:50:34 by Arne Goedeke <el@laramies.com>

Merge remote-tracking branch 'origin/7.9' into ba

2013-06-09

2013-06-09 00:26:25 by Martin Nilsson <nilsson@opera.com>

This should be apply, not safe_apply.

2013-06-09 00:15:02 by Martin Nilsson <nilsson@opera.com>

Use the static program id for Fd/Fd_ref instead of looking up the program. This should perhaps be put somewhere more central.

2013-05-20

2013-05-20 13:11:25 by Martin Nilsson <nilsson@opera.com>

Test for verify on {crypt} with empty hash.

2013-05-20 11:52:47 by Martin Nilsson <nilsson@opera.com>

Some Password tests.

2013-04-17

2013-04-17 12:14:06 by Martin Nilsson <nilsson@opera.com>

SHA152 -> SHA512

2013-03-07

2013-03-07 17:57:10 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto: Added the crypt_hash() function from SHA-crypt.

This implements the hashing function used in modern POSIX
operating systems. Implemented from the reference document
http://www.akkadia.org/drepper/SHA-crypt.txt

Added test vectors for Crypto.SHA256.crypt_hash() and
Crypto.SHA512.crypt_hash() from the above reference.

2013-03-07 17:55:36 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto: Added the crypt_hash() function from SHA-crypt.

This implements the hashing function used in modern POSIX
operating systems. Implemented from the reference document
http://www.akkadia.org/drepper/SHA-crypt.txt

Added test vectors for Crypto.SHA256.crypt_hash() and
Crypto.SHA512.crypt_hash() from the above reference.

2011-11-05

2011-11-05 15:02:44 by Martin Nilsson <nilsson@opera.com>

Removed $Id$.

2011-04-25

2011-04-25 16:41:40 by Martin Stjernholm <mast@lysator.liu.se>

No more foreign_idents.

More pain than they are worth.

2011-04-25 16:12:40 by Martin Stjernholm <mast@lysator.liu.se>

No more foreign_idents.

2011-04-25 16:11:00 by Martin Stjernholm <mast@lysator.liu.se>

No more foreign_idents.

2010-06-22

2010-06-22 12:57:18 by Martin Nilsson <mani@lysator.liu.se>

Added multiple padding algorithms.

Rev: lib/modules/Crypto.pmod/module.pmod:1.44
Rev: lib/modules/Crypto.pmod/testsuite.in:1.46
Rev: src/post_modules/Nettle/nettle.cmod:1.57

2010-06-06

2010-06-06 20:22:36 by Martin Nilsson <mani@lysator.liu.se>

Actually test Crypto.Buffer with more than one block

Rev: lib/modules/Crypto.pmod/testsuite.in:1.45

2010-06-06 20:21:53 by Martin Nilsson <mani@lysator.liu.se>

Actually test Crypto.Buffer with more than one block

Rev: lib/modules/Crypto.pmod/testsuite.in:1.44

2009-07-02

2009-07-02 09:32:01 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Revert and remake of the Nettle.Yarrow()->get_seed() test.

Rev: lib/modules/Crypto.pmod/testsuite.in:1.43

2009-07-01

2009-07-01 19:07:25 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Changed and documented behaviour of Nettle.Yarrow()->get_seed().

Rev: lib/modules/Crypto.pmod/testsuite.in:1.42
Rev: src/post_modules/Nettle/nettle.cmod:1.50

2008-05-16

2008-05-16 11:30:31 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Now supports old Nettles without MD2 and MD4 again.

Rev: lib/modules/Crypto.pmod/testsuite.in:1.41

2008-04-15

2008-04-15 02:11:48 by Martin Nilsson <mani@lysator.liu.se>

A few more tests.

Rev: lib/modules/Crypto.pmod/testsuite.in:1.40

2005-02-18

2005-02-18 18:06:57 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Arcfour allows a single character key.
Now tests with the empty key instead.

Rev: lib/modules/Crypto.pmod/testsuite.in:1.39

2004-05-02

2004-05-02 18:46:49 by Martin Nilsson <mani@lysator.liu.se>

Added markers

Rev: lib/7.0/modules/testsuite.in:1.3
Rev: lib/7.2/modules/testsuite.in:1.2
Rev: lib/7.4/modules/Crypto.pmod/testsuite.in:1.12
Rev: lib/7.4/modules/testsuite.in:1.2
Rev: lib/modules/ADT.pmod/testsuite.in:1.15
Rev: lib/modules/Calendar.pmod/testsuite.in:1.12
Rev: lib/modules/Crypto.pmod/testsuite.in:1.38
Rev: lib/modules/Filesystem.pmod/testsuite.in:1.2
Rev: lib/modules/Graphics.pmod/Graph.pmod/testsuite.in:1.3
Rev: lib/modules/Parser.pmod/LR.pmod/testsuite.in:1.2
Rev: lib/modules/Parser.pmod/XML.pmod/testsuite.in:1.5
Rev: lib/modules/Pike.pmod/testsuite.in:1.3
Rev: lib/modules/Protocols.pmod/XMLRPC.pmod/testsuite.in:1.2
Rev: lib/modules/SSL.pmod/testsuite.in:1.8
Rev: lib/modules/Standards.pmod/ASN1.pmod/testsuite.in:1.8
Rev: lib/modules/Standards.pmod/testsuite.in:1.12
Rev: lib/modules/Stdio.pmod/testsuite.in:1.6
Rev: lib/modules/Tools.pmod/testsuite.in:1.11
Rev: lib/modules/Web.pmod/testsuite.in:1.10
Rev: lib/modules/Yabu.pmod/testsuite.in:1.4
Rev: src/modules/CommonLog/testsuite.in:1.3
Rev: src/modules/Gdbm/testsuite.in:1.7
Rev: src/modules/Gmp/testsuite.in:1.29
Rev: src/modules/Gz/testsuite.in:1.19
Rev: src/modules/Image/testsuite.in:1.18
Rev: src/modules/Java/testsuite.in:1.6
Rev: src/modules/MIME/testsuite.in:1.9
Rev: src/modules/Math/testsuite.in:1.8
Rev: src/modules/Parser/testsuite.in:1.57
Rev: src/modules/Perl/testsuite.in:1.4
Rev: src/modules/Regexp/testsuite.in:1.13
Rev: src/modules/_Charset/testsuite.in:1.8
Rev: src/modules/_Image_GIF/testsuite.in:1.2
Rev: src/modules/_Regexp_PCRE/testsuite.in:1.3
Rev: src/modules/_Roxen/testsuite.in:1.5
Rev: src/modules/_math/testsuite.in:1.12
Rev: src/modules/files/testsuite.in:1.34
Rev: src/modules/spider/testsuite.in:1.11
Rev: src/modules/sprintf/testsuite.in:1.37
Rev: src/modules/system/testsuite.in:1.17
Rev: src/post_modules/Bz2/testsuite.in:1.8
Rev: src/post_modules/Nettle/testsuite.in:1.14
Rev: src/post_modules/Unicode/testsuite.in:1.7
Rev: src/post_modules/_ADT/testsuite.in:1.5
Rev: src/post_modules/_Image_SVG/testsuite.in:1.3
Rev: src/testsuite.in:1.725

2004-04-28

2004-04-28 19:36:56 by Martin Nilsson <mani@lysator.liu.se>

Some file-hash tests.

Rev: lib/modules/Crypto.pmod/testsuite.in:1.37

2004-03-08

2004-03-08 16:35:59 by Martin Nilsson <mani@lysator.liu.se>

Splitting crypt_md5 into make_crypt_md5 and verify_crypt_md5

Rev: lib/7.4/modules/Crypto.pmod/module.pmod:1.14
Rev: lib/modules/Crypto.pmod/module.pmod:1.32
Rev: lib/modules/Crypto.pmod/testsuite.in:1.36

2004-03-06

2004-03-06 01:07:00 by Martin Nilsson <mani@lysator.liu.se>

Pipe depends on Gmp.mpz

Rev: lib/modules/Crypto.pmod/testsuite.in:1.35

2004-02-28

2004-02-28 14:58:34 by Martin Nilsson <mani@lysator.liu.se>

Don't do crypto tests when we have no crypto.

Rev: lib/7.4/modules/Crypto.pmod/testsuite.in:1.9
Rev: lib/modules/Crypto.pmod/testsuite.in:1.34
Rev: lib/modules/SSL.pmod/testsuite.in:1.7

2004-02-14

2004-02-14 02:43:16 by Martin Nilsson <mani@lysator.liu.se>

Uppercased substitution and koremutake

Rev: lib/modules/Crypto.pmod/Koremutake.pmod:1.1
Rev: lib/modules/Crypto.pmod/Substitution.pike:1.1
Rev: lib/modules/Crypto.pmod/koremutake.pmod:1.3(DEAD)
Rev: lib/modules/Crypto.pmod/substitution.pike:1.4(DEAD)
Rev: lib/modules/Crypto.pmod/testsuite.in:1.33

2004-02-13

2004-02-13 06:36:12 by Martin Nilsson <mani@lysator.liu.se>

No compatibility tests left here.

Rev: lib/modules/Crypto.pmod/testsuite.in:1.32

2004-02-07

2004-02-07 19:41:14 by Martin Nilsson <mani@lysator.liu.se>

NIST FIPS 186 example test for DSA

Rev: lib/modules/Crypto.pmod/testsuite.in:1.31

2004-02-07 04:09:27 by Martin Nilsson <mani@lysator.liu.se>

Removed meaningless tests

Rev: lib/modules/Crypto.pmod/testsuite.in:1.30

2004-02-06

2004-02-06 20:55:21 by Martin Nilsson <mani@lysator.liu.se>

Remove some compat tests, preemptively restored elsewhere.

Rev: lib/modules/Crypto.pmod/testsuite.in:1.29

2004-02-05

2004-02-05 19:22:17 by Martin Nilsson <mani@lysator.liu.se>

SHA -> SHA1

Rev: lib/modules/Crypto.pmod/PGP.pmod:1.8
Rev: lib/modules/Crypto.pmod/RSA.pike:1.4
Rev: lib/modules/Crypto.pmod/dsa.pike:1.3
Rev: lib/modules/Crypto.pmod/randomness.pmod:1.5
Rev: lib/modules/Crypto.pmod/rsa.pike:1.8
Rev: lib/modules/Crypto.pmod/testsuite.in:1.28
Rev: lib/modules/SSL.pmod/Cipher.pmod:1.12
Rev: lib/modules/Tools.pmod/X509.pmod:1.28

2004-02-04

2004-02-04 21:37:54 by Martin Nilsson <mani@lysator.liu.se>

Proxy -> Buffer

Rev: lib/7.4/modules/Crypto.pmod/crypto.pike:1.3
Rev: lib/modules/Crypto.pmod/RSA.pike:1.3
Rev: lib/modules/Crypto.pmod/module.pmod:1.29
Rev: lib/modules/Crypto.pmod/testsuite.in:1.27

2004-02-04 13:10:42 by Martin Nilsson <mani@lysator.liu.se>

Bugfixed version of grubbas cbc test.

Rev: lib/modules/Crypto.pmod/testsuite.in:1.26

2004-02-02

2004-02-02 23:03:08 by Martin Nilsson <mani@lysator.liu.se>

Tests from _Crypto

Rev: lib/modules/Crypto.pmod/testsuite.in:1.25

2003-12-06

2003-12-06 19:05:03 by Martin Nilsson <mani@lysator.liu.se>

Test that we expose the things in Nettle that we want to expose.

Rev: lib/modules/Crypto.pmod/testsuite.in:1.24

2003-12-03

2003-12-03 10:03:29 by Martin Nilsson <mani@lysator.liu.se>

Fix for non-Nettle systems.

Rev: lib/modules/Crypto.pmod/testsuite.in:1.23
Rev: lib/modules/Tools.pmod/X509.pmod:1.20

2003-12-03 09:57:04 by Martin Nilsson <mani@lysator.liu.se>

Fix for non-Nettle systems.

Rev: lib/modules/Crypto.pmod/testsuite.in:1.22

2003-12-03 05:07:27 by Martin Nilsson <mani@lysator.liu.se>

More natural arrangement.

Rev: lib/modules/Crypto.pmod/AES.pmod:1.1
Rev: lib/modules/Crypto.pmod/Arcfour.pmod:1.1
Rev: lib/modules/Crypto.pmod/Blowfish.pmod:1.1
Rev: lib/modules/Crypto.pmod/CAST.pmod:1.1
Rev: lib/modules/Crypto.pmod/DES.pmod:1.1
Rev: lib/modules/Crypto.pmod/DES3.pmod:1.1
Rev: lib/modules/Crypto.pmod/IDEA.pmod:1.1
Rev: lib/modules/Crypto.pmod/MD2.pmod:1.1
Rev: lib/modules/Crypto.pmod/MD4.pmod:1.1
Rev: lib/modules/Crypto.pmod/MD5.pmod:1.1
Rev: lib/modules/Crypto.pmod/SHA.pmod:1.1
Rev: lib/modules/Crypto.pmod/SHA256.pmod:1.1
Rev: lib/modules/Crypto.pmod/Serpent.pmod:1.1
Rev: lib/modules/Crypto.pmod/Twofish.pmod:1.1
Rev: lib/modules/Crypto.pmod/module.pmod:1.22
Rev: lib/modules/Crypto.pmod/testsuite.in:1.21

2003-11-30

2003-11-30 05:53:28 by Martin Nilsson <mani@lysator.liu.se>

Null character test for substitution crypto.

Rev: lib/modules/Crypto.pmod/testsuite.in:1.20

2003-11-29

2003-11-29 19:05:07 by Martin Nilsson <mani@lysator.liu.se>

More tests

Rev: lib/modules/Crypto.pmod/testsuite.in:1.19

2003-11-29 18:38:41 by Martin Nilsson <mani@lysator.liu.se>

Updated.

Rev: lib/modules/Crypto.pmod/testsuite.in:1.18
Rev: src/modules/_Crypto/testsuite.in:1.36

2003-11-29 00:12:27 by Martin Nilsson <mani@lysator.liu.se>

More API tests.

Rev: lib/modules/Crypto.pmod/testsuite.in:1.17

2003-11-28

2003-11-28 01:18:14 by Martin Nilsson <mani@lysator.liu.se>

Test make_key

Rev: lib/modules/Crypto.pmod/testsuite.in:1.16

2003-11-10

2003-11-10 00:41:23 by Niels Möller <nisse@lysator.liu.se>

Yarrow->get_seed throws an error when the generator is not seeded.

Rev: lib/modules/Crypto.pmod/testsuite.in:1.15

2003-11-09

2003-11-09 22:48:04 by Martin Nilsson <mani@lysator.liu.se>

Fixes.

Rev: lib/modules/Crypto.pmod/testsuite.in:1.14

2003-10-10

2003-10-10 19:56:57 by Martin Nilsson <mani@lysator.liu.se>

DES3 tests

Rev: lib/modules/Crypto.pmod/testsuite.in:1.13

2003-10-05

2003-10-05 16:40:33 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed DES parity tests.

Rev: lib/modules/Crypto.pmod/testsuite.in:1.12

2003-10-05 01:32:44 by Martin Nilsson <mani@lysator.liu.se>

DES parity tests.

Rev: lib/modules/Crypto.pmod/testsuite.in:1.11

2003-10-05 01:20:59 by Martin Nilsson <mani@lysator.liu.se>

Added DES. Some renaming.

Rev: lib/modules/Crypto.pmod/module.pmod:1.14
Rev: lib/modules/Crypto.pmod/testsuite.in:1.10

2003-08-25

2003-08-25 03:27:56 by Martin Nilsson <mani@lysator.liu.se>

Test compat

Rev: lib/modules/Crypto.pmod/testsuite.in:1.9
Rev: src/modules/_Crypto/testsuite.in:1.27

2003-08-10

2003-08-10 20:08:32 by Martin Nilsson <mani@lysator.liu.se>

Random fix.

Rev: lib/modules/Crypto.pmod/testsuite.in:1.8

2003-08-08

2003-08-08 10:26:16 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed cond for Nettle.Yarrow.

Rev: lib/modules/Crypto.pmod/testsuite.in:1.7

2003-08-07

2003-08-07 20:59:29 by Martin Nilsson <mani@lysator.liu.se>

More tests

Rev: lib/modules/Crypto.pmod/testsuite.in:1.6

2003-08-07 16:12:38 by Martin Nilsson <mani@lysator.liu.se>

Nettle tests

Rev: lib/modules/Crypto.pmod/testsuite.in:1.5

2003-03-23

2003-03-23 23:07:55 by Martin Nilsson <mani@lysator.liu.se>

Tests rsa->raw_{sign,verify}

Rev: lib/modules/Crypto.pmod/testsuite.in:1.4

2003-03-23 22:44:32 by Martin Nilsson <mani@lysator.liu.se>

Test Crypto.rsa

Rev: lib/modules/Crypto.pmod/testsuite.in:1.3

2003-03-20

2003-03-20 16:50:11 by Niels Möller <nisse@lysator.liu.se>

Started new hashing interface, using Nettle. New advertised MD5
interface is Crypto.MD5.

Rev: lib/modules/Crypto.pmod/module.pmod:1.2
Rev: lib/modules/Crypto.pmod/testsuite.in:1.2

2003-03-19

2003-03-19 17:46:30 by Martin Nilsson <mani@lysator.liu.se>

From /Crypto

Rev: lib/modules/Crypto.pmod:1.11(DEAD)
Rev: lib/modules/Crypto.pmod/_rsa.pike:1.1
Rev: lib/modules/Crypto.pmod/aes.pike:1.1
Rev: lib/modules/Crypto.pmod/des3.pike:1.1
Rev: lib/modules/Crypto.pmod/des3_cbc.pike:1.1
Rev: lib/modules/Crypto.pmod/des_cbc.pike:1.1
Rev: lib/modules/Crypto.pmod/dsa.pike:1.1
Rev: lib/modules/Crypto.pmod/hmac.pike:1.1
Rev: lib/modules/Crypto.pmod/idea_cbc.pike:1.1
Rev: lib/modules/Crypto.pmod/module.pmod:1.1
Rev: lib/modules/Crypto.pmod/randomness.pmod:1.1
Rev: lib/modules/Crypto.pmod/rsa.pike:1.1
Rev: lib/modules/Crypto.pmod/substitution.pike:1.1
Rev: lib/modules/Crypto.pmod/testsuite.in:1.1