"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/crypto_backend/crypto_backend.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.h  (cryptsetup-2.3.6.tar.xz):crypto_backend.h  (cryptsetup-2.4.0.tar.xz)
skipping to change at line 64 skipping to change at line 64
int crypt_hmac_final(struct crypt_hmac *ctx, char *buffer, size_t length); int crypt_hmac_final(struct crypt_hmac *ctx, char *buffer, size_t length);
void crypt_hmac_destroy(struct crypt_hmac *ctx); void crypt_hmac_destroy(struct crypt_hmac *ctx);
/* RNG (if fips parameter set, must provide FIPS compliance) */ /* RNG (if fips parameter set, must provide FIPS compliance) */
enum { CRYPT_RND_NORMAL = 0, CRYPT_RND_KEY = 1, CRYPT_RND_SALT = 2 }; enum { CRYPT_RND_NORMAL = 0, CRYPT_RND_KEY = 1, CRYPT_RND_SALT = 2 };
int crypt_backend_rng(char *buffer, size_t length, int quality, int fips); int crypt_backend_rng(char *buffer, size_t length, int quality, int fips);
/* PBKDF*/ /* PBKDF*/
struct crypt_pbkdf_limits { struct crypt_pbkdf_limits {
uint32_t min_iterations, max_iterations; uint32_t min_iterations, max_iterations;
uint32_t min_memory, max_memory; uint32_t min_memory, max_memory, min_bench_memory;
uint32_t min_parallel, max_parallel; uint32_t min_parallel, max_parallel;
}; };
int crypt_pbkdf_get_limits(const char *kdf, struct crypt_pbkdf_limits *l); int crypt_pbkdf_get_limits(const char *kdf, struct crypt_pbkdf_limits *l);
int crypt_pbkdf(const char *kdf, const char *hash, int crypt_pbkdf(const char *kdf, const char *hash,
const char *password, size_t password_length, 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);
int crypt_pbkdf_perf(const char *kdf, const char *hash, int crypt_pbkdf_perf(const char *kdf, const char *hash,
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

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