e74aabcffb
Currently when timing the pbkdf algorithm a fixed key size of 32 bytes is used. This results in inaccurate timings for certain hashes depending on their digest size. For example when using sha1 with aes-256, this causes us to measure time for the master key digest doing 2 sha1 operations per iteration, instead of 1. Instead we should pass in the desired key size to the timing routine that matches the key size that will be used for real later. Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Daniel P. Berrange <berrange@redhat.com> |
||
---|---|---|
.. | ||
aes.h | ||
afsplit.h | ||
block.h | ||
cipher.h | ||
desrfb.h | ||
hash.h | ||
init.h | ||
ivgen.h | ||
pbkdf.h | ||
random.h | ||
secret.h | ||
tlscreds.h | ||
tlscredsanon.h | ||
tlscredsx509.h | ||
tlssession.h | ||
xts.h |