Posted by: Wildan Maulana | September 14, 2007

[Failed-50% Solved ^_^]The Codeflow of “cryptsetup –cipher aes luksOpen /dev/mmcblk0p2 rahasia”

I write this just for my personal documentation, if you wanna know the flow, just follow the link i put on every function name :

static int action_luksOpen(int arg)
{
struct crypt_options options = {
.name = action_argv[1],
.device = action_argv[0],
.key_file = opt_key_file,
.timeout = opt_timeout,
.tries = opt_tries
};
int r;

opt_verbose = 1;
options.flags = 0;
if (opt_readonly)
options.flags |= CRYPT_FLAG_READONLY;
r = crypt_luksOpen(&options);
show_status(-r);
return r;
}

And …, this is the Junk Code tes : [1] and [2]


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: