Branch: Tag:

2014-12-04

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

Nettle: Support more versions of libnettle again.

The macro AES256_KEY_SIZE does not seem to exist in libnettle 2.7.1.

316:       DECLARE_STORAGE;    + #ifndef AES256_KEY_SIZE + #define AES256_KEY_SIZE (256>>3) + #endif +     void fortuna_generate()    {    aes_encrypt(&THIS->aes_ctx, 16, THIS->data, THIS->ctr);