diff options
Diffstat (limited to 'freebsd/sys/netipsec/xform.h')
-rw-r--r-- | freebsd/sys/netipsec/xform.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/freebsd/sys/netipsec/xform.h b/freebsd/sys/netipsec/xform.h index fc259c91..77b93af3 100644 --- a/freebsd/sys/netipsec/xform.h +++ b/freebsd/sys/netipsec/xform.h @@ -46,6 +46,7 @@ #include <opencrypto/xform.h> #define AH_HMAC_HASHLEN 12 /* 96 bits of authenticator */ +#define AH_HMAC_MAXHASHLEN (SHA2_512_HASH_LEN/2) /* Keep this updated */ #define AH_HMAC_INITIAL_RPL 1 /* replay counter initial value */ /* @@ -74,6 +75,7 @@ struct tdb_crypto { int tc_protoff; /* current protocol offset */ int tc_skip; /* data offset */ caddr_t tc_ptr; /* associated crypto data */ + struct secasvar *tc_sav; /* related SA */ }; struct secasvar; |