Branch: Tag:

2018-02-03

2018-02-03 09:48:55 by Peter Bortas <bortas@gmail.com>

Merge branch '8.1' into peter/travis

2018-01-19

2018-01-19 17:34:24 by Martin Nilsson <nilsson@fastmail.com>

Use module.h

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-28

2017-12-28 15:42:27 by Martin Nilsson <nilsson@fastmail.com>

Clena up stack in create

2017-08-04

2017-08-04 10:01:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle: Don't fail if optional base classes are missing.

Attempt to survive without __builtin.Nettle.

2017-08-02

2017-08-02 20:07:22 by Martin Nilsson <nilsson@fastmail.com>

Use lexical_inherit.

2017-07-31

2017-07-31 21:04:38 by Martin Nilsson <nilsson@fastmail.com>

Less code duplication. This should probably move somewhere more central.

2017-06-25

2017-06-25 01:38:13 by Martin Nilsson <nilsson@fastmail.com>

A first draft of reduction of object C initializers.

2017-02-09

2017-02-09 17:34:20 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Moved yyreport() et al to pike_compiler.cmod.

More code cleanup.

2015-11-08

2015-11-08 03:12:23 by Martin Nilsson <nilsson@fastmail.com>

Don't clean up stack before returning from void functions.

2015-10-17

2015-10-17 23:35:19 by Martin Nilsson <nilsson@fastmail.com>

stdarg.h is included from global.h

2015-10-17 23:31:54 by Martin Nilsson <nilsson@fastmail.com>

stdio.h is included from global.h

2015-05-25

2015-05-25 15:33:02 by Martin Nilsson <nilsson@opera.com>

Removed trailing spaces.

2015-04-17

2015-04-17 15:02:15 by Martin Nilsson <nilsson@opera.com>

nettle-meta.h is included through nettle.h

2015-03-20

2015-03-20 10:50:47 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Revert "windows: need stdint.h for uint*"

This commit had various side-effects...

This reverts commit 2d30d343e05f1145f441bdea25c3114558b94a34.

2014-12-08

2014-12-08 00:18:00 by Bill Welliver <bill@welliver.org>

windows: need stdint.h for uint*

2014-11-05

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

Address some warnings.

2014-11-05 17:03:08 by Martin Nilsson <nilsson@opera.com>

Address some warnings.

2014-10-24

2014-10-24 13:28:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle.MAC: Added some function pointer casts to reduce warnings.

Gcc complains about function pointer variables with arguments wanting
void * being assigned with functions wanting specific struct pointers.

Typical example: A pike_nettle_hash_update_func variable being assigned
to umac64_update, which will be complained about because the former has
a void * as the first argument, and the latter a struct umac64_ctx *.

2014-10-24 13:20:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle.MAC: Added some function pointer casts to reduce warnings.

Gcc complains about function pointer variables with arguments wanting
void * being assigned with functions wanting specific struct pointers.

Typical example: A pike_nettle_hash_update_func variable being assigned
to umac64_update, which will be complained about because the former has
a void * as the first argument, and the latter a struct umac64_ctx *.

2014-10-06

2014-10-06 15:09:45 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle: Reference the programs being inherited.

Make sure that there's a local symbol in the parent for the
programs that we inherit. Otherwise the parent_identifier in
the generated inherit may point back to some later override.

This happens frequently when inheriting the State class.

This fixes infinite recursion in eg Program.all_inherits()
when called with several of the Crypto and Nettle classes.

2014-10-06 15:08:59 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle: Reference the programs being inherited.

Make sure that there's a local symbol in the parent for the
programs that we inherit. Otherwise the parent_identifier in
the generated inherit may point back to some later override.

This happens frequently when inheriting the State class.

This fixes infinite recursion in eg Program.all_inherits()
when called with several of the Crypto and Nettle classes.

2014-06-23

2014-06-23 09:09:38 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle: Improved compatibility with older Nettles.

In older versions of Nettle, the nettle_*_func typedefs were
function pointers, while in more recent versions they are functions.

Also unifies the naming conventions for Pike-specific typedefs by
renaming the crypt_func typedef to pike_nettle_crypt_func.

2014-06-19

2014-06-19 08:42:46 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle: Use PROGRAM_CLEAR_STORAGE.

2014-05-12

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

Moved debug code to nettle.h

2014-05-11

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

Nettle: Release the interpreter for encrypt and decrypt.

Allow other threads to execute when encrypting or decrypting
data larger than 1 KB.

2014-05-10

2014-05-10 10:55:17 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle: Renamed UMAC* to UMAC*_AES.

As UMAC is a generic algorithm that currently happens to use AES
as base, I've renamed it accordingly (analogous with POLY1305_AES),
and mapped them to submodules of Crypto.AES.

Added some UMAC testvectors from RFC 4418.

2014-04-26

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

Nettle.UMAC: Some of these constants now are available.

It helps to complain... :-)

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

Runtime: Improved robustness of parent_storage().

Under some circumstances parent_storage() could return
a storage pointer to a class that had inherited the
parent program. Fix this by making sure that we get the
storage for the program that we expect to find as parent.

2014-04-24

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

Using the nettle_dsa_params_init as 3.0 indicator appears safer to me than a compat header file.

2014-04-22

2014-04-22 19:46:31 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle: Added the UMAC suite of MACs.

2014-04-22 19:28:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle.MAC: Typing changes.

Make it possible to skip the pike_* wrapper functions for *_set_key()
and *_set_nonce() where possible.

Also allows skipping the set_nonce() function altogether where not used.

2014-04-21

2014-04-21 18:18:02 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle.POLY1305_AES: Fixed some typos.

set_iv() should now work as intended...

2014-04-21 13:03:06 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle: Added Crypto.MAC and Crypto.AES.POLY1305.

Crypto.MAC is an API for MAC algorithms analogous to the ones
for hashes and ciphers.

Crypto.AES.POLY1305 is the POLY1305/AES MAC algorithm.