blob: 4edec861b1eae93138ed38af8cb33a368f0aa2bd [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"
26#include <hardware/keymaster.h>
27
28int main() {
29 printf("blah\n");
30 set_partition_data("/dev/block/mmcblk0p28", "/dev/block/mmcblk0p27", "ext4");
31 printf("blah2\n");
32 int ret = cryptfs_check_passwd("30303030");
33 //int ret = cryptfs_check_passwd("0000");
34 return 0;
35}