/* * This is called 'cipher in counter mode'. */ static void encrypt_counter(FState * st, uint8 *dst) { ciph_encrypt(&st->ciph, st->counter, dst); inc_counter(st); }
/* * This is called 'cipher in counter mode'. */ static void encrypt_counter(FState * st, unsigned char *dst) { ciph_encrypt(&st->ciph, st->counter, dst); inc_counter(st); }