1
1
Simo Sorce 104c9dca3f Use a common KDF function
Cleanup the KDF function to use only one function per crypto backend.
Improve the KDF function to properly handle requested lenght and to
avoid unnecessarily reallocating buffers.

In OpenSSL use the new EVP_KDF API if available.

Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2019-03-07 12:03:32 +01:00
..
2016-02-03 09:01:29 +01:00
2019-03-07 12:03:32 +01:00
2009-05-04 22:30:21 +00:00
2010-05-17 20:08:11 +02:00
2019-01-22 13:12:25 +01:00
2008-03-17 02:31:22 +00:00
2018-10-19 17:42:55 +02:00
2009-11-05 18:18:35 +01:00
2008-03-17 02:31:22 +00:00