TEST 345 Bytes
rm -f flash.img
../fs/gendata 128 > test.aes
$ROOT/usr/sbin/writeflash -l /dev/null -k /dev/null -b /dev/null test.aes
#$ROOT/usr/sbin/lsflash -v
echo b reencrypt |
env SIMOS_FLASH=./flash.img \
    SIMOS_DIR=../../simos \
    SIMOS_INIT=../../simos/TEST/init.simos \
    $ROOT/usr/sbin/simos
#$ROOT/usr/sbin/lsflash -v
rm -f flash.img test.aes