]>
git.saurik.com Git - apple/security.git/blob - SecurityTests/clxutils/importExport/impExpOpensslEcdsa
3 # Run OpenSSL/ECDSA import/export tests.
5 # Run this from SecurityTests/clxutils/importExport. The
6 # kcImport and kcExport programs must exist in the location
7 # specified by the LOCAL_BUILD_DIR env var.
12 set ECDSASUBTOOL
=.
/impExpOpensslEcdsaTool
14 # user specified variables
20 set SECURE_PHRASE_ARG
=
39 set SECURE_PHRASE_ARG
=-Z
47 echo Usage
: impExpOpensslEcdsa \
[q\
(uiet\
)\
] \
[n\
(oACL\
)\
] \
[s\
(ecurePassphrase\
)\
] \
[N\
(oClean\
)\
]
52 echo === Begin ECDSA
/openssl
test ===
55 set cmd
="$SECURITY unlock -p $KEYCHAIN_PWD $KEYCHAIN"
56 if ($QUIET == NO
) then
61 set cmd
="$ECDSASUBTOOL 256 $QUIET $NOACL $SECURE_PHRASE $NOCLEAN"
62 if ($QUIET == NO
) then
67 set cmd
="$ECDSASUBTOOL 384 $QUIET $NOACL $SECURE_PHRASE $NOCLEAN"
68 if ($QUIET == NO
) then
73 set cmd
="$ECDSASUBTOOL 521 $QUIET $NOACL $SECURE_PHRASE $NOCLEAN"
74 if ($QUIET == NO
) then