diff options
author | ume <ume@FreeBSD.org> | 2003-10-13 04:54:51 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2003-10-13 04:54:51 +0000 |
commit | de427fb9bf859dba8d46c603bb55c53de06758e7 (patch) | |
tree | 999648f57f1025fa3716e3e1db4fac3f0c0cdebb /sbin/setkey | |
parent | 08298e8fb559f422d14c7dc553d78f04eb9f2eba (diff) | |
download | FreeBSD-src-de427fb9bf859dba8d46c603bb55c53de06758e7.zip FreeBSD-src-de427fb9bf859dba8d46c603bb55c53de06758e7.tar.gz |
- support AES XCBC MAC for AH
- correct SADB_X_AALG_RIPEMD160HMAC to 8
Obtained from: KAME
Diffstat (limited to 'sbin/setkey')
-rw-r--r-- | sbin/setkey/setkey.8 | 2 | ||||
-rw-r--r-- | sbin/setkey/token.l | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/sbin/setkey/setkey.8 b/sbin/setkey/setkey.8 index d11a6ad..680803b 100644 --- a/sbin/setkey/setkey.8 +++ b/sbin/setkey/setkey.8 @@ -551,6 +551,8 @@ hmac-sha2-512 512 ah: 96bit ICV (no document) 512 ah-old: 128bit ICV (no document) hmac-ripemd160 160 ah: 96bit ICV (RFC2857) ah-old: 128bit ICV (no document) +aes-xcbc-mac 128 ah: 96bit ICV (RFC3566) + 128 ah-old: 128bit ICV (no document) .Ed .Pp Followings are the list of encryption algorithms that can be used as diff --git a/sbin/setkey/token.l b/sbin/setkey/token.l index eed5190..312df4c 100644 --- a/sbin/setkey/token.l +++ b/sbin/setkey/token.l @@ -171,6 +171,7 @@ hmac-sha2-256 { PREPROC; yylval.num = SADB_X_AALG_SHA2_256; return(ALG_AUTH); } hmac-sha2-384 { PREPROC; yylval.num = SADB_X_AALG_SHA2_384; return(ALG_AUTH); } hmac-sha2-512 { PREPROC; yylval.num = SADB_X_AALG_SHA2_512; return(ALG_AUTH); } hmac-ripemd160 { PREPROC; yylval.num = SADB_X_AALG_RIPEMD160HMAC; return(ALG_AUTH); } +aes-xcbc-mac { PREPROC; yylval.num = SADB_X_AALG_AES_XCBC_MAC; return(ALG_AUTH); } null { PREPROC; yylval.num = SADB_X_AALG_NULL; return(ALG_AUTH); } /* encryption alogorithm */ |