chiark
/
gitweb
/
~mdw
/
secnet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
site.c: Pass the length of the actual shared secret to the transform.
[secnet]
/
transform-cbcmac.c
diff --git
a/transform-cbcmac.c
b/transform-cbcmac.c
index b481346068833c12eefdc1463b20cf489a97286d..e7a3ee541c20230c1458935c76e2a7f75f31e9e0 100644
(file)
--- a/
transform-cbcmac.c
+++ b/
transform-cbcmac.c
@@
-284,9
+284,6
@@
static list_t *transform_apply(closure_t *self, struct cloc loc,
update_max_start_pad(&transform_max_start_pad, 28);
/* 4byte seqnum, 16byte pad, 4byte MACIV, 4byte IV */
update_max_start_pad(&transform_max_start_pad, 28);
/* 4byte seqnum, 16byte pad, 4byte MACIV, 4byte IV */
- /* We need 256*2 bits for serpent keys, 32 bits for CBC-IV and 32 bits
- for CBCMAC-IV, and 32 bits for init sequence number */
- st->ops.keylen=REQUIRED_KEYLEN;
st->ops.create=transform_create;
/* First parameter must be a dict */
st->ops.create=transform_create;
/* First parameter must be a dict */