Re: PKEY for CMAC: operation not supported for this keytype.
On Sun, 14 Jun 2020 07:16:27 +0200,
Hal Murray wrote:
> I can't get CMAC to work via PKEY. I get the same error on 1.1.1g and 3.0.0
> I'm using a cipher that works with the CMAC interface.
> Can anybody see what I'm missing?
Yup. It's designed to work with the set of functions EVP_DigestSign*.
Attached is the diff of your program, rewritten to use that.