Re: [crypto] Implementing HMAC and CMAC

2019-04-14 Thread Alex Remily
Circling back on this, I think I can use the AES-GCM mode of operation already provided as a GMAC to achieve what I'm looking for. If so, I probably won't put forth the effort to implement additional MACs. If it turns out that I do need a MAC algorithm that isn't already supported, I'll readdress

Re: [crypto] Implementing HMAC and CMAC

2019-02-24 Thread Benedikt Ritter
Hi, Am So., 24. Feb. 2019 um 00:31 Uhr schrieb Alex Remily < alex.rem...@gmail.com>: > > > That's an open question. I think we could use the same approach we used to > support 1.0 and 1.1 for cipher and random. Of course, as you noted, the > workload would increase to support additional versio

Re: [crypto] Implementing HMAC and CMAC

2019-02-23 Thread Alex Remily
That's an open question. I think we could use the same approach we used to support 1.0 and 1.1 for cipher and random. Of course, as you noted, the workload would increase to support additional versions, but I don't think implementing MAC would otherwise hamstring the overall effort. Fair poi

Re: [crypto] Implementing HMAC and CMAC

2019-02-23 Thread sebb
On Sat, 23 Feb 2019 at 02:33, Alex Remily wrote: > > more performant implementation to Java developers? If so I think it can we > added to crypto.> > > Yes. My current thinking is that I'd simply expose the existing relevant > OpenSSL functions via JNI and JNA by mapping them to the JCE API for

Re: [crypto] Implementing HMAC and CMAC

2019-02-22 Thread Alex Remily
Yes. My current thinking is that I'd simply expose the existing relevant OpenSSL functions via JNI and JNA by mapping them to the JCE API for the Mac class to the extent possible. Essentially, I'd follow the established pattern for the cipher and random functionality currently exposed. On Fri,

Re: [crypto] Implementing HMAC and CMAC

2019-02-22 Thread Alex Remily
; Gesendet: Freitag, Februar 22, 2019 12:52 PM > An: Commons Developers List; s...@apache.org > Betreff: Re: [crypto] Implementing HMAC and CMAC > > Hello Alex, > > welcome to the Apache Commons Developers list! > > Am Fr., 22. Feb. 2019 um 03:01 Uhr schrieb Alex

Re: [crypto] Implementing HMAC and CMAC

2019-02-22 Thread Bernd Eckenfels
: Commons Developers List; s...@apache.org Betreff: Re: [crypto] Implementing HMAC and CMAC Hello Alex, welcome to the Apache Commons Developers list! Am Fr., 22. Feb. 2019 um 03:01 Uhr schrieb Alex Remily < alex.rem...@gmail.com>: > Team, > > What do you think about adding HMAC and CMA

Re: [crypto] Implementing HMAC and CMAC

2019-02-22 Thread Benedikt Ritter
Hello Alex, welcome to the Apache Commons Developers list! Am Fr., 22. Feb. 2019 um 03:01 Uhr schrieb Alex Remily < alex.rem...@gmail.com>: > Team, > > What do you think about adding HMAC and CMAC functionality to commons > crypto? I have a project I'd like to use it for, so I don't mind workin

[crypto] Implementing HMAC and CMAC

2019-02-21 Thread Alex Remily
Team, What do you think about adding HMAC and CMAC functionality to commons crypto? I have a project I'd like to use it for, so I don't mind working on the implementation, but I don't want to make the effort if there's no support for the idea. Thoughts? Alex