-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all,
I've had a busy week. The Crypto API now has interfaces with working with all the most recently used algorithms as well as many of the old ones meeting my deadline of having the first version of the API done by 6/24. I have written classes for Signing, Hashing, Authenticated Symmetric Encryption, Key Exchange, and Message Authentication Codes. It supports all sigs, hashs, and macs. The key exchange supports both DH and ECDH and I working on adding JFK. For Symmetric Encryption it currently supports AEAD/OCB/AES/128 both with the new nonce length and the old one. I'm working on the other symmetric algs, but I'm not sure how helpful it would be to move all the old ones to this API. I'm not sure if I should make a class for RNGs. If people think this would be helpful I can do that. The next step is to write unit-tests and documentation. I am also planning on submitting a patch for our OCB nonce length problem that will let us upgrade Bouncy Castle to 150, and soon 151 which was just had it's last beta released. I made a copy of the OCB class from BC149 and put it in crypt. I added a boolean to the AEAD classes to decide which version of OCB to use. So far for JFK integration I have support for creating and processing message1 and creating message 2. The MAC class supports both HMAC and Poly1305. I fixed verification of both hashs and macs to use MessageDigest.isEqual instead of Arrays.* methods. I've decided that I'm not going to use static methods in the API. This will make it easier to upgrade algs in the future. Instead of having to rewrite a bunch of code that uses static methods, all that needs to change is the constructor. - -Charles -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJTp9FoAAoJEKzPTx3Y+gGrrk8QAMD84QILWp52cyCyKQ8VYbI9 XdPGdPJD2zV6LSMeJ5+7q2TV67rIDywooW8V8vMPFAYGK+RAHDrOHa+kOQ3ELOI5 gvsS+GllPd9nLuUpvRsI03dRuEk3XpuBLxlaHtICwg77BLj1M/qCdE0Iy2OxVc9/ ukxzxpBURCb0zkKUgb/M4JP/YyK59k/sTENMoBvVjdH54rxEWfhm3owQW8pF3Cot KpmMilFHWygZ0e7zQmaBp60UgG/JHjAIPINMReKPDM8YrXYxTJbXEAZhbD4DEyjF hIxs/Xn+4sm8kPNg7fIfa1fVN1FEKQ5TdGAZXW8TAVZo7wFE6AW4CBD5p8YsV05a 1EBw6Dvnrdmm5R3GAAd4fHmHHCcjHC7aBNVP+rXwCuwSd1eHYzVscK6gdmXDoPhC BG6p2WeS3SCnL/p5cZtmKOUUIq1f2jV+MpOvtMH/6Bq/HdNgppqIW3DGTYbOdeFM /eHF2PPHgw+f6ikhg5WKz0kUCvc7xuWYa9ZQ/jN/t6JP6DTdSBSpgBOUnrA7rGpy UYWhIR1znzexOtDOCD7L8fDvKam4qgbPdxaxHSCD2Ysm2u96xg36LepmRPW9nQEO qkQg5+bvnFheRFi1ynnC5i7Pu5r2FSG7/OUq3SfBD8Jqdyzwx0FvDQpyyeWmRmld DEEt4bRwW0m1wDDMV0VT =28vd -----END PGP SIGNATURE----- _______________________________________________ Devl mailing list Devl@freenetproject.org https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl