/* In the AES-CTR algorithm, all the numbers are represented in big-endian format, namely, LSB is in last byte  */
static void sdp_increment_bn(uint8_t *big_num, uint32_t bytes)
/* In the AES-CTR algorithm, all the numbers are represented in big-endian format, namely, LSB is in last byte  */
static void sdp_increment_bn(uint8_t *big_num, uint32_t bytes)
{
    for (uint32_t i = bytes - 1; i > 0u; i--) {
        big_num[i]++;
        if (big_num[i] != 0) {
            break;
        }
    }
}