-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

Going back to last week quickly, I forgot to mention that I sent an
email to the BouncyCastle email list asking them about support for
curve 25519 and ed25519. I got one response from a non-BCdev pointing
me towards a java implementation of curve 25519 which lead me to the
java implementation of ed25519 that I linked last week.

This week I wrote the first version of the API for hashing. I really
liked how the HashType enum was set up and am planning on using this
model for the rest of the API.

I started working on the API for signing. I am starting out just
supporting ECDSA. I am still working on figuring out the best way to
also support our custom DSA classes. After working on this I decided
that I would rather wait for BC to support ed25519 than try and
support our own implementation as it would be far less messy. The
SigType enum will keep track of the curve and algorithm being used so
we don't need a private curve class any more.

The PreferredAlgorithms class now checks against NSS as well.
JCELoader will now check if NSS has Unlimited Policy file. Right now
it just prints an error, but maybe we should just not use NSS if it's
not unlimited? I can write a check against the java version to
determine if it should be used for key generation in java6 [1]. As far
as I can tell NSS keys and BC signing seem to work together (at least
for benchmarking purposes) but I will do some more testing. I've also
added benchmarks for ECDSA and EC for key generation.

- -Charles

[1] https://bugs.freenetproject.org/view.php?id=5545
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJTne9lAAoJEKzPTx3Y+gGrw8UP/3LymZGh8r9PGrZ31OCSPRfr
s2mX1J7tpGSDmTihNxYa7MfwKGVpMgv3UnWeDlSoPlEchlOwBblvr6k6J/jsJrmr
o7npATxaZz72KVXq+oTdKJchWQPZ8cP3gDTgnfcHbb2t3+iYyyPqgZh5KrCeHAg0
Dtf7Z8cXX8hdmkI1ONvwr6xmg06gEQHtpJhG0/tXKWX7njq5pX1Dx46tPNzFiVml
OxrKnjACgbGyX0IanNqgP0lYKh4c+EN3kFlljibwq7IxmQ2iEIUcN3m2OlW7vext
OKyMfSoD1VEnStwKIJiCnF0VCxpI6DFa2/Rea2EVtWeedmadEVI/wH45zhzNwV5j
E3eSrWrxVEuOTLLvNDR5Xo3hWpYJOpBjRqy5cFXuAvEHU1ZqAnFEL0XujAA+jlO3
hOkrlo72GoGxVjHAoQdy0bfac0sb+QaNa93r/gKrb6qcFTGKYfub3TQ26TOCthKR
J7T1OcZZJmStNBN0I8ETNClXrU2kWHAoa7HylvjTdeUA7XpiEctH6ltzrlN8Ioy+
k7NIF7BYK5tzpx6PCz9QEk7OMdkz3gSWW++K6bmWD9IcLAVlO2p+Vywv9kBcjvZu
Ir16a5sfyfvQnYce6vfVa32Aj3ZZFPBfEN5f/yjumFux9V8dUXNgbYIWzY8cVKOR
pplU1+1xMCI8a5fxhH31
=zPGf
-----END PGP SIGNATURE-----
_______________________________________________
Devl mailing list
Devl@freenetproject.org
https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to