Sha256: 17dea3ea2898bcdf2e53fa7ef4ac5bb079440bcee100936a460b550f29d2db22

Contents?: true

Size: 600 Bytes

Versions: 7

Compression:

Stored size: 600 Bytes

Contents

#!/bin/sh

make genkat > /dev/null
if [ $? -ne 0 ]
then
  exit $?
fi

printf "argon2i "
./genkat i > tmp
if diff tmp kats/argon2i
then printf "OK"
else printf "ERROR"
fi
printf "\n"

printf "argon2d "
./genkat d > tmp
if diff tmp kats/argon2d
then printf "OK"
else printf "ERROR"
fi
printf "\n"

make genkat OPT=TRUE > /dev/null
if [ $? -ne 0 ]
then
  exit $?
fi

printf "argon2i "
./genkat i > tmp
if diff tmp kats/argon2i
then printf "OK"
else printf "ERROR"
fi
printf "\n"

printf "argon2d "
./genkat d > tmp
if diff tmp kats/argon2d
then printf "OK"
else printf "ERROR"
fi
printf "\n"

rm -f tmp

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
argon2-1.0.0 ext/phc-winner-argon2/kats/test.sh
argon2-0.1.4 ext/phc-winner-argon2/kats/test.sh
argon2-0.1.3 ext/phc-winner-argon2/kats/test.sh
argon2-0.1.2 ext/phc-winner-argon2/kats/test.sh
argon2-0.1.1 ext/phc-winner-argon2/kats/test.sh
argon2-0.1.0 ext/phc-winner-argon2/kats/test.sh
argon2-0.0.2 ext/phc-winner-argon2/kats/test.sh