From 1fdc150116cad39aae5c5da407c3312b47a59e3a Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Fri, 17 Dec 2021 07:06:30 -0500 Subject: New upstream version 3.3.3+dfsg1. --- Plugins/DbSqliteWx/fastpbkdf2.h | 72 ----------------------------------------- 1 file changed, 72 deletions(-) delete mode 100644 Plugins/DbSqliteWx/fastpbkdf2.h (limited to 'Plugins/DbSqliteWx/fastpbkdf2.h') diff --git a/Plugins/DbSqliteWx/fastpbkdf2.h b/Plugins/DbSqliteWx/fastpbkdf2.h deleted file mode 100644 index 67d4184..0000000 --- a/Plugins/DbSqliteWx/fastpbkdf2.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * fastpbkdf2 - Faster PBKDF2-HMAC calculation - * Written in 2015 by Joseph Birr-Pixton - * - * To the extent possible under law, the author(s) have dedicated all - * copyright and related and neighboring rights to this software to the - * public domain worldwide. This software is distributed without any - * warranty. - * - * You should have received a copy of the CC0 Public Domain Dedication - * along with this software. If not, see - * . - */ - -#ifndef FASTPBKDF2_H -#define FASTPBKDF2_H - -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/** Calculates PBKDF2-HMAC-SHA1. - * - * @p npw bytes at @p pw are the password input. - * @p nsalt bytes at @p salt are the salt input. - * @p iterations is the PBKDF2 iteration count and must be non-zero. - * @p nout bytes of output are written to @p out. @p nout must be non-zero. - * - * This function cannot fail; it does not report errors. - */ -void fastpbkdf2_hmac_sha1(const uint8_t *pw, size_t npw, - const uint8_t *salt, size_t nsalt, - uint32_t iterations, - uint8_t *out, size_t nout); - -/** Calculates PBKDF2-HMAC-SHA256. - * - * @p npw bytes at @p pw are the password input. - * @p nsalt bytes at @p salt are the salt input. - * @p iterations is the PBKDF2 iteration count and must be non-zero. - * @p nout bytes of output are written to @p out. @p nout must be non-zero. - * - * This function cannot fail; it does not report errors. - */ -void fastpbkdf2_hmac_sha256(const uint8_t *pw, size_t npw, - const uint8_t *salt, size_t nsalt, - uint32_t iterations, - uint8_t *out, size_t nout); - -/** Calculates PBKDF2-HMAC-SHA512. - * - * @p npw bytes at @p pw are the password input. - * @p nsalt bytes at @p salt are the salt input. - * @p iterations is the PBKDF2 iteration count and must be non-zero. - * @p nout bytes of output are written to @p out. @p nout must be non-zero. - * - * This function cannot fail; it does not report errors. - */ -void fastpbkdf2_hmac_sha512(const uint8_t *pw, size_t npw, - const uint8_t *salt, size_t nsalt, - uint32_t iterations, - uint8_t *out, size_t nout); - -#ifdef __cplusplus -} -#endif - -#endif - -- cgit v1.2.3