bearing in mind that i'm not a crypto guy, just someone who's interested in ecdsa keys for ssh auth (and yeah, I know that I can't use curve P224 for ssh), the performance difference between generating keys on the P256 and P224 curves is so large that I just want to verify that this is expected.
pmoody@perdido 12:51 load:1.53 procs:324 (master ☡=) last:2 ~/g/s/g/p/s/ecdsa
$ ./ecdsa -curve 224 -timeout 2s
2016/03/21 12:51:57 completed 1601, 800.5/sec
pmoody@perdido 12:51 load:1.60 procs:326 (master ☡=) last:0 ~/g/s/g/p/s/ecdsa
$ ./ecdsa -curve 256 -timeout 2s
2016/03/21 12:52:02 completed 93921, 46960.5/sec
pmoody@perdido 12:52 load:1.63 procs:328 (master ☡=) last:0 ~/g/s/g/p/s/ecdsa
$ ./ecdsa -curve 384 -timeout 2s
2016/03/21 12:54:31 completed 341, 170.5/sec
nearly 47k keys per second? Can that be right?
so, sorry for the noobish question, but does the complexity of generating elliptic curve keys just not scale the way that rsa keys have lead me to believe they might? and that massive increase in keys/sec for keys on P256, is that just a matter of my cpu being very very efficient at the particulars of the operations required for P256 keys?
Cheers,
peter