[riot-notifications] [RIOT-OS/RIOT] sys/hashes/pbkdf2: Add PBKDF2-sha256 implementation. [TAKEOVER] (#15199)

Francisco notifications at github.com
Wed Nov 4 09:37:59 CET 2020


@fjmolinas commented on this pull request.



> +
+/**
+ * @brief   PBKDF2 key size length
+ *
+ * @note Currently only one derived key length is supported (32)
+ */
+#define PBKDF2_KEY_SIZE SHA256_DIGEST_LENGTH
+
+/**
+ * @brief Create a key from a password and hash using PBKDF2.
+ *
+ * @param[in]   password        password pointer
+ * @param[in]   password_len    length of password
+ * @param[in]   salt            salt pointer
+ * @param[in]   salt_len        salt length
+ * @param[in]   iterations      number of rounds. Must be >1.

@benpicco I already added the recommendation here!

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15199#discussion_r517174915
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201104/e412da51/attachment.htm>


More information about the notifications mailing list