gaah a mess (but working)
[openpower-isa.git] / crypto / chacha20 / chacha20.sh
1 #!/bin/sh -xe
2
3
4 pypowersim -g chacha20.gpr \
5 -s common.spr \
6 -p 0x20000000 \
7 -l ./chacha20.key:0x600000 \
8 -l ./chacha20.iv:0x700000 \
9 -l ./chacha20.cipher:0x800000 \
10 -l ./chacha20.plain:0x900000 \
11 -d ./chacha20.out:0x500000:128 \
12 -i chacha20test.bin
13 #cmp ${2} data/audio/mp3/mp3_0_data/samples${1}