blob: 232afb95943ffdb5b3afc1a47542c65c2bd6f89c [file] [log] [blame]
Dees Troyc657cc02015-01-16 22:48:47 +00001#include <stdio.h>
2#include <string.h>
3#include <sys/types.h>
4#include <linux/types.h>
5#include <sys/wait.h>
6#include <sys/stat.h>
7#include <ctype.h>
8#include <fcntl.h>
9#include <inttypes.h>
10#include <unistd.h>
11#include <stdio.h>
12#include <sys/ioctl.h>
13#include <linux/dm-ioctl.h>
14#include <libgen.h>
15#include <stdlib.h>
16#include <sys/param.h>
17#include <string.h>
18#include <sys/mount.h>
19#include <openssl/evp.h>
20#include <errno.h>
21#include <linux/kdev_t.h>
22#include <time.h>
23#include "cryptfs.h"
24#include "cutils/properties.h"
25#include "crypto_scrypt.h"
Dees Troyc657cc02015-01-16 22:48:47 +000026
27int main() {
Ethan Yonkerc798c9c2015-10-09 11:15:26 -050028 set_partition_data("/dev/block/platform/sdhci-tegra.3/by-name/UDA", "/dev/block/platform/sdhci-tegra.3/by-name/MD1", "f2fs");
29 //int ret = cryptfs_check_passwd("30303030");
30 int ret = cryptfs_check_passwd("0000");
Dees Troyc657cc02015-01-16 22:48:47 +000031 return 0;
32}