"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/crypto_backend/crypto_backend_internal.h" between
cryptsetup-2.3.6.tar.xz and cryptsetup-2.4.0.tar.xz

About: cryptsetup is a utility used to conveniently setup disk encryption based on the dm-crypt kernel module. These include plain dm-crypt volumes, LUKS volumes, loop-AES and TrueCrypt compatible format.

crypto_backend_internal.h  (cryptsetup-2.3.6.tar.xz):crypto_backend_internal.h  (cryptsetup-2.4.0.tar.xz)
skipping to change at line 26 skipping to change at line 26
* *
* You should have received a copy of the GNU Lesser General Public * You should have received a copy of the GNU Lesser General Public
* License along with this file; if not, write to the Free Software * License along with this file; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef _CRYPTO_BACKEND_INTERNAL_H #ifndef _CRYPTO_BACKEND_INTERNAL_H
#define _CRYPTO_BACKEND_INTERNAL_H #define _CRYPTO_BACKEND_INTERNAL_H
#include "crypto_backend.h" #include "crypto_backend.h"
#if USE_INTERNAL_PBKDF2
/* internal PBKDF2 implementation */ /* internal PBKDF2 implementation */
int pkcs5_pbkdf2(const char *hash, int pkcs5_pbkdf2(const char *hash,
const char *P, size_t Plen, const char *P, size_t Plen,
const char *S, size_t Slen, const char *S, size_t Slen,
unsigned int c, unsigned int c,
unsigned int dkLen, char *DK, unsigned int dkLen, char *DK,
unsigned int hash_block_size); unsigned int hash_block_size);
#endif
/* Argon2 implementation wrapper */ /* Argon2 implementation wrapper */
int argon2(const char *type, const char *password, size_t password_length, int argon2(const char *type, const char *password, size_t password_length,
const char *salt, size_t salt_length, const char *salt, size_t salt_length,
char *key, size_t key_length, char *key, size_t key_length,
uint32_t iterations, uint32_t memory, uint32_t parallel); uint32_t iterations, uint32_t memory, uint32_t parallel);
/* Block ciphers: fallback to kernel crypto API */ /* Block ciphers: fallback to kernel crypto API */
struct crypt_cipher_kernel { struct crypt_cipher_kernel {
 End of changes. 2 change blocks. 
2 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)