On Tuesday, February 12, 2019 at 12:41:55 PM UTC-5, Thomas Grotendorst 
wrote:
>
>
> I want to use encryption ECIES with the configuration according to 
> IEEE1609.2. Here it is required to use MAC1 with SHA256 as data 
> authentication code as defined in IEE1663a. 
> If I have seen it correct CryptoPP uses per default HMAC<SHA256>.
> Is it possible to use also MAC1? 
> One difference between the used HMAC and MAC1 is that the final tag of 
> MAC1 is shorter than the size of the hash SHA256.
>

At the moment the library does not have MAC1. If I recall it was an early 
proposal that never gained a lot of interest. CBC-MAC eventually got 
standardized and the library provides it.

CBC-MAC is frowned upon because it is only safe to use when the message to 
be authenticated is an exact multiple of the underlying block cipher.

If you provide an exact specification then I might be able to take a look 
at it later in the week.

Jeff

-- 
You received this message because you are subscribed to "Crypto++ Users". More 
information about Crypto++ and this group is available at 
http://www.cryptopp.com and 
http://groups.google.com/forum/#!forum/cryptopp-users.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to