Lines Matching defs:mode
70 int rijndael_cipherInit(cipherInstance *cipher, BYTE mode, char *IV) {
71 if ((mode == MODE_ECB) || (mode == MODE_CBC) || (mode == MODE_CFB1)) {
72 cipher->mode = mode;
100 switch (cipher->mode) {
216 switch (cipher->mode) {
271 (cipher->mode != MODE_CFB1 && key->direction == DIR_ENCRYPT)) {
280 switch (cipher->mode) {
384 switch (cipher->mode) {