Change-Id: I2a0d00923ffa4f105461a7ee2bc6bb025c6bdb82
return ret;
nk->bit_len = key_bit_len;
- nk->key.type = YACA_KEY_TYPE_SYMMETRIC; // TODO: how to handle other keys?
+ nk->key.type = YACA_KEY_TYPE_SYMMETRIC;
ret = PKCS5_PBKDF2_HMAC(password, -1, (const unsigned char*)salt,
salt_len, iterations, md, key_byte_len,
+++ /dev/null
-Global:
-- Rethink and possibly add verification of output buffer lengths.
- In other words check whether the user won't cause a buffer overflow.
-- Support for OCB mode was added in OpenSSL 1.1.0
-- We need a way to import keys encrypted with hw (or other) keys. New
- function like yaca_key_load or sth?
-- Add extended description and examples in documentation.