.. _file_include_public_anj_compat_rng.h: File rng.h ========== |exhale_lsh| :ref:`Parent directory ` (``include_public/anj/compat``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS Platform hook for providing randomness. .. contents:: Contents :local: :backlinks: none Definition (``include_public/anj/compat/rng.h``) ------------------------------------------------ .. toctree:: :maxdepth: 1 program_listing_file_include_public_anj_compat_rng.h.rst Detailed Description -------------------- This header declares a minimal API that platform integrators must implement to provide entropy to Anjay Lite. It defines: - :ref:`exhale_function_rng_8h_1ae2bf99861c09b528ba3d731a2ae6cee6` - generate random bytes The implementation may wrap a TRNG, OS CSRNG service, or any other platform-specific entropy source. Quality of generated data directly impacts security features that depend on randomness. Includes -------- - ``anj/init.h`` (:ref:`file_include_public_anj_init.h`) - ``stddef.h`` - ``stdint.h`` Included By ----------- - :ref:`file_include_public_anj_compat_net_anj_net_api.h` Functions --------- - :ref:`exhale_function_rng_8h_1ae2bf99861c09b528ba3d731a2ae6cee6`