Setting EAX Tag Size
Hey there!
I'm working on an application which is using XTEA/EAX/NoPadding.
We're looking to use the tag for message authentication. I see from the EAXBlockCipher code that a tag is being computed, but there doesn't seem to be any way through the SPI interface to access the tag.
We're also looking to set the tag length to 8 bytes. I see that this is supported through the params parameter to the init() method on EAXBlockCipher, but again, I don't see how to actually pass this through the javax.crypto.Cipher#init() method.
Can someone point me in the right direction?
Thanks!
âP
|