/* Fills the first n bytes of the memory area pointed to by s with the constant byte c.  */
static void MAC_memset(uint8_t *s, uint8_t c, uint32_t n)
/* Fills the first n bytes of the memory area pointed to by s with the constant byte c.  */
static void MAC_memset(uint8_t *s, uint8_t c, uint32_t n)
{
    uint8_t *sb = s;
    while( n > 0u ) {
    	n--;
        sb[n] = c;
    }
}