X-Git-Url: https://git.distorted.org.uk/~mdw/secnet/blobdiff_plain/779837e133a4740798015a1d7de6fbf6b4b1720f..3abd18e85781e00e2b7fc641f29c99e130238abf:/transform-cbcmac.c diff --git a/transform-cbcmac.c b/transform-cbcmac.c index 95c64e8..26e0a12 100644 --- a/transform-cbcmac.c +++ b/transform-cbcmac.c @@ -261,8 +261,8 @@ static list_t *transform_apply(closure_t *self, struct cloc loc, st->cl.apply=NULL; st->cl.interface=&st->ops; st->ops.st=st; - st->ops.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 */