Branch: Tag:

2013-12-24

2013-12-24 12:55:53 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Bignums: Added API for pushing bignums directly.

This simplifies code needing to handle bignums from external
sources (eg hogweed).

5:   */      #include "global.h" - #include "bignum.h" +    #include "builtin_functions.h"   #include "interpret.h"   #include "module.h"
21:   #include <nettle/rsa.h>   #include <gmp.h>    + #include "bignum.h" +    void random_func_wrapper(void *f, unsigned int num, uint8_t *out)   {    push_int(num);