/* This API function is used to generate random number with specified length.  */
status_t NBOOT_GenerateRandom(uint8_t *output, size_t outputByteLen)
/* This API function is used to generate random number with specified length.  */
status_t NBOOT_GenerateRandom(uint8_t *output, size_t outputByteLen)
{
    assert(BOOTLOADER_API_TREE_POINTER);
    return BOOTLOADER_API_TREE_POINTER->nbootDriver->romapi_rng_generate_random(output, outputByteLen);
}