"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tests/api_test.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.

api_test.h  (cryptsetup-2.3.6.tar.xz):api_test.h  (cryptsetup-2.4.0.tar.xz)
skipping to change at line 99 skipping to change at line 99
} while(0) } while(0)
#define NOTNULL_(x) do { xlog("(notnull)", #x, __FUNCTION__, __LINE__, NULL); \ #define NOTNULL_(x) do { xlog("(notnull)", #x, __FUNCTION__, __LINE__, NULL); \
check_notnull(__LINE__, __FUNCTION__, (x)); \ check_notnull(__LINE__, __FUNCTION__, (x)); \
} while(0) } while(0)
#define RUN_(x, y) do { reset_log(); \ #define RUN_(x, y) do { reset_log(); \
printf("%s: %s\n", #x, (y)); x(); \ printf("%s: %s\n", #x, (y)); x(); \
} while (0) } while (0)
#define CRYPT_FREE(x) do { crypt_free(x); x = NULL; } while (0) #define CRYPT_FREE(x) do { crypt_free(x); x = NULL; } while (0)
#define SECTOR_SHIFT 9L #define TST_SECTOR_SHIFT 9L
#define SECTOR_SIZE 512 #define TST_SECTOR_SIZE 512
#define TST_LOOP_FILE_SIZE (((1<<20)*100)>>SECTOR_SHIFT) #define TST_LOOP_FILE_SIZE (((1 << 20) * 100) >> TST_SECTOR_SHIFT)
#define DIV_ROUND_UP(n,d) (((n) + (d) - 1) / (d)) #define DIV_ROUND_UP(n,d) (((n) + (d) - 1) / (d))
#define DIV_ROUND_UP_MODULO(n,d) (DIV_ROUND_UP(n,d)*(d)) #define DIV_ROUND_UP_MODULO(n,d) (DIV_ROUND_UP(n,d)*(d))
/* Device mapper backend - kernel support flags */ /* Device mapper backend - kernel support flags */
#define T_DM_KEY_WIPE_SUPPORTED (1 << 0) /* key wipe message */ #define T_DM_KEY_WIPE_SUPPORTED (1 << 0) /* key wipe message */
#define T_DM_LMK_SUPPORTED (1 << 1) /* lmk mode */ #define T_DM_LMK_SUPPORTED (1 << 1) /* lmk mode */
#define T_DM_SECURE_SUPPORTED (1 << 2) /* wipe (secure) buffer flag */ #define T_DM_SECURE_SUPPORTED (1 << 2) /* wipe (secure) buffer flag */
#define T_DM_PLAIN64_SUPPORTED (1 << 3) /* plain64 IV */ #define T_DM_PLAIN64_SUPPORTED (1 << 3) /* plain64 IV */
#define T_DM_DISCARDS_SUPPORTED (1 << 4) /* discards/TRIM option is suppor ted */ #define T_DM_DISCARDS_SUPPORTED (1 << 4) /* discards/TRIM option is suppor ted */
#define T_DM_VERITY_SUPPORTED (1 << 5) /* dm-verity target supported */ #define T_DM_VERITY_SUPPORTED (1 << 5) /* dm-verity target supported */
 End of changes. 1 change blocks. 
3 lines changed or deleted 3 lines changed or added

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