Seems OK. nmake TESTS=test_evp V=1 test results attached.

C:\Downloads\OpenSSL\openssl-1.1.1b>perl Configure VC-WIN64A no-asm no-shared 
--prefix=C:\Downloads\OpenSSL\openssl-1.1.1b\static
nmake install
nmake test
All tests successful.
Files=155, Tests=1163, 163 wallclock secs ( 0.73 usr +  0.19 sys =  0.92 CPU)
Result: PASS

Regards,
John

-----Original Message-----
From: openssl-users <openssl-users-boun...@openssl.org> On Behalf Of Matt 
Caswell
Sent: 12 April 2019 14:16
To: openssl-users@openssl.org
Subject: Re: Tests fail on openssl 1.1.1b Windows 7 built with VS 2013

CAUTION: This email originated from outside of Synchronoss.


On 11/04/2019 17:43, John Unsworth wrote:
> Attached. This is with the debug build.

Hmmm, this seems to suggest failures in SHA3 and X448 code. Perhaps assembler 
issues?

Try compiling with "no-asm" as a Configure option. That's not really a viable 
option for production code but it at least rules assembler issues in or out.

Matt



>
> John
>
> -----Original Message-----
> From: openssl-users <openssl-users-boun...@openssl.org> On Behalf Of 
> Matt Caswell
> Sent: 11 April 2019 17:40
> To: openssl-users@openssl.org
> Subject: Re: Tests fail on openssl 1.1.1b Windows 7 built with VS 2013
>
> CAUTION: This email originated from outside of Synchronoss.
>
>
> On 11/04/2019 15:20, John Unsworth wrote:
>
>> test\recipes\30-test_evp.t ...................... Dubious, test 
>> returned 4 (wstat 1024, 0x400)
>
> Can you tell us the result from :
>
> nmake TESTS=test_evp V=1 test
>
> Thanks
>
> Matt
>
        "C:\Program Files (x86)\Microsoft Visual Studio 
12.0\VC\BIN\amd64\nmake.exe" /                   depend && "C:\Program Files 
(x86)\Microsoft Visual Studio 12.0\VC\BIN\amd64\nmake.exe" /                   
_tests
        mkdir .\test\test-runs
        set SRCTOP=.
        set BLDTOP=.
        set RESULT_D=.\test\test-runs
        set PERL=C:\Perl-5.28.1\bin\perl.exe
        set OPENSSL_ENGINES=C:\Downloads\OpenSSL\openssl-1.1.1b\engines
        set OPENSSL_DEBUG_MEMORY=on
        "C:\Perl-5.28.1\bin\perl.exe" ".\test\run_tests.pl" test_evp
test\recipes\30-test_evp.t .. 
1..9
    # Subtest: ..\evp_test.exe
    1..1
        # Subtest: run_file_tests
        1..1
        # INFO: 
        # Reading ..\recipes\30-test_evp_data\evpciph.txt
        # INFO: 
        # Starting "DES Tests (various sources)" tests at line 22
        # INFO: 
        # Starting "AES (from FIPS-197 test vectors)" tests at line 87
        # INFO: 
        # Starting "AES tests from NIST document SP800-38A" tests at line 150
        # INFO: 
        # Starting "AES Counter test vectors from RFC3686" tests at line 644
        # INFO: 
        # Starting "AES XTS test vectors from IEEE Std 1619-2007" tests at line 
1180
        # INFO: 
        # Starting "RC4 tests" tests at line 1435
        # INFO: 
        # Starting "Camellia tests from RFC3713" tests at line 1467
        # INFO: 
        # Starting "SM4 test vectors from IETF draft-ribose-cfrg-sm4" tests at 
line 2081
        # INFO: 
        # Starting "ARIA test vectors from RFC5794 (and others)" tests at line 
2112
        # INFO: 
        # Starting "ARIA GCM test vectors from IETF 
draft-ietf-avtcore-aria-srtp-10" tests at line 2235
        # INFO: 
        # Starting "ARIA CCM test vectors from IETF 
