Use mask instead of modulo, since bo->backoff is always power of 2
[dfdiff.git] / sys / crypto / rijndael / rijndael_local.h
blob17a6d3d6a670063737e189e23bc9571832afbba8
1 /* $KAME: rijndael_local.h,v 1.3 2000/10/02 17:14:27 itojun Exp $ */
2 /* $FreeBSD: src/sys/crypto/rijndael/rijndael_local.h,v 1.3.2.1 2001/07/03 11:01:36 ume Exp $ */
3 /* $DragonFly: src/sys/crypto/rijndael/rijndael_local.h,v 1.2 2003/06/17 04:28:20 dillon Exp $ */
5 /* the file should not be used from outside */
6 typedef u_int8_t BYTE;
7 typedef u_int8_t word8;
8 typedef u_int16_t word16;
9 typedef u_int32_t word32;
11 #define MAXKC RIJNDAEL_MAXKC
12 #define MAXROUNDS RIJNDAEL_MAXROUNDS