]> git.ipfire.org Git - people/ms/strongswan.git/commit
crypto-tester: Use the plugin feature key size to benchmark crypters/aeads
authorMartin Willi <martin@revosec.ch>
Thu, 26 Mar 2015 10:50:28 +0000 (11:50 +0100)
committerMartin Willi <martin@revosec.ch>
Wed, 15 Apr 2015 09:35:26 +0000 (11:35 +0200)
commit3a5106caeaafbb2bbd040eb7461ac90b97b9bd0f
tree1d18fa19bc800ef2a97e54fcf27cd27e163906fc
parent22d0c934cd2a38d03109400ee3b8d40532861a42
crypto-tester: Use the plugin feature key size to benchmark crypters/aeads

We previously didn't pass the key size during algorithm registration, but this
resulted in benchmarking with the "default" key size the crypter uses when
passing 0 as key size.
src/libstrongswan/crypto/crypto_factory.c
src/libstrongswan/crypto/crypto_factory.h
src/libstrongswan/crypto/crypto_tester.c
src/libstrongswan/plugins/plugin_feature.c