X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/799e63b486e5d3d473de8032261b35f80707cd54..HEAD:/symm/eax-def.h diff --git a/symm/eax-def.h b/symm/eax-def.h index 3154ac07..8daf2d8c 100644 --- a/symm/eax-def.h +++ b/symm/eax-def.h @@ -675,11 +675,14 @@ static gaead_key *gckey(const void *k, size_t ksz) \ return (&key->k); \ } \ \ +static int gcszok(size_t nsz, size_t hsz, size_t msz, size_t tsz) \ + { return (gaead_szokcommon(&pre##_eax, nsz, hsz, msz, tsz)); } \ + \ const gcaead pre##_eax = { \ name "-eax", \ pre##_keysz, pre##_eaxnoncesz, pre##_eaxtagsz, \ PRE##_BLKSZ, 0, 0, 0, \ - gckey \ + gckey, gcszok \ }; \ \ EAX_TESTX(PRE, pre, name, fname)