Branch: Tag:


2014-12-04 19:25:23 by Per Hedbor <>

Fixed function signature for random_func_wrapper.

This actually changes the calling conventions, and on stack
based machines it could make a significant difference if
size_t and unsigned int does not have the same bytesize.

26:   /*! @module Nettle    */    - void random_func_wrapper(void *f, size_t num, uint8_t *out) + static void random_func_wrapper(void *f, unsigned int num, uint8_t *out)   {    push_int(num);    apply_svalue((struct svalue *)f, 1);