rsa-sign-test 246 Bytes
Newer Older
1
2
3
4
5
6
7
8
#! /bin/sh

if [ -z "$srcdir" ] ; then
  srcdir=`pwd`
fi

data="$srcdir/nettle-benchmark.c"

9
10
if [ -x rsa-sign$EXEEXT ] ; then
  if $EMULATOR ./rsa-sign testkey < "$data" > testsignature ; then
11
12
13
14
15
16
17
    exit 0;
  else
    exit 1
  fi
else
  exit 77
fi