Program Listing for File rng.h
↰ Return to documentation for file (include_public/anj/compat/rng.h)
/*
* Copyright 2023-2026 AVSystem <avsystem@avsystem.com>
* AVSystem Anjay Lite LwM2M SDK
* All rights reserved.
*
* Licensed under AVSystem Anjay Lite LwM2M Client SDK - Non-Commercial License.
* See the attached LICENSE file for details.
*/
#include <anj/init.h>
#ifndef ANJ_RNG_H
# define ANJ_RNG_H
# include <stddef.h>
# include <stdint.h>
# ifdef __cplusplus
extern "C" {
# endif
int anj_rng_generate(uint8_t *buffer, size_t size);
# ifdef __cplusplus
}
# endif
#endif // ANJ_RNG_H