| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I've just checked in implementations of the EAX block cipher mode and the OMAC message authentication code. EAX is an authenticating mode, meaning that a MAC is produced at the end of encipherment, which can be used to verify the integrity of the ciphertext when decrypted. It is based on CTR mode and OMAC. This also adds a new interface, IAuthenticatedMode, which is really just the trivial conjunction of IMode and IMac. OMAC is a MAC based on a block cipher in CBC mode. CTR has also been improved to accept block sizes from 1 to the underlying cipher's block size, and uses the IV parameter as the initial counter value. Cheers, 2004-01-19 Casey Marshall <rsdio@xxxxxxxxxxxxxx> * source/gnu/crypto/mode/ModeFactory.java (getInstance): return EAX if requested. * source/gnu/crypto/mac/MacFactory.java (getInstance): return OMAC if requested. * source/gnu/crypto/Registry.java (EAX_MODE): new constant. (OMAC_PREFIX): new constant. * source/gnu/crypto/mode/BaseMode.java (testSymmetry): use cipherBlockSize for CIPHER_BLOCK_SIZE. * source/gnu/crypto/mode/CTR.java (setup): allow smaller block sizes; use IV for initial counter. (blockSizes): new method; override default implementation. (ctr): modified for varying block sizes. * source/gnu/crypto/mode/IAuthenticatedMode.java, source/gnu/crypto/mode/EAX.java, source/gnu/crypto/mac/OMAC.java, source/gnu/testlet/gnu/crypto/mac/TestOfOMAC.java, source/gnu/testlet/gnu/crypto/mode/TestOfEAX.java: New files. - -- Casey Marshall || rsdio@xxxxxxxxxxxxxx -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/> iD8DBQFAC5zOgAuWMgRGsWsRAj44AJ9RCVmql0X8Tz9kgnHfnU24Reik3gCgiIwF q9DM7B7BBJk4CGULEihuwM0= =GhEb -----END PGP SIGNATURE----- _______________________________________________ gnu-crypto-discuss mailing list gnu-crypto-discuss@xxxxxxxxxx http://mail.nongnu.org/mailman/listinfo/gnu-crypto-discuss
[Home] [Gnu Classpath] [Linux Kernel] [Linux Cryptography] [Fedora] [Fedora Directory] [Red Hat Development] [Red Hat 9 Bible] [Fedora Bible] [Red Hat 9] [Network Security Reading]
![]() |