rust-crypto icon indicating copy to clipboard operation
rust-crypto copied to clipboard

Implement CMAC

Open a-dma opened this issue 8 years ago • 3 comments

I was playing around with CMAC and I thought I'd contribute back what code I have.

I'm still learning rust, so the code is by no means perfect. Also, given the lack of documentation there was a bit of guesswork to find things that were already implemented.

A couple of possible (but for me tricky) improvements are:

  • Use a FixedBuffer for storing the MAC result and take advantage of StandardPadding;
  • Try to shoehorn in a CbcEncryptor with an empty IV rather than doing the XOR'ing manually.

a-dma avatar Jul 06 '16 13:07 a-dma

Any chance this will be merged to master soon?

flybayer avatar Feb 15 '17 22:02 flybayer

@DaGenix is anything besides the failing build preventing this from being merged?

flybayer avatar Feb 28 '17 20:02 flybayer

@flybayer last commit was merged 7 month ago. It smells like a dead repo. I thought about making one small PR, but now I have doubts...

tvladyslav avatar Mar 26 '17 23:03 tvladyslav