Hello All, We have been trying to get unit tests to work on above platforms and are having some trouble getting them to work. So far
1) OS X - unit tests build but fail at running shatest. Manually tried to run a few more and they fail as well (rsa_test). some did complete successfully (dsatest, ideatest etc).
2) iOS - doest seem to even build. I can try posting a trace of the build log but Just wanted to know if there is a guide or a tutorial on how to do this.
Following is a log from running rsa_test test suite
./util/shlib_wrap.sh ./rsa_test
PKCS #1 v1.5 encryption/decryption ok
OAEP decryption (test vector data) failed!
PKCS #1 v1.5 encryption/decryption ok
OAEP decryption (test vector data) failed!
PKCS #1 v1.5 encryption/decryption ok
OAEP decryption (test vector data) failed!
PKCS #1 v1.5 encryption/decryption ok
OAEP decryption (test vector data) failed!
PKCS #1 v1.5 encryption/decryption ok
OAEP decryption (test vector data) failed!
PKCS #1 v1.5 encryption/decryption ok
OAEP decryption (test vector data) failed!
And following is a log from running make test
make VERBOSE=1 CFLAG="-D_DARWIN_C_SOURCE $ASM_DEF -arch x86_64 $ISYSROOT -Wno-unused-value -Wno-parentheses" SHARED_LDFLAGS="-v -arch $BUILDARCH " TEST="rsa_test" test
testing...
making all in apps...
make[3]: Nothing to be done for `all'.
../util/shlib_wrap.sh ./destest
Doing cbcm
Doing ecb
Doing ede ecb
Doing cbc
Doing desx cbc
Doing ede cbc
Doing pcbc
Doing cfb8 cfb16 cfb32 cfb48 cfb64 cfb64() ede_cfb64() done
Doing ofb
Doing ofb64
Doing ede_ofb64
Doing cbc_cksum
Doing quad_cksum
input word alignment test 0 1 2 3
output word alignment test 0 1 2 3
fast crypt test
../util/shlib_wrap.sh ./ideatest
ecb idea ok
cbc idea ok
cfb64 idea ok
../util/shlib_wrap.sh ./shatest
error calculating SHA on 'abc'
got d10b77d397c7b0c2f512817fa31b711f78f54c7c instead of 0164b8a914cd2a5e74c4f7ff082c4d97f1edf880
error calculating SHA on 'abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq'
got 4dfe6932e48fc93fda656e0d2ba012d1095ea5e3 instead of d2516ee1acfa5baf33dfc1c471e438449ef134c8
error calculating SHA on 'd2e26ed42ca44c6b78dfadbbf803d650f8b8baf4'
got d2e26ed42ca44c6b78dfadbbf803d650f8b8baf4 instead of 3232affa48628a26653b5aaa44541fd90d690603
make[1]: *** [test_sha] Error 3
make: *** [tests] Error 2