src.dualinventive.com/jjacobs/dinetrpcll-sniffer/libdi/include/di/crypt/rng.h

24 lines
483 B
C

/**
* @file include/di/crypt/rng.h
* @brief DI-net random number generator implementation
* @date 9 January 2015
* @author ing. R.W.A. van der Heijden
* @copyright 2015 Dual Inventive B.V.
*
* Implementation of the random number generator used in DI-Net encryption
*/
#ifndef DI_CRYPT_RNG_H__
#define DI_CRYPT_RNG_H__
#ifdef __cplusplus
extern "C" {
#endif
int8_t di_crypt_rng_data(uint8_t *output, uint8_t len);
#ifdef __cplusplus
}
#endif
#endif /* DI_CRYPT_RNG_H__ */