Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 84861
b: refs/heads/master
c: 405137d
h: refs/heads/master
i:
  84859: 32b3112
v: v3
  • Loading branch information
Joy Latten authored and David S. Miller committed Feb 8, 2008
1 parent 56ff329 commit c2419d6
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 054b0e2b2d5ed460784e8dfbf30ff4768dbf4376
refs/heads/master: 405137d16fbe4c80b9e06e61af05856027745d23
1 change: 1 addition & 0 deletions trunk/include/linux/pfkeyv2.h
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ struct sadb_x_sec_ctx {
#define SADB_X_EALG_BLOWFISHCBC 7
#define SADB_EALG_NULL 11
#define SADB_X_EALG_AESCBC 12
#define SADB_X_EALG_AESCTR 13
#define SADB_X_EALG_AES_CCM_ICV8 14
#define SADB_X_EALG_AES_CCM_ICV12 15
#define SADB_X_EALG_AES_CCM_ICV16 16
Expand Down
17 changes: 17 additions & 0 deletions trunk/net/xfrm/xfrm_algo.c
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,23 @@ static struct xfrm_algo_desc ealg_list[] = {
.sadb_alg_maxbits = 256
}
},
{
.name = "rfc3686(ctr(aes))",

.uinfo = {
.encr = {
.blockbits = 128,
.defkeybits = 160, /* 128-bit key + 32-bit nonce */
}
},

.desc = {
.sadb_alg_id = SADB_X_EALG_AESCTR,
.sadb_alg_ivlen = 8,
.sadb_alg_minbits = 128,
.sadb_alg_maxbits = 256
}
},
};

static struct xfrm_algo_desc calg_list[] = {
Expand Down

0 comments on commit c2419d6

Please sign in to comment.