view ltc_prng.h @ 1089:d144a6bece53

Uses k_size as an signed integer buf_incrwritepos() and mp_to_unsigned_bin() functions use k_size as signed integer argument. k_size is also used in an assertion that compared it to curve_size which is a signed long. Only buf_getwriteptr() is using k_size as unsigned. So it safe to use it as signed.
author Gaël PORTAY <gael.portay@gmail.com>
date Sat, 02 May 2015 11:37:37 +0200
parents deed0571cacc
children 750ec4ec4cbe
line wrap: on
line source

#ifndef DROPBEAR_LTC_PRNG_H_DROPBEAR
#define DROPBEAR_LTC_PRNG_H_DROPBEAR

#include "options.h"
#include "includes.h"

#ifdef DROPBEAR_LTC_PRNG

extern const struct ltc_prng_descriptor dropbear_prng_desc;

#endif /* DROPBEAR_LTC_PRNG */

#endif /* DROPBEAR_LTC_PRNG_H_DROPBEAR */