draft-ietf-avtcore-aria-srtp-02" tests at line 2253
        # INFO: 
        # Starting "SEED test vectors from RFC4269" tests at line 2310
        # INFO: 
        # Starting "Chacha20" tests at line 2360
        # INFO: 
        # Completed 350 tests with 0 errors and 0 skipped
        ok 1 - ..\recipes\30-test_evp_data\evpciph.txt
    ok 1 - run_file_tests
..\evp_test.exe ..\recipes\30-test_evp_data\evpciph.txt => 0
ok 1 - running evp_test evpciph.txt
    # Subtest: ..\evp_test.exe
    1..1
        # Subtest: run_file_tests
        1..1
        # INFO: 
        # Reading ..\recipes\30-test_evp_data\evpdigest.txt
        # INFO: 
        # Starting "BLAKE tests" tests at line 20
        # INFO: 
        # Starting "SHA tests from (RFC6234 section 8.5 and others)" tests at 
line 94
        # INFO: 
        # Starting "MD5 tests" tests at line 230
        # INFO: 
        # Starting "MD5-SHA1" tests at line 260
        # INFO: 
        # Starting "MD4 tests" tests at line 274
        # INFO: 
        # Starting "RIPEMD160 tests" tests at line 304
        # INFO: 
        # Starting "Whirlpool (from ISO/IEC 10118-3 test vector set)" tests at 
line 338
        # INFO: 
        # Starting "SHA3" tests at line 378
        # INFO: 
        # Starting "SM3 Tests" tests at line 509
        # INFO: 
        # Completed 117 tests with 0 errors and 0 skipped
        ok 1 - ..\recipes\30-test_evp_data\evpdigest.txt
    ok 1 - run_file_tests
..\evp_test.exe ..\recipes\30-test_evp_data\evpdigest.txt => 0
ok 2 - running evp_test evpdigest.txt
    # Subtest: ..\evp_test.exe
    1..1
        # Subtest: run_file_tests
        1..1
        # INFO: 
        # Reading ..\recipes\30-test_evp_data\evpencod.txt
        # INFO: 
        # Starting "Base64 tests" tests at line 15
        # ERROR: (bool) 'EVP_EncodeUpdate(encode_ctx, encode_out, &chunk_len, 
expected->input, expected->input_len) == true' failed @ test\evp_test.c:1618
        # false
        # INFO: 
        # Completed 47 tests with 0 errors and 0 skipped
        ok 1 - ..\recipes\30-test_evp_data\evpencod.txt
    ok 1 - run_file_tests
..\evp_test.exe ..\recipes\30-test_evp_data\evpencod.txt => 0
ok 3 - running evp_test evpencod.txt
    # Subtest: ..\evp_test.exe
    1..1
        # Subtest: run_file_tests
        1..1
        # INFO: 
        # Reading ..\recipes\30-test_evp_data\evpkdf.txt
        # INFO: 
        # Starting "TLS1 PRF tests (from NIST test vectors)" tests at line 15
        # INFO: 
        # Starting "HKDF tests (from RFC5869 test vectors)" tests at line 72
        # INFO: 
        # Starting "id-scrypt tests (from draft-josefsson-id-scrypt-kdf-03 and 
others)" tests at line 255
        # ERROR: (ptr) 'got = OPENSSL_malloc(got_len) != NULL' failed @ 
test\evp_test.c:1747
        # 0x0
        # INFO: 
        # Completed 39 tests with 0 errors and 0 skipped
        ok 1 - ..\recipes\30-test_evp_data\evpkdf.txt
    ok 1 - run_file_tests
..\evp_test.exe ..\recipes\30-test_evp_data\evpkdf.txt => 0
ok 4 - running evp_test evpkdf.txt
    # Subtest: ..\evp_test.exe
    1..1
        # Subtest: run_file_tests
        1..1
        # INFO: 
        # Reading ..\recipes\30-test_evp_data\evpmac.txt
        # INFO: 
        # Starting "SIPHASH tests" tests at line 18
        # INFO: 
        # Starting "HMAC tests (from RFC2104 and others)" tests at line 162
        # INFO: 
        # Starting "SHA1" tests at line 182
        # INFO: 
        # Starting "SHA2" tests at line 204
        # INFO: 
        # Starting "SHA3" tests at line 278
        # INFO: 
        # Starting "CMAC tests (from FIPS module)" tests at line 355
        # INFO: 
        # Starting "Poly1305 Tests (from RFC 7539 and others)" tests at line 381
        # INFO: 
        # Completed 102 tests with 0 errors and 0 skipped
        ok 1 - ..\recipes\30-test_evp_data\evpmac.txt
    ok 1 - run_file_tests
