lkml.org 
[lkml]   [2005]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject[4/5] bd: script for binding file and acrypto filters
Date
From
#!/bin/sh

num=$#

if [ $num != 2 ]; then
echo "Usage: $0 device backend_file"
exit -1
fi

dev=$1
file=$2

./ubd bind dev /dev/bd0 filter acrypto cipher aes128 mode ecb priority 123 key 00000000000000000000000000000000 iv 00
#./ubd bind dev $dev filter xor
./ubd bind dev $dev filter fd file $file

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:10    [W:0.436 / U:0.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site