Changeset View
Changeset View
Standalone View
Standalone View
head/sys/sys/kerneldump.h
Show First 20 Lines • Show All 52 Lines • ▼ Show 20 Lines | |||||
#define dtoh64(x) (x) | #define dtoh64(x) (x) | ||||
#define htod32(x) (x) | #define htod32(x) (x) | ||||
#define htod64(x) (x) | #define htod64(x) (x) | ||||
#endif | #endif | ||||
#define KERNELDUMP_ENC_NONE 0 | #define KERNELDUMP_ENC_NONE 0 | ||||
#define KERNELDUMP_ENC_AES_256_CBC 1 | #define KERNELDUMP_ENC_AES_256_CBC 1 | ||||
#define KERNELDUMP_BUFFER_SIZE 1024 | #define KERNELDUMP_BUFFER_SIZE 4096 | ||||
#define KERNELDUMP_IV_MAX_SIZE 32 | #define KERNELDUMP_IV_MAX_SIZE 32 | ||||
#define KERNELDUMP_KEY_MAX_SIZE 64 | #define KERNELDUMP_KEY_MAX_SIZE 64 | ||||
#define KERNELDUMP_ENCKEY_MAX_SIZE (16384 / 8) | #define KERNELDUMP_ENCKEY_MAX_SIZE (16384 / 8) | ||||
/* | /* | ||||
* All uintX_t fields are in dump byte order, which is the same as | * All uintX_t fields are in dump byte order, which is the same as | ||||
* network byte order. Use the macros defined above to read or | * network byte order. Use the macros defined above to read or | ||||
* write the fields. | * write the fields. | ||||
▲ Show 20 Lines • Show All 85 Lines • Show Last 20 Lines |