Re: [PATCH] cmac: add 64-bit mode CMAC

2019-07-22 Thread Niels Möller
ni...@lysator.liu.se (Niels Möller) writes: > I've now merged this and the cmac_des3 patch onto a branch "cmac64". And now pushed to master, together with the documentation update. Thanks, /Niels -- Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677. Internet email is subject to

Re: [PATCH] cmac: add 64-bit mode CMAC

2019-07-10 Thread Dmitry Eremin-Solenikov
Hello, чт, 11 июл. 2019 г. в 00:05, Niels Möller : > > Dmitry Eremin-Solenikov writes: > > > --- /dev/null > > +++ b/cmac64.c > > @@ -0,0 +1,177 @@ > > +/* > > + AES-CMAC-128 (rfc 4493) / CMAC-64 > > I've now merged this and the cmac_des3 patch onto a branch "cmac64". Thank you! > What's an

Re: [PATCH] cmac: add 64-bit mode CMAC

2019-07-10 Thread Niels Möller
Dmitry Eremin-Solenikov writes: > --- /dev/null > +++ b/cmac64.c > @@ -0,0 +1,177 @@ > +/* > + AES-CMAC-128 (rfc 4493) / CMAC-64 I've now merged this and the cmac_des3 patch onto a branch "cmac64". What's an authoritative reference for cmac64 and cmac using des? RFC4493 doesn't seem quite

Re: [PATCH] cmac: add 64-bit mode CMAC

2019-07-09 Thread Dmitry Eremin-Solenikov
Hello, вт, 9 июл. 2019 г. в 00:56, Niels Möller : > > Dmitry Eremin-Solenikov writes: > > Patch looks nice, thanks! Is any of the implementation shared with > cmac128? I think it would be nice to move it to a separate source file > cmac64.c. Sharing the cmac.h header file is fine. It shares

Re: [PATCH] cmac: add 64-bit mode CMAC

2019-07-08 Thread Niels Möller
Dmitry Eremin-Solenikov writes: > Signed-off-by: Dmitry Eremin-Solenikov > --- > cmac.c | 125 - > cmac.h | 69 +++ > nettle-types.h | 6 +++ > 3 files changed, 199 insertions(+), 1 deletion(-) > > diff