Skip to content

Commit

Permalink
AES counter mode does not use cbc_mature
Browse files Browse the repository at this point in the history
  • Loading branch information
itojun committed Jul 25, 2003
1 parent 63ffaa8 commit 39d3b1b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions kame/sys/netinet6/esp_core.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $KAME: esp_core.c,v 1.63 2003/07/22 08:53:18 itojun Exp $ */
/* $KAME: esp_core.c,v 1.64 2003/07/25 09:57:55 itojun Exp $ */

/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
Expand Down Expand Up @@ -455,7 +455,6 @@ esp_cbc_mature(sav)
case SADB_X_EALG_TWOFISHCBC:
break;
case SADB_X_EALG_RIJNDAELCBC:
case SADB_X_EALG_AESCTR:
/* allows specific key sizes only */
if (!(keylen == 128 || keylen == 192 || keylen == 256)) {
ipseclog((LOG_ERR,
Expand Down

0 comments on commit 39d3b1b

Please sign in to comment.