openssl icon indicating copy to clipboard operation
openssl copied to clipboard

Add support for CMAC

Open kmfukuda opened this issue 1 year ago • 0 comments

Implements #802 by adding the OpenSSL::CMAC class.

The class has a similar set of methods to OpenSSL::HMAC except that

  • it calls MACs mac s and that
  • it does not have #reset .

The class uses different sets of OpenSSL functions depending on the version that the class is compiled against.

  • EVP functions (OpenSSL 3)
  • older functions (other versions)

kmfukuda avatar Oct 19 '24 10:10 kmfukuda