Changeset View
Changeset View
Standalone View
Standalone View
sys/geom/bde/g_bde_lock.c
Show First 20 Lines • Show All 52 Lines • ▼ Show 20 Lines | |||||
#include <errno.h> | #include <errno.h> | ||||
#include <string.h> | #include <string.h> | ||||
#include <stdlib.h> | #include <stdlib.h> | ||||
#include <stdio.h> | #include <stdio.h> | ||||
#define g_free(foo) free(foo) | #define g_free(foo) free(foo) | ||||
#endif | #endif | ||||
#include <crypto/rijndael/rijndael-api-fst.h> | #include <crypto/rijndael/rijndael-api-fst.h> | ||||
#include <crypto/sha2/sha2.h> | #include <crypto/sha2/sha512.h> | ||||
#include <geom/geom.h> | #include <geom/geom.h> | ||||
#include <geom/bde/g_bde.h> | #include <geom/bde/g_bde.h> | ||||
/* | /* | ||||
* Hash the raw pass-phrase. | * Hash the raw pass-phrase. | ||||
* | * | ||||
* Security objectives: produce from the pass-phrase a fixed length | * Security objectives: produce from the pass-phrase a fixed length | ||||
▲ Show 20 Lines • Show All 409 Lines • Show Last 20 Lines |