..\evp_test.exe ..\recipes\30-test_evp_data\evpmac.txt => 0
ok 5 - running evp_test evpmac.txt
    # Subtest: ..\evp_test.exe
    1..1
        # Subtest: run_file_tests
        1..1
        # INFO: 
        # Reading ..\recipes\30-test_evp_data\evppbe.txt
        # INFO: 
        # Starting "scrypt tests (from draft-josefsson-scrypt-kdf-03 and 
others)" tests at line 15
        # INFO: 
        # Starting "PKCS12 tests" tests at line 55
        # INFO: 
        # Starting "PBKDF2 tests" tests at line 105
        # INFO: 
        # Starting "PBKDF2 tests for empty and NULL inputs" tests at line 212
        # INFO: 
        # Completed 31 tests with 0 errors and 0 skipped
        ok 1 - ..\recipes\30-test_evp_data\evppbe.txt
    ok 1 - run_file_tests
..\evp_test.exe ..\recipes\30-test_evp_data\evppbe.txt => 0
ok 6 - running evp_test evppbe.txt
    # Subtest: ..\evp_test.exe
    1..1
        # Subtest: run_file_tests
        1..1
        # INFO: 
        # Reading ..\recipes\30-test_evp_data\evppkey.txt
        # INFO: 
        # Starting "RSA tests" tests at line 131
        # INFO: 
        # Starting "EC tests" tests at line 590
        # INFO: 
        # Starting "DSA tests" tests at line 652
        # INFO: 
        # Starting "X25519 test vectors (from RFC7748 6.1)" tests at line 705
        # INFO: 
        # Starting "X448 test vectors (from RFC7748 6.2)" tests at line 773
        # INFO: 
        # Starting "RSA PSS/OAEP (from RSASecurity FTP)" tests at line 848
        # INFO: 
        # Starting "ECDH tests (with random keys)" tests at line 1853
        # INFO: 
        # Starting "ECDH KATs (from RFC 5114, 5903, 7027)" tests at line 5408
        # INFO: 
        # Starting "ECDH KATs (from NIST SP800-56A co-factor ECDH KATs" tests 
at line 5908
        # INFO: 
        # Starting "Test keypair mismatches" tests at line 17292
        # INFO: 
        # Starting "DigestSign and DigestVerify" tests at line 17399
        # INFO: 
        # Starting "ED25519 tests from RFC8032" tests at line 17459
        # INFO: 
        # Starting "ED448 tests from RFC8032" tests at line 17612
        # INFO: 
        # Starting "RFC7919 DH tests" tests at line 17862
        # INFO: 
        # Starting "SM2 tests" tests at line 18419
        # INFO: 
        # Starting "Chosen Wycheproof vectors" tests at line 18457
        # INFO: 
        # Completed 1444 tests with 0 errors and 0 skipped
        ok 1 - ..\recipes\30-test_evp_data\evppkey.txt
    ok 1 - run_file_tests
..\evp_test.exe ..\recipes\30-test_evp_data\evppkey.txt => 0
ok 7 - running evp_test evppkey.txt
    # Subtest: ..\evp_test.exe
    1..1
        # Subtest: run_file_tests
        1..1
        # INFO: 
        # Reading ..\recipes\30-test_evp_data\evppkey_ecc.txt
        # INFO: 
        # Starting "brainpoolP160r1 curve tests" tests at line 1
        # INFO: 
        # Starting "brainpoolP160t1 curve tests" tests at line 39
        # INFO: 
        # Starting "brainpoolP192r1 curve tests" tests at line 77
        # INFO: 
        # Starting "brainpoolP192t1 curve tests" tests at line 117
        # INFO: 
        # Starting "brainpoolP224r1 curve tests" tests at line 157
        # INFO: 
        # Starting "brainpoolP224t1 curve tests" tests at line 197
        # INFO: 
        # Starting "brainpoolP256r1 curve tests" tests at line 237
        # INFO: 
        # Starting "brainpoolP256t1 curve tests" tests at line 277
        # INFO: 
        # Starting "brainpoolP320r1 curve tests" tests at line 317
        # INFO: 
        # Starting "brainpoolP320t1 curve tests" tests at line 357
        # INFO: 
        # Starting "brainpoolP384r1 curve tests" tests at line 397
        # INFO: 
        # Starting "brainpoolP384t1 curve tests" tests at line 439
        # INFO: 
        # Starting "brainpoolP512r1 curve tests" tests at line 481
        # INFO: 
        # Starting "brainpoolP512t1 curve tests" tests at line 523
        # INFO: 
        # Starting "c2pnb163v1 curve tests" tests at line 565
        # INFO: 
        # Starting "c2pnb163v2 curve tests" tests at line 637
        # INFO: 
        # Starting "c2pnb163v3 curve tests" tests at line 709
        # INFO: 
        # Starting "c2pnb176v1 curve tests" tests at line 781
        # INFO: 
        # Starting "c2pnb208w1 curve tests" tests at line 853
        # INFO: 
        # Starting "c2pnb272w1 curve tests" tests at line 927
        # INFO: 
        # Starting "c2pnb304w1 curve tests" tests at line 1001
        # INFO: 
        # Starting "c2pnb368w1 curve tests" tests at line 1075
        # INFO: 
        # Starting "c2tnb191v1 curve tests" tests at line 1152
        # INFO: 
        # Starting "c2tnb191v2 curve tests" tests at line 1226
        # INFO: 
        # Starting "c2tnb191v3 curve tests" tests at line 1300
        # INFO: 
        # Starting "c2tnb239v1 curve tests" tests at line 1374
        # INFO: 
        # Starting "c2tnb239v2 curve tests" tests at line 1448
        # INFO: 
        # Starting "c2tnb239v3 curve tests" tests at line 1522
        # INFO: 
        # Starting "c2tnb359v1 curve tests" tests at line 1596
        # INFO: 
        # Starting "c2tnb431r1 curve tests" tests at line 1673
        # INFO: 
        # Starting "prime192v1 curve tests" tests at line 1750
        # INFO: 
        # Starting "prime192v2 curve tests" tests at line 1790
        # INFO: 
        # Starting "prime192v3 curve tests" tests at line 1830
        # INFO: 
        # Starting "prime239v1 curve tests" tests at line 1870
        # INFO: 
        # Starting "prime239v2 curve tests" tests at line 1910
        # INFO: 
        # Starting "prime239v3 curve tests" tests at line 1950
        # INFO: 
        # Starting "prime256v1 curve tests" tests at line 1990
        # INFO: 
        # Starting "secp112r1 curve tests" tests at line 2030
        # INFO: 
        # Starting "secp112r2 curve tests" tests at line 2066
        # INFO: 
        # Starting "secp128r1 curve tests" tests at line 2135
        # INFO: 
        # Starting "secp128r2 curve tests" tests at line 2171
        # INFO: 
        # Starting "secp160k1 curve tests" tests at line 2240
        # INFO: 
        # Starting "secp160r1 curve tests" tests at line 2278
        # INFO: 
        # Starting "secp160r2 curve tests" tests at line 2316
        # INFO: 
        # Starting "secp192k1 curve tests" tests at line 2354
        # INFO: 
        # Starting "secp224k1 curve tests" tests at line 2392
        # INFO: 
        # Starting "secp224r1 curve tests" tests at line 2432
        # INFO: 
        # Starting "secp256k1 curve tests" tests at line 2472
        # INFO: 
        # Starting "secp384r1 curve tests" tests at line 2512
        # INFO: 
        # Starting "secp521r1 curve tests" tests at line 2554
        # INFO: 
        # Starting "sect113r1 curve tests" tests at line 2596
        # INFO: 
        # Starting "sect113r2 curve tests" tests at line 2665
        # INFO: 
        # Starting "sect131r1 curve tests" tests at line 2734
        # INFO: 
        # Starting "sect131r2 curve tests" tests at line 2806
        # INFO: 
        # Starting "sect163k1 curve tests" tests at line 2878
        # INFO: 
        # Starting "sect163r1 curve tests" tests at line 2950
        # INFO: 
        # Starting "sect163r2 curve tests" tests at line 3022
        # INFO: 
        # Starting "sect193r1 curve tests" tests at line 3094
        # INFO: 
        # Starting "sect193r2 curve tests" tests at line 3166
        # INFO: 
        # Starting "sect233k1 curve tests" tests at line 3238
        # INFO: 
        # Starting "sect233r1 curve tests" tests at line 3312
        # INFO: 
        # Starting "sect239k1 curve tests" tests at line 3386
        # INFO: 
        # Starting "sect283k1 curve tests" tests at line 3460
        # INFO: 
        # Starting "sect283r1 curve tests" tests at line 3534
        # INFO: 
        # Starting "sect409k1 curve tests" tests at line 3608
        # INFO: 
        # Starting "sect409r1 curve tests" tests at line 3685
        # INFO: 
        # Starting "sect571k1 curve tests" tests at line 3762
        # INFO: 
        # Starting "sect571r1 curve tests" tests at line 3839
        # INFO: 
        # Starting "wap-wsg-idm-ecid-wtls10 curve tests" tests at line 3916
        # INFO: 
        # Starting "wap-wsg-idm-ecid-wtls11 curve tests" tests at line 3990
        # INFO: 
        # Starting "wap-wsg-idm-ecid-wtls12 curve tests" tests at line 4064
        # INFO: 
        # Starting "wap-wsg-idm-ecid-wtls1 curve tests" tests at line 4104
        # INFO: 
        # Starting "wap-wsg-idm-ecid-wtls3 curve tests" tests at line 4173
        # INFO: 
        # Starting "wap-wsg-idm-ecid-wtls4 curve tests" tests at line 4245
        # INFO: 
        # Starting "wap-wsg-idm-ecid-wtls5 curve tests" tests at line 4314
        # INFO: 
        # Starting "wap-wsg-idm-ecid-wtls6 curve tests" tests at line 4386
        # INFO: 
        # Starting "wap-wsg-idm-ecid-wtls7 curve tests" tests at line 4422
        # INFO: 
        # Starting "wap-wsg-idm-ecid-wtls8 curve tests" tests at line 4460
        # INFO: 
        # Starting "wap-wsg-idm-ecid-wtls9 curve tests" tests at line 4496
        # INFO: 
        # Starting "zero x-coord regression tests" tests at line 4536
        # INFO: 
        # Completed 498 tests with 0 errors and 0 skipped
        ok 1 - ..\recipes\30-test_evp_data\evppkey_ecc.txt
    ok 1 - run_file_tests
..\evp_test.exe ..\recipes\30-test_evp_data\evppkey_ecc.txt => 0
ok 8 - running evp_test evppkey_ecc.txt
    # Subtest: ..\evp_test.exe
    1..1
        # Subtest: run_file_tests
        1..1
        # INFO: 
        # Reading ..\recipes\30-test_evp_data\evpcase.txt
        # INFO: 
        # Starting "Case insensitive AES tests" tests at line 18
        # INFO: 
        # Starting "Case insensitive digest tests" tests at line 46
        # INFO: 
        # Completed 6 tests with 0 errors and 0 skipped
        ok 1 - ..\recipes\30-test_evp_data\evpcase.txt
    ok 1 - run_file_tests
..\evp_test.exe ..\recipes\30-test_evp_data\evpcase.txt => 0
ok 9 - running evp_test evpcase.txt
ok
All tests successful.
Files=1, Tests=9,  5 wallclock secs ( 0.02 usr +  0.00 sys =  0.02 CPU)
Result: PASS

Reply via email to