Failures on AIX / perl-CryptX #810

Open
opened 2026-09-12 07:25:59 -05:00 by rainer-tammer · 4 comments
rainer-tammer commented 2026-09-12 07:25:59 -05:00 (Migrated from github.com)

Prerequisites

  • Checked the developer manual
  • Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=repo%3Alibtom%2Flibtomcrypt
  • Checked that your issue isn't due to the fact that you're using asymmetric cryptography and you forgot linking in and/or setting an MPI provider (usually this causes either random crashes or runtime errors like LTC_ARGCHK 'ltc_mp.name != NULL' failure ...). c.f. Ch. "Math Descriptors" of the developer manual.
  • Checked that your issue isn't related to TomsFastMath's limitation that PK operations can by default only be done with max. 2048bit keys

Description

The 1.18.2-develop bundled in perl-CryptX 0.091 failes on AIX 7.2 with xlc_r.

Steps to Reproduce

Compile perl-CryptX on AIX and run the test suite.

Version

1.18.2-develop

Additional Information

---[Test with failures]--------------------------------------------------------------------------------------------------------------------------------------------------------

# make test
         "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- CryptX.bs blib/arch/auto/CryptX/CryptX.bs 644
        PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/001_compile.t ..................... # Testing CryptX 0.091, Perl 5.028001 aix /usr/bin/perl
# osname       = aix
# osvers       = 7.1.0.0
# archname     = aix-thread-multi
# uname        = uname
# myarchname   = 0000668A7A00-aix
# myuname      = aix fvt-p7a2-lp2 1 7 0000668a7a00 
# gccversion   = 
# ccversion    = 
# cc           = xlc_r
# intsize      = 4
# longsize     = 4
# longlongsize = 8
# ptrsize      = 4
# byteorder    = 4321
# 
# LibTomCrypt 1.18.2-develop (www.libtom.net)
# LibTomCrypt is public domain software.
# 
# Endianness: big (64-bit words)
# Clean stack: disabled
# 
# Ciphers built-in:
#    Blowfish
#    RC2
#    RC5
#    RC6
#    Safer+
#    Safer
#    Rijndael
#    XTEA
#    Twofish (tables)
#    DES
#    DES-X
#    3DES
#    SM4
#    CAST5
#    Noekeon
#    Skipjack
#    Khazad
#    Anubis  (tweaked)
#    KSEED
#    KASUMI
#    MULTI2
#    Camellia
#    IDEA
#    Serpent
#    TEA
#    ARIA
# Stream ciphers built-in:
#    ChaCha
#    XChaCha20
#    Salsa20
#    XSalsa20
#    Sosemanuk
#    Rabbit
#    RC4
#    SOBER128
# 
# Hashes built-in:
#    SHA3
#    TurboSHAKE
#    KangarooTwelve
#    KECCAK
#    SHA-512
#    SHA-384
#    SHA-512/256
#    SHA-256
#    SHA-512/224
#    SHA-224
#    TIGER
#    SHA1
#    MD5
#    MD4
#    MD2
#    RIPEMD128
#    RIPEMD160
#    RIPEMD256
#    RIPEMD320
#    WHIRLPOOL
#    BLAKE2S
#    BLAKE2B
#    SM3
#    BLAKE3
#    CHC_HASH
# 
# Block Chaining Modes:
#    CFB
#    OFB
#    ECB
#    CBC
#    CTR
#    LRW (tables) 
#    F8
#    XTS
# 
# MACs:
#    HMAC
#    OMAC
#    PMAC
#    PELICAN
#    XCBC
#    F9
#    POLY1305
#    BLAKE2S MAC
#    BLAKE2B MAC
#    KMAC
# 
# ENC + AUTH modes:
#    EAX
#    OCB3
#    CCM
#    GCM (tables) 
#    CHACHA20POLY1305
#    SIV
#    GCM-SIV
# 
# PRNG:
#    Yarrow (LTC_YARROW_AES=2)
#    SPRNG
#    RC4
#    ChaCha20
#    Fortuna (LTC_FORTUNA_POOLS=32, LTC_FORTUNA_RESEED_RATELIMIT_TIMED)
#    SOBER128
# 
# PK Crypto:
#    RSA (with blinding and CRT hardening)
#    DH
#    ECC (with blinding)
#    DSA
#    Ed25519
#    X25519
#    Ed448
#    X448
#    LTC_PK_MAX_RETRIES=20
# 
# MPI (Math):
#    LTC_MPI
#    LTM_DESC
#    LTC_MILLER_RABIN_REPS=40
# 
# Compiler:
# 
# Various others:  ARGTYPE=4  ADLER32  BASE64  BASE64-URL-SAFE  BASE32  BASE16  ARGON2  BCRYPT  LTC_BCRYPT_DEFAULT_ROUNDS=10  SCRYPT  CRC32  DER  LTC_DER_MAX_RECURSION=30  LTC_DER_OID_DEFAULT_NODES=12  PKCS#1  PKCS#5  PKCS#8  PKCS#12  PADDING  HKDF  PBES1  PBES2  PEM  LTC_PEM_DECODE_BUFSZ=80  LTC_PEM_READ_BUFSIZE=8192  SSH  OpenSSH-PEM  LTC_DEVRANDOM  LTC_TRY_URANDOM_FIRST  LTC_RNG_GET_BYTES  LTC_RNG_MAKE_PRNG  LTC_HASH_HELPERS  LTC_FILE_READ_BUFSIZE=8192  LTC_INLINE=__inline__  LTC_NO_TEST  LTC_ECC_SHAMIR  LTC_CLOCK_GETTIME 
# 
# MP_PROVIDER  = LibTomMath
# MP_DIGIT_BIT = 28
# 

t/001_compile.t ..................... 1/1 
                                           
t/001_compile.t ..................... ok
t/002_all_pm.t ...................... 
                                           
t/002_all_pm.t ...................... skipped: set AUTHOR_MODE to enable this test (developer only!)
t/003_all_pm_pod.t .................. 
                                           
t/003_all_pm_pod.t .................. skipped: set AUTHOR_MODE to enable this test (developer only!)
t/004_all_pm_pod_spelling.t ......... 
                                           
t/004_all_pm_pod_spelling.t ......... skipped: set AUTHOR_MODE to enable this test (developer only!)
t/005_all_pm_pod_coverage.t ......... 
                                           
t/005_all_pm_pod_coverage.t ......... skipped: set AUTHOR_MODE to enable this test (developer only!)
t/asn1.t ............................ 
t/asn1.t ............................ 1/158 
                                               
t/asn1.t ............................ ok
t/auth_enc_api.t .................... 
t/auth_enc_api.t .................... 1/20 
                                             
t/auth_enc_api.t .................... ok
t/auth_enc_ccm.t .................... 
t/auth_enc_ccm.t .................... 1/24 
                                             
t/auth_enc_ccm.t .................... ok
t/auth_enc_ccm_test_vector_ltc.t .... 
t/auth_enc_ccm_test_vector_ltc.t .... 1/16 
                                             
t/auth_enc_ccm_test_vector_ltc.t .... ok
t/auth_enc_chacha20poly1305.t ....... 
t/auth_enc_chacha20poly1305.t ....... 1/21 
                                             
t/auth_enc_chacha20poly1305.t ....... ok
t/auth_enc_eax.t .................... 
t/auth_enc_eax.t .................... 1/23 
#   Failed test 'eax_decrypt_verify: empty tag accepted'
#   at t/auth_enc_eax.t line 77.
#          got: undef
#     expected: 'data_data_data_data'
# Looks like you failed 1 test of 23.

                                             
t/auth_enc_eax.t .................... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/23 subtests 
t/auth_enc_eax_test_vector_ltc.t .... 
t/auth_enc_eax_test_vector_ltc.t .... 1/56 
                                             
t/auth_enc_eax_test_vector_ltc.t .... ok
t/auth_enc_gcm.t .................... 
t/auth_enc_gcm.t .................... 1/20 
                                             
t/auth_enc_gcm.t .................... ok
t/auth_enc_gcm_test_vector_ltc.t .... 
t/auth_enc_gcm_test_vector_ltc.t .... 1/42 
                                             
t/auth_enc_gcm_test_vector_ltc.t .... ok
t/auth_enc_gcmsiv.t ................. 
t/auth_enc_gcmsiv.t ................. 1/23 
                                             
t/auth_enc_gcmsiv.t ................. ok
t/auth_enc_ocb.t .................... 
t/auth_enc_ocb.t .................... 1/29 
                                             
t/auth_enc_ocb.t .................... ok
t/auth_enc_ocb_test_vectors_ietf.t .. 
t/auth_enc_ocb_test_vectors_ietf.t .. 1/51 
                                             
t/auth_enc_ocb_test_vectors_ietf.t .. ok
t/auth_enc_siv.t .................... 
t/auth_enc_siv.t .................... 1/63 
#   Failed test 'AES-128-SIV, empty plaintext: decrypt zero-AD ciphertext with no AD'
#   at t/auth_enc_siv.t line 142.
#          got: undef
#     expected: ''

#   Failed test 'AES-128-SIV, empty plaintext: decrypt one-empty-AD ciphertext with "" AD'
#   at t/auth_enc_siv.t line 143.
#          got: undef
#     expected: ''
# Looks like you failed 2 tests of 63.

                                             
t/auth_enc_siv.t .................... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/63 subtests 
t/auth_enc_xchacha20poly1305.t ...... 
t/auth_enc_xchacha20poly1305.t ...... 1/29 
                                             
t/auth_enc_xchacha20poly1305.t ...... ok
t/checksum.t ........................ 
t/checksum.t ........................ 1/70 
                                             
t/checksum.t ........................ ok
t/cipher_aes.t ...................... 
t/cipher_aes.t ...................... 1/39 
                                             
t/cipher_aes.t ...................... ok
t/cipher_aes_test_vectors_bc.t ...... 
t/cipher_aes_test_vectors_bc.t ...... 1/25 
                                             
t/cipher_aes_test_vectors_bc.t ...... ok
t/cipher_anubis.t ................... 
t/cipher_anubis.t ................... 1/39 
                                             
t/cipher_anubis.t ................... ok
t/cipher_api.t ...................... 
t/cipher_api.t ...................... 1/14 
                                             
t/cipher_api.t ...................... ok
t/cipher_aria.t ..................... 
t/cipher_aria.t ..................... 1/39 
                                             
t/cipher_aria.t ..................... ok
t/cipher_blowfish.t ................. 
t/cipher_blowfish.t ................. 1/39 
                                             
t/cipher_blowfish.t ................. ok
t/cipher_camellia.t ................. 
t/cipher_camellia.t ................. 1/39 
                                             
t/cipher_camellia.t ................. ok
t/cipher_cast5.t .................... 
t/cipher_cast5.t .................... 1/39 
                                             
t/cipher_cast5.t .................... ok
t/cipher_des.t ...................... 
t/cipher_des.t ...................... 1/39 
                                             
t/cipher_des.t ...................... ok
t/cipher_des_ede.t .................. 
t/cipher_des_ede.t .................. 1/39 
                                             
t/cipher_des_ede.t .................. ok
t/cipher_idea.t ..................... 
t/cipher_idea.t ..................... 1/39 
                                             
t/cipher_idea.t ..................... ok
t/cipher_idea_compat.t .............. 
t/cipher_idea_compat.t .............. 1/55 
                                             
t/cipher_idea_compat.t .............. ok
t/cipher_kasumi.t ................... 
t/cipher_kasumi.t ................... 1/39 
                                             
t/cipher_kasumi.t ................... ok
t/cipher_khazad.t ................... 
t/cipher_khazad.t ................... 1/39 
                                             
t/cipher_khazad.t ................... ok
t/cipher_multi2.t ................... 
t/cipher_multi2.t ................... 1/43 
                                             
t/cipher_multi2.t ................... ok
t/cipher_multi2_rounds.t ............ 
t/cipher_multi2_rounds.t ............ 1/1110 
                                                 
t/cipher_multi2_rounds.t ............ ok
t/cipher_noekeon.t .................. 
t/cipher_noekeon.t .................. 1/39 
                                             
t/cipher_noekeon.t .................. ok
t/cipher_rc2.t ...................... 
t/cipher_rc2.t ...................... 1/39 
                                             
t/cipher_rc2.t ...................... ok
t/cipher_rc5.t ...................... 
t/cipher_rc5.t ...................... 1/43 
                                             
t/cipher_rc5.t ...................... ok
t/cipher_rc6.t ...................... 
t/cipher_rc6.t ...................... 1/39 
                                             
t/cipher_rc6.t ...................... ok
t/cipher_safer_k128.t ............... 
t/cipher_safer_k128.t ............... 1/43 
                                             
t/cipher_safer_k128.t ............... ok
t/cipher_safer_k64.t ................ 
t/cipher_safer_k64.t ................ 1/43 
                                             
t/cipher_safer_k64.t ................ ok
t/cipher_safer_sk128.t .............. 
t/cipher_safer_sk128.t .............. 1/43 
                                             
t/cipher_safer_sk128.t .............. ok
t/cipher_safer_sk64.t ............... 
t/cipher_safer_sk64.t ............... 1/43 
                                             
t/cipher_safer_sk64.t ............... ok
t/cipher_saferp.t ................... 
t/cipher_saferp.t ................... 1/39 
                                             
t/cipher_saferp.t ................... ok
t/cipher_seed.t ..................... 
t/cipher_seed.t ..................... 1/39 
                                             
t/cipher_seed.t ..................... ok
t/cipher_seed_test_vectors_bc.t ..... 
t/cipher_seed_test_vectors_bc.t ..... 1/5 
                                           
t/cipher_seed_test_vectors_bc.t ..... ok
t/cipher_serpent.t .................. 
t/cipher_serpent.t .................. 1/39 
                                             
t/cipher_serpent.t .................. ok
t/cipher_serpent_compat.t ........... 
t/cipher_serpent_compat.t ........... 1/12 
                                             
t/cipher_serpent_compat.t ........... ok
t/cipher_skipjack.t ................. 
t/cipher_skipjack.t ................. 1/39 
                                             
t/cipher_skipjack.t ................. ok
t/cipher_sm4.t ...................... 
t/cipher_sm4.t ...................... 1/39 
                                             
t/cipher_sm4.t ...................... ok
t/cipher_stream.t ................... 
t/cipher_stream.t ................... 1/38 
                                             
t/cipher_stream.t ................... ok
t/cipher_stream_api.t ............... 
t/cipher_stream_api.t ............... 1/75 
                                             
t/cipher_stream_api.t ............... ok
t/cipher_stream_rabbit.t ............ 
t/cipher_stream_rabbit.t ............ 1/3 
                                           
t/cipher_stream_rabbit.t ............ ok
t/cipher_stream_salsa20.t ........... 
t/cipher_stream_salsa20.t ........... 1/2304 
                                                 
t/cipher_stream_salsa20.t ........... ok
t/cipher_stream_xchacha20.t ......... 
t/cipher_stream_xchacha20.t ......... 1/10 
                                             
t/cipher_stream_xchacha20.t ......... ok
t/cipher_stream_xsalsa20.t .......... 
t/cipher_stream_xsalsa20.t .......... 1/8 
                                           
t/cipher_stream_xsalsa20.t .......... ok
t/cipher_test_vectors_ltc.t ......... 
t/cipher_test_vectors_ltc.t ......... 1/2000 
                                                 
t/cipher_test_vectors_ltc.t ......... ok
t/cipher_test_vectors_openssl.t ..... 
t/cipher_test_vectors_openssl.t ..... 1/356 
                                               
t/cipher_test_vectors_openssl.t ..... ok
t/cipher_twofish.t .................. 
t/cipher_twofish.t .................. 1/39 
                                             
t/cipher_twofish.t .................. ok
t/cipher_twofish_test_vectors_bc.t .. 
t/cipher_twofish_test_vectors_bc.t .. 1/3 
                                           
t/cipher_twofish_test_vectors_bc.t .. ok
t/cipher_xtea.t ..................... 
t/cipher_xtea.t ..................... 1/39 
                                             
t/cipher_xtea.t ..................... ok
t/cipher_xtea_test_vectors_bc.t ..... 
t/cipher_xtea_test_vectors_bc.t ..... 1/4 
                                           
t/cipher_xtea_test_vectors_bc.t ..... ok
t/crypt-misc.t ...................... 
t/crypt-misc.t ...................... 1/761 
                                               
t/crypt-misc.t ...................... ok
t/digest_api.t ...................... 
t/digest_api.t ...................... 1/6 
                                           
t/digest_api.t ...................... ok
t/digest_blake2b_160.t .............. 
t/digest_blake2b_160.t .............. 1/90 
                                             
t/digest_blake2b_160.t .............. ok
t/digest_blake2b_256.t .............. 
t/digest_blake2b_256.t .............. 1/90 
                                             
t/digest_blake2b_256.t .............. ok
t/digest_blake2b_384.t .............. 
t/digest_blake2b_384.t .............. 1/90 
                                             
t/digest_blake2b_384.t .............. ok
t/digest_blake2b_512.t .............. 
t/digest_blake2b_512.t .............. 1/90 
                                             
t/digest_blake2b_512.t .............. ok
t/digest_blake2s_128.t .............. 
t/digest_blake2s_128.t .............. 1/90 
                                             
t/digest_blake2s_128.t .............. ok
t/digest_blake2s_160.t .............. 
t/digest_blake2s_160.t .............. 1/90 
                                             
t/digest_blake2s_160.t .............. ok
t/digest_blake2s_224.t .............. 
t/digest_blake2s_224.t .............. 1/90 
                                             
t/digest_blake2s_224.t .............. ok
t/digest_blake2s_256.t .............. 
t/digest_blake2s_256.t .............. 1/90 
                                             
t/digest_blake2s_256.t .............. ok
t/digest_blake3.t ................... 
t/digest_blake3.t ................... 1/90 
                                             
t/digest_blake3.t ................... ok
t/digest_chaes.t .................... 
t/digest_chaes.t .................... 1/90 
                                             
t/digest_chaes.t .................... ok
t/digest_kangarootwelve.t ........... 
t/digest_kangarootwelve.t ........... 1/20 
                                             
t/digest_kangarootwelve.t ........... ok
t/digest_keccak224.t ................ 
t/digest_keccak224.t ................ 1/90 
                                             
t/digest_keccak224.t ................ ok
t/digest_keccak256.t ................ 
t/digest_keccak256.t ................ 1/90 
                                             
t/digest_keccak256.t ................ ok
t/digest_keccak384.t ................ 
t/digest_keccak384.t ................ 1/90 
                                             
t/digest_keccak384.t ................ ok
t/digest_keccak512.t ................ 
t/digest_keccak512.t ................ 1/90 
t/digest_keccak512.t ................ 89/90 
                                             
t/digest_keccak512.t ................ ok
t/digest_md2.t ...................... 
t/digest_md2.t ...................... 1/90 
                                             
t/digest_md2.t ...................... ok
t/digest_md4.t ...................... 
t/digest_md4.t ...................... 1/90 
                                             
t/digest_md4.t ...................... ok
t/digest_md5.t ...................... 
t/digest_md5.t ...................... 1/90 
                                             
t/digest_md5.t ...................... ok
t/digest_ripemd128.t ................ 
t/digest_ripemd128.t ................ 1/90 
                                             
t/digest_ripemd128.t ................ ok
t/digest_ripemd160.t ................ 
t/digest_ripemd160.t ................ 1/90 
                                             
t/digest_ripemd160.t ................ ok
t/digest_ripemd256.t ................ 
t/digest_ripemd256.t ................ 1/90 
                                             
t/digest_ripemd256.t ................ ok
t/digest_ripemd320.t ................ 
t/digest_ripemd320.t ................ 1/90 
                                             
t/digest_ripemd320.t ................ ok
t/digest_sha1.t ..................... 
t/digest_sha1.t ..................... 1/90 
                                             
t/digest_sha1.t ..................... ok
t/digest_sha224.t ................... 
t/digest_sha224.t ................... 1/90 
                                             
t/digest_sha224.t ................... ok
t/digest_sha256.t ................... 
t/digest_sha256.t ................... 1/90 
                                             
t/digest_sha256.t ................... ok
t/digest_sha384.t ................... 
t/digest_sha384.t ................... 1/90 
                                             
t/digest_sha384.t ................... ok
t/digest_sha3_224.t ................. 
t/digest_sha3_224.t ................. 1/90 
                                             
t/digest_sha3_224.t ................. ok
t/digest_sha3_256.t ................. 
t/digest_sha3_256.t ................. 1/90 
                                             
t/digest_sha3_256.t ................. ok
t/digest_sha3_384.t ................. 
t/digest_sha3_384.t ................. 1/90 
                                             
t/digest_sha3_384.t ................. ok
t/digest_sha3_512.t ................. 
t/digest_sha3_512.t ................. 1/90 
                                             
t/digest_sha3_512.t ................. ok
t/digest_sha512.t ................... 
t/digest_sha512.t ................... 1/90 
                                             
t/digest_sha512.t ................... ok
t/digest_sha512_224.t ............... 
t/digest_sha512_224.t ............... 1/90 
                                             
t/digest_sha512_224.t ............... ok
t/digest_sha512_256.t ............... 
t/digest_sha512_256.t ............... 1/90 
                                             
t/digest_sha512_256.t ............... ok
t/digest_shake.t .................... 
t/digest_shake.t .................... 1/28 
                                             
t/digest_shake.t .................... ok
t/digest_sm3.t ...................... 
t/digest_sm3.t ...................... 1/90 
                                             
t/digest_sm3.t ...................... ok
t/digest_test_vectors_ltc.t ......... 
t/digest_test_vectors_ltc.t ......... 1/1739 
                                                 
t/digest_test_vectors_ltc.t ......... ok
t/digest_tiger192.t ................. 
t/digest_tiger192.t ................. 1/90 
                                             
t/digest_tiger192.t ................. ok
t/digest_turboshake.t ............... 
t/digest_turboshake.t ............... 1/18 
                                             
t/digest_turboshake.t ............... ok
t/digest_whirlpool.t ................ 
t/digest_whirlpool.t ................ 1/90 
                                             
t/digest_whirlpool.t ................ ok
t/GHSA-24c2-gp6c-24c6.t ............. 
t/GHSA-24c2-gp6c-24c6.t ............. 1/80 
t/GHSA-24c2-gp6c-24c6.t ............. 25/80 
t/GHSA-24c2-gp6c-24c6.t ............. 53/80 
                                             
t/GHSA-24c2-gp6c-24c6.t ............. ok
t/jwk.t ............................. 
t/jwk.t ............................. 1/97 
                                             
t/jwk.t ............................. ok
t/key_derivation.t .................. 
t/key_derivation.t .................. 1/88 
                                             
t/key_derivation.t .................. ok
t/mac_api.t ......................... 
t/mac_api.t ......................... 1/16 
                                             
t/mac_api.t ......................... ok
t/mac_blake2b.t ..................... 
t/mac_blake2b.t ..................... 1/49 
                                             
t/mac_blake2b.t ..................... ok
t/mac_blake2s.t ..................... 
t/mac_blake2s.t ..................... 1/49 
                                             
t/mac_blake2s.t ..................... ok
t/mac_f9.t .......................... 
t/mac_f9.t .......................... 1/85 
                                             
t/mac_f9.t .......................... ok
t/mac_hmac.t ........................ 
t/mac_hmac.t ........................ 1/85 
                                             
t/mac_hmac.t ........................ ok
t/mac_hmac_nist.t ................... 
t/mac_hmac_nist.t ................... 1/36 
                                             
t/mac_hmac_nist.t ................... ok
t/mac_hmac_test_vectors_ltc.t ....... 
t/mac_hmac_test_vectors_ltc.t ....... 1/1739 
                                                 
t/mac_hmac_test_vectors_ltc.t ....... ok
t/mac_kmac.t ........................ 
t/mac_kmac.t ........................ 1/33 
                                             
t/mac_kmac.t ........................ ok
t/mac_omac.t ........................ 
t/mac_omac.t ........................ 1/85 
                                             
t/mac_omac.t ........................ ok
t/mac_omac_test_vectors_ltc.t ....... 
t/mac_omac_test_vectors_ltc.t ....... 1/452 
                                               
t/mac_omac_test_vectors_ltc.t ....... ok
t/mac_pelican.t ..................... 
t/mac_pelican.t ..................... 1/85 
                                             
t/mac_pelican.t ..................... ok
t/mac_pmac.t ........................ 
t/mac_pmac.t ........................ 1/85 
                                             
t/mac_pmac.t ........................ ok
t/mac_pmac_test_vectors_ltc.t ....... 
t/mac_pmac_test_vectors_ltc.t ....... 1/452 
                                               
t/mac_pmac_test_vectors_ltc.t ....... ok
t/mac_poly1305.t .................... 
t/mac_poly1305.t .................... 1/49 
                                             
t/mac_poly1305.t .................... ok
t/mac_xcbc.t ........................ 
t/mac_xcbc.t ........................ 1/85 
                                             
t/mac_xcbc.t ........................ ok
t/mbi_ltm_01load.t .................. 
t/mbi_ltm_01load.t .................. 1/2 # Math::BigInt VERSION=1.999811

                                           
t/mbi_ltm_01load.t .................. ok
t/mbi_ltm_bigfltpm.t ................ 
                                           
t/mbi_ltm_bigfltpm.t ................ skipped: requires Math::BigFloat 1.999827+
t/mbi_ltm_bigintg.t ................. 
t/mbi_ltm_bigintg.t ................. 1/356 
                                               
t/mbi_ltm_bigintg.t ................. ok
t/mbi_ltm_bigintpm.t ................ 
                                           
t/mbi_ltm_bigintpm.t ................ skipped: requires Math::BigInt 1.999827+
t/mbi_ltm_biglog.t .................. 
t/mbi_ltm_biglog.t .................. 1/70 
t/mbi_ltm_biglog.t .................. 68/70 
t/mbi_ltm_biglog.t .................. 70/70 
                                             
t/mbi_ltm_biglog.t .................. ok
t/mbi_ltm_bigroot.t ................. 
t/mbi_ltm_bigroot.t ................. 1/9 
t/mbi_ltm_bigroot.t ................. 4/9 
                                           
t/mbi_ltm_bigroot.t ................. ok
t/mbi_ltm_bugs.t .................... 
t/mbi_ltm_bugs.t .................... 1/2 
                                           
t/mbi_ltm_bugs.t .................... ok
t/mbi_ltm_mbi-from-big-scalar.t ..... 
                                           
t/mbi_ltm_mbi-from-big-scalar.t ..... skipped: missing 64bit int support
t/mbi_ltm_since_1.999837.t .......... 
                                           
t/mbi_ltm_since_1.999837.t .......... skipped: requires Math::BigInt 1.999837+
t/mbi_ltm_since_1.999842.t .......... 
                                           
t/mbi_ltm_since_1.999842.t .......... skipped: requires Math::BigInt 1.999842+
t/mbi_ltm_since_2.005003.t .......... 
                                           
t/mbi_ltm_since_2.005003.t .......... skipped: requires Math::BigInt 2.005003+
t/mbi_ltm_storable.t ................ 
t/mbi_ltm_storable.t ................ 1/1 
                                           
t/mbi_ltm_storable.t ................ ok
t/mode_cbc.t ........................ 
t/mode_cbc.t ........................ 1/319 
t/mode_cbc.t ........................ 208/319 
                                               
t/mode_cbc.t ........................ ok
t/mode_cfb.t ........................ 
t/mode_cfb.t ........................ 1/15 
                                             
t/mode_cfb.t ........................ ok
t/mode_ctr.t ........................ 
t/mode_ctr.t ........................ 1/27 
                                             
t/mode_ctr.t ........................ ok
t/mode_ecb.t ........................ 
t/mode_ecb.t ........................ 1/270 
                                               
t/mode_ecb.t ........................ ok
t/mode_ofb.t ........................ 
t/mode_ofb.t ........................ 1/15 
                                             
t/mode_ofb.t ........................ ok
t/mode_xts.t ........................ 
t/mode_xts.t ........................ 1/77 
                                             
t/mode_xts.t ........................ ok
t/pk_dh.t ........................... 
t/pk_dh.t ........................... 1/74 
t/pk_dh.t ........................... 31/74 
                                             
t/pk_dh.t ........................... ok
t/pk_dsa.t .......................... 
t/pk_dsa.t .......................... 1/80 
t/pk_dsa.t .......................... 64/80 
t/pk_dsa.t .......................... 73/80 
                                             
t/pk_dsa.t .......................... ok
t/pk_dsa_test_vectors_openssl.t ..... 
t/pk_dsa_test_vectors_openssl.t ..... 1/90 
t/pk_dsa_test_vectors_openssl.t ..... 81/90 
                                             
t/pk_dsa_test_vectors_openssl.t ..... ok
t/pk_ecc.t .......................... 
t/pk_ecc.t .......................... 1/188 
t/pk_ecc.t .......................... 148/188 
                                               
t/pk_ecc.t .......................... ok
t/pk_ecc_test_vectors_openssl.t ..... 
t/pk_ecc_test_vectors_openssl.t ..... 1/663 
t/pk_ecc_test_vectors_openssl.t ..... 426/663 
                                               
t/pk_ecc_test_vectors_openssl.t ..... ok
t/pk_ecc_wycheproof.t ............... 
t/pk_ecc_wycheproof.t ............... 1/9 
                                           
t/pk_ecc_wycheproof.t ............... ok
t/pk_ed25519.t ...................... 
t/pk_ed25519.t ...................... 1/98 
t/pk_ed25519.t ...................... 82/98 
#   Failed test 'ed25519ctx sign test 1'
#   at t/pk_ed25519.t line 243.
#          got: '80b9149141930b3e6ec7aaa2e89a07c6e3387a7832a936518dd2f79f80dba25998966e1f4179743e6b0ad089544d0a4d10975c4a74e5d2db86508d66cf79140c'
#     expected: '55a4cc2f70a54e04288c5f4cd1e45a7bb520b36292911876cada7323198dd87a8b36950b95130022907a7fb7c4e9b2d5f6cca685a587b4b21f4b888e4e7edb0d'

#   Failed test 'ed25519ctx sign test 2'
#   at t/pk_ed25519.t line 257.
#          got: 'dc0d38dc7757c418295d336fd72151067a15db0d77a6e9ea12ca8e0195d1a3de0e9df7eae68ded7b0b025d63934d88b59f43af9c6e857b93c6b76fa12db76407'
#     expected: 'fc60d5872fc46b3aa69f8b5b4351d5808f92bcc044606db097abab6dbcb1aee3216c48e8b3b66431b5b186d1d28f8ee15a5ca2df6668346291c2043d4eb3e90d'

#   Failed test 'ed25519ctx verify test 2'
#   at t/pk_ed25519.t line 258.

#   Failed test 'ed25519ctx sign test 3'
#   at t/pk_ed25519.t line 270.
#          got: '7bb1be5951e6cd0d00e8bfaa63dd88d680cc6d3c9128453cbf9682381f54da9e633f5f4a5dbab52dbda087e13c9158fc5098589b5d92665111c3ec26546bee0c'
#     expected: '8b70c1cc8310e1de20ac53ce28ae6e7207f33c3295e03bb5c0732a1d20dc64908922a8b052cf99b7c4fe107a5abb5b2c4085ae75890d02df26269d8945f84b0b'

#   Failed test 'ed25519ctx verify test 3'
#   at t/pk_ed25519.t line 271.

                                             
t/pk_ed25519.t ...................... Dubious, test returned -1 (wstat 11, 0xb)
Failed 15/98 subtests 
t/pk_ed448.t ........................ 
t/pk_ed448.t ........................ 1/82 
t/pk_ed448.t ........................ 82/82 
                                             
t/pk_ed448.t ........................ ok
t/pk_enc_pem.t ...................... 
t/pk_enc_pem.t ...................... 1/27 
                                             
t/pk_enc_pem.t ...................... ok
t/pk_rfc8702_shake.t ................ 
t/pk_rfc8702_shake.t ................ 1/16 
                                             
t/pk_rfc8702_shake.t ................ ok
t/pk_rsa.t .......................... 
t/pk_rsa.t .......................... 1/61 
t/pk_rsa.t .......................... 39/61 
t/pk_rsa.t .......................... 46/61 
                                             
t/pk_rsa.t .......................... ok
t/pk_rsa_test_vectors_openssl.t ..... 
t/pk_rsa_test_vectors_openssl.t ..... 1/390 
t/pk_rsa_test_vectors_openssl.t ..... 289/390 
                                               
t/pk_rsa_test_vectors_openssl.t ..... ok
t/pk_strict_checks.t ................ 
t/pk_strict_checks.t ................ 1/4 
                                           
t/pk_strict_checks.t ................ ok
t/pk_x25519.t ....................... 
t/pk_x25519.t ....................... 1/63 
                                             
t/pk_x25519.t ....................... ok
t/pk_x448.t ......................... 
t/pk_x448.t ......................... 1/63 
                                             
t/pk_x448.t ......................... ok
t/pkcs8.t ........................... 
t/pkcs8.t ........................... 1/14 
                                             
t/pkcs8.t ........................... ok
t/prng.t ............................ 
t/prng.t ............................ 1/79 
                                             
t/prng.t ............................ ok
t/prng_chacha20.t ................... 
t/prng_chacha20.t ................... 1/21 
                                             
t/prng_chacha20.t ................... ok
t/prng_fortuna.t .................... 
t/prng_fortuna.t .................... 1/22 
                                             
t/prng_fortuna.t .................... ok
t/prng_rc4.t ........................ 
t/prng_rc4.t ........................ 1/22 
                                             
t/prng_rc4.t ........................ ok
t/prng_sober128.t ................... 
t/prng_sober128.t ................... 1/22 
                                             
t/prng_sober128.t ................... ok
t/prng_yarrow.t ..................... 
t/prng_yarrow.t ..................... 1/22 
                                             
t/prng_yarrow.t ..................... ok
t/sshkey.t .......................... 
t/sshkey.t .......................... 1/756 
t/sshkey.t .......................... 121/756 
t/sshkey.t .......................... 476/756 
t/sshkey.t .......................... 740/756 
                                               
t/sshkey.t .......................... ok
t/sv_nul_terminated.t ............... 
t/sv_nul_terminated.t ............... 1/33 
                                             
t/sv_nul_terminated.t ............... ok

Test Summary Report
-------------------
t/auth_enc_eax.t                  (Wstat: 256 Tests: 23 Failed: 1)
  Failed test:  17
  Non-zero exit status: 1
t/auth_enc_siv.t                  (Wstat: 512 Tests: 63 Failed: 2)
  Failed tests:  50-51
  Non-zero exit status: 2
t/pk_ed25519.t                    (Wstat: 11 Tests: 88 Failed: 5)
  Failed tests:  82, 85-88
  Non-zero exit status: -1
  Parse errors: Bad plan.  You planned 98 tests but ran 88.
Files=164, Tests=21169, 45 wallclock secs ( 0.72 usr  0.12 sys + 13.77 cusr  0.80 csys = 15.41 CPU)
Result: FAIL
Failed 3/164 test programs. 8/21169 subtests failed.
make: 1254-004 The error code from the last command is 255.


Stop.
### Prerequisites * [X] Checked the developer manual * [X] Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=repo%3Alibtom%2Flibtomcrypt * [X] Checked that your issue isn't due to the fact that you're using asymmetric cryptography and you forgot linking in and/or setting an MPI provider (usually this causes either random crashes or runtime errors like `LTC_ARGCHK 'ltc_mp.name != NULL' failure ...`). c.f. Ch. "Math Descriptors" of the developer manual. * [X] Checked that your issue isn't related to TomsFastMath's limitation that PK operations can by default only be done with max. 2048bit keys ### Description The 1.18.2-develop bundled in perl-CryptX 0.091 failes on AIX 7.2 with xlc_r. ### Steps to Reproduce Compile perl-CryptX on AIX and run the test suite. ### Version 1.18.2-develop ### Additional Information ---[Test with failures]-------------------------------------------------------------------------------------------------------------------------------------------------------- <pre> # make test "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- CryptX.bs blib/arch/auto/CryptX/CryptX.bs 644 PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/001_compile.t ..................... # Testing CryptX 0.091, Perl 5.028001 aix /usr/bin/perl # osname = aix # osvers = 7.1.0.0 # archname = aix-thread-multi # uname = uname # myarchname = 0000668A7A00-aix # myuname = aix fvt-p7a2-lp2 1 7 0000668a7a00 # gccversion = # ccversion = # cc = xlc_r # intsize = 4 # longsize = 4 # longlongsize = 8 # ptrsize = 4 # byteorder = 4321 # # LibTomCrypt 1.18.2-develop (www.libtom.net) # LibTomCrypt is public domain software. # # Endianness: big (64-bit words) # Clean stack: disabled # # Ciphers built-in: # Blowfish # RC2 # RC5 # RC6 # Safer+ # Safer # Rijndael # XTEA # Twofish (tables) # DES # DES-X # 3DES # SM4 # CAST5 # Noekeon # Skipjack # Khazad # Anubis (tweaked) # KSEED # KASUMI # MULTI2 # Camellia # IDEA # Serpent # TEA # ARIA # Stream ciphers built-in: # ChaCha # XChaCha20 # Salsa20 # XSalsa20 # Sosemanuk # Rabbit # RC4 # SOBER128 # # Hashes built-in: # SHA3 # TurboSHAKE # KangarooTwelve # KECCAK # SHA-512 # SHA-384 # SHA-512/256 # SHA-256 # SHA-512/224 # SHA-224 # TIGER # SHA1 # MD5 # MD4 # MD2 # RIPEMD128 # RIPEMD160 # RIPEMD256 # RIPEMD320 # WHIRLPOOL # BLAKE2S # BLAKE2B # SM3 # BLAKE3 # CHC_HASH # # Block Chaining Modes: # CFB # OFB # ECB # CBC # CTR # LRW (tables) # F8 # XTS # # MACs: # HMAC # OMAC # PMAC # PELICAN # XCBC # F9 # POLY1305 # BLAKE2S MAC # BLAKE2B MAC # KMAC # # ENC + AUTH modes: # EAX # OCB3 # CCM # GCM (tables) # CHACHA20POLY1305 # SIV # GCM-SIV # # PRNG: # Yarrow (LTC_YARROW_AES=2) # SPRNG # RC4 # ChaCha20 # Fortuna (LTC_FORTUNA_POOLS=32, LTC_FORTUNA_RESEED_RATELIMIT_TIMED) # SOBER128 # # PK Crypto: # RSA (with blinding and CRT hardening) # DH # ECC (with blinding) # DSA # Ed25519 # X25519 # Ed448 # X448 # LTC_PK_MAX_RETRIES=20 # # MPI (Math): # LTC_MPI # LTM_DESC # LTC_MILLER_RABIN_REPS=40 # # Compiler: # # Various others: ARGTYPE=4 ADLER32 BASE64 BASE64-URL-SAFE BASE32 BASE16 ARGON2 BCRYPT LTC_BCRYPT_DEFAULT_ROUNDS=10 SCRYPT CRC32 DER LTC_DER_MAX_RECURSION=30 LTC_DER_OID_DEFAULT_NODES=12 PKCS#1 PKCS#5 PKCS#8 PKCS#12 PADDING HKDF PBES1 PBES2 PEM LTC_PEM_DECODE_BUFSZ=80 LTC_PEM_READ_BUFSIZE=8192 SSH OpenSSH-PEM LTC_DEVRANDOM LTC_TRY_URANDOM_FIRST LTC_RNG_GET_BYTES LTC_RNG_MAKE_PRNG LTC_HASH_HELPERS LTC_FILE_READ_BUFSIZE=8192 LTC_INLINE=__inline__ LTC_NO_TEST LTC_ECC_SHAMIR LTC_CLOCK_GETTIME # # MP_PROVIDER = LibTomMath # MP_DIGIT_BIT = 28 # t/001_compile.t ..................... 1/1 t/001_compile.t ..................... ok t/002_all_pm.t ...................... t/002_all_pm.t ...................... skipped: set AUTHOR_MODE to enable this test (developer only!) t/003_all_pm_pod.t .................. t/003_all_pm_pod.t .................. skipped: set AUTHOR_MODE to enable this test (developer only!) t/004_all_pm_pod_spelling.t ......... t/004_all_pm_pod_spelling.t ......... skipped: set AUTHOR_MODE to enable this test (developer only!) t/005_all_pm_pod_coverage.t ......... t/005_all_pm_pod_coverage.t ......... skipped: set AUTHOR_MODE to enable this test (developer only!) t/asn1.t ............................ t/asn1.t ............................ 1/158 t/asn1.t ............................ ok t/auth_enc_api.t .................... t/auth_enc_api.t .................... 1/20 t/auth_enc_api.t .................... ok t/auth_enc_ccm.t .................... t/auth_enc_ccm.t .................... 1/24 t/auth_enc_ccm.t .................... ok t/auth_enc_ccm_test_vector_ltc.t .... t/auth_enc_ccm_test_vector_ltc.t .... 1/16 t/auth_enc_ccm_test_vector_ltc.t .... ok t/auth_enc_chacha20poly1305.t ....... t/auth_enc_chacha20poly1305.t ....... 1/21 t/auth_enc_chacha20poly1305.t ....... ok t/auth_enc_eax.t .................... t/auth_enc_eax.t .................... 1/23 # Failed test 'eax_decrypt_verify: empty tag accepted' # at t/auth_enc_eax.t line 77. # got: undef # expected: 'data_data_data_data' # Looks like you failed 1 test of 23. t/auth_enc_eax.t .................... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/23 subtests t/auth_enc_eax_test_vector_ltc.t .... t/auth_enc_eax_test_vector_ltc.t .... 1/56 t/auth_enc_eax_test_vector_ltc.t .... ok t/auth_enc_gcm.t .................... t/auth_enc_gcm.t .................... 1/20 t/auth_enc_gcm.t .................... ok t/auth_enc_gcm_test_vector_ltc.t .... t/auth_enc_gcm_test_vector_ltc.t .... 1/42 t/auth_enc_gcm_test_vector_ltc.t .... ok t/auth_enc_gcmsiv.t ................. t/auth_enc_gcmsiv.t ................. 1/23 t/auth_enc_gcmsiv.t ................. ok t/auth_enc_ocb.t .................... t/auth_enc_ocb.t .................... 1/29 t/auth_enc_ocb.t .................... ok t/auth_enc_ocb_test_vectors_ietf.t .. t/auth_enc_ocb_test_vectors_ietf.t .. 1/51 t/auth_enc_ocb_test_vectors_ietf.t .. ok t/auth_enc_siv.t .................... t/auth_enc_siv.t .................... 1/63 # Failed test 'AES-128-SIV, empty plaintext: decrypt zero-AD ciphertext with no AD' # at t/auth_enc_siv.t line 142. # got: undef # expected: '' # Failed test 'AES-128-SIV, empty plaintext: decrypt one-empty-AD ciphertext with "" AD' # at t/auth_enc_siv.t line 143. # got: undef # expected: '' # Looks like you failed 2 tests of 63. t/auth_enc_siv.t .................... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/63 subtests t/auth_enc_xchacha20poly1305.t ...... t/auth_enc_xchacha20poly1305.t ...... 1/29 t/auth_enc_xchacha20poly1305.t ...... ok t/checksum.t ........................ t/checksum.t ........................ 1/70 t/checksum.t ........................ ok t/cipher_aes.t ...................... t/cipher_aes.t ...................... 1/39 t/cipher_aes.t ...................... ok t/cipher_aes_test_vectors_bc.t ...... t/cipher_aes_test_vectors_bc.t ...... 1/25 t/cipher_aes_test_vectors_bc.t ...... ok t/cipher_anubis.t ................... t/cipher_anubis.t ................... 1/39 t/cipher_anubis.t ................... ok t/cipher_api.t ...................... t/cipher_api.t ...................... 1/14 t/cipher_api.t ...................... ok t/cipher_aria.t ..................... t/cipher_aria.t ..................... 1/39 t/cipher_aria.t ..................... ok t/cipher_blowfish.t ................. t/cipher_blowfish.t ................. 1/39 t/cipher_blowfish.t ................. ok t/cipher_camellia.t ................. t/cipher_camellia.t ................. 1/39 t/cipher_camellia.t ................. ok t/cipher_cast5.t .................... t/cipher_cast5.t .................... 1/39 t/cipher_cast5.t .................... ok t/cipher_des.t ...................... t/cipher_des.t ...................... 1/39 t/cipher_des.t ...................... ok t/cipher_des_ede.t .................. t/cipher_des_ede.t .................. 1/39 t/cipher_des_ede.t .................. ok t/cipher_idea.t ..................... t/cipher_idea.t ..................... 1/39 t/cipher_idea.t ..................... ok t/cipher_idea_compat.t .............. t/cipher_idea_compat.t .............. 1/55 t/cipher_idea_compat.t .............. ok t/cipher_kasumi.t ................... t/cipher_kasumi.t ................... 1/39 t/cipher_kasumi.t ................... ok t/cipher_khazad.t ................... t/cipher_khazad.t ................... 1/39 t/cipher_khazad.t ................... ok t/cipher_multi2.t ................... t/cipher_multi2.t ................... 1/43 t/cipher_multi2.t ................... ok t/cipher_multi2_rounds.t ............ t/cipher_multi2_rounds.t ............ 1/1110 t/cipher_multi2_rounds.t ............ ok t/cipher_noekeon.t .................. t/cipher_noekeon.t .................. 1/39 t/cipher_noekeon.t .................. ok t/cipher_rc2.t ...................... t/cipher_rc2.t ...................... 1/39 t/cipher_rc2.t ...................... ok t/cipher_rc5.t ...................... t/cipher_rc5.t ...................... 1/43 t/cipher_rc5.t ...................... ok t/cipher_rc6.t ...................... t/cipher_rc6.t ...................... 1/39 t/cipher_rc6.t ...................... ok t/cipher_safer_k128.t ............... t/cipher_safer_k128.t ............... 1/43 t/cipher_safer_k128.t ............... ok t/cipher_safer_k64.t ................ t/cipher_safer_k64.t ................ 1/43 t/cipher_safer_k64.t ................ ok t/cipher_safer_sk128.t .............. t/cipher_safer_sk128.t .............. 1/43 t/cipher_safer_sk128.t .............. ok t/cipher_safer_sk64.t ............... t/cipher_safer_sk64.t ............... 1/43 t/cipher_safer_sk64.t ............... ok t/cipher_saferp.t ................... t/cipher_saferp.t ................... 1/39 t/cipher_saferp.t ................... ok t/cipher_seed.t ..................... t/cipher_seed.t ..................... 1/39 t/cipher_seed.t ..................... ok t/cipher_seed_test_vectors_bc.t ..... t/cipher_seed_test_vectors_bc.t ..... 1/5 t/cipher_seed_test_vectors_bc.t ..... ok t/cipher_serpent.t .................. t/cipher_serpent.t .................. 1/39 t/cipher_serpent.t .................. ok t/cipher_serpent_compat.t ........... t/cipher_serpent_compat.t ........... 1/12 t/cipher_serpent_compat.t ........... ok t/cipher_skipjack.t ................. t/cipher_skipjack.t ................. 1/39 t/cipher_skipjack.t ................. ok t/cipher_sm4.t ...................... t/cipher_sm4.t ...................... 1/39 t/cipher_sm4.t ...................... ok t/cipher_stream.t ................... t/cipher_stream.t ................... 1/38 t/cipher_stream.t ................... ok t/cipher_stream_api.t ............... t/cipher_stream_api.t ............... 1/75 t/cipher_stream_api.t ............... ok t/cipher_stream_rabbit.t ............ t/cipher_stream_rabbit.t ............ 1/3 t/cipher_stream_rabbit.t ............ ok t/cipher_stream_salsa20.t ........... t/cipher_stream_salsa20.t ........... 1/2304 t/cipher_stream_salsa20.t ........... ok t/cipher_stream_xchacha20.t ......... t/cipher_stream_xchacha20.t ......... 1/10 t/cipher_stream_xchacha20.t ......... ok t/cipher_stream_xsalsa20.t .......... t/cipher_stream_xsalsa20.t .......... 1/8 t/cipher_stream_xsalsa20.t .......... ok t/cipher_test_vectors_ltc.t ......... t/cipher_test_vectors_ltc.t ......... 1/2000 t/cipher_test_vectors_ltc.t ......... ok t/cipher_test_vectors_openssl.t ..... t/cipher_test_vectors_openssl.t ..... 1/356 t/cipher_test_vectors_openssl.t ..... ok t/cipher_twofish.t .................. t/cipher_twofish.t .................. 1/39 t/cipher_twofish.t .................. ok t/cipher_twofish_test_vectors_bc.t .. t/cipher_twofish_test_vectors_bc.t .. 1/3 t/cipher_twofish_test_vectors_bc.t .. ok t/cipher_xtea.t ..................... t/cipher_xtea.t ..................... 1/39 t/cipher_xtea.t ..................... ok t/cipher_xtea_test_vectors_bc.t ..... t/cipher_xtea_test_vectors_bc.t ..... 1/4 t/cipher_xtea_test_vectors_bc.t ..... ok t/crypt-misc.t ...................... t/crypt-misc.t ...................... 1/761 t/crypt-misc.t ...................... ok t/digest_api.t ...................... t/digest_api.t ...................... 1/6 t/digest_api.t ...................... ok t/digest_blake2b_160.t .............. t/digest_blake2b_160.t .............. 1/90 t/digest_blake2b_160.t .............. ok t/digest_blake2b_256.t .............. t/digest_blake2b_256.t .............. 1/90 t/digest_blake2b_256.t .............. ok t/digest_blake2b_384.t .............. t/digest_blake2b_384.t .............. 1/90 t/digest_blake2b_384.t .............. ok t/digest_blake2b_512.t .............. t/digest_blake2b_512.t .............. 1/90 t/digest_blake2b_512.t .............. ok t/digest_blake2s_128.t .............. t/digest_blake2s_128.t .............. 1/90 t/digest_blake2s_128.t .............. ok t/digest_blake2s_160.t .............. t/digest_blake2s_160.t .............. 1/90 t/digest_blake2s_160.t .............. ok t/digest_blake2s_224.t .............. t/digest_blake2s_224.t .............. 1/90 t/digest_blake2s_224.t .............. ok t/digest_blake2s_256.t .............. t/digest_blake2s_256.t .............. 1/90 t/digest_blake2s_256.t .............. ok t/digest_blake3.t ................... t/digest_blake3.t ................... 1/90 t/digest_blake3.t ................... ok t/digest_chaes.t .................... t/digest_chaes.t .................... 1/90 t/digest_chaes.t .................... ok t/digest_kangarootwelve.t ........... t/digest_kangarootwelve.t ........... 1/20 t/digest_kangarootwelve.t ........... ok t/digest_keccak224.t ................ t/digest_keccak224.t ................ 1/90 t/digest_keccak224.t ................ ok t/digest_keccak256.t ................ t/digest_keccak256.t ................ 1/90 t/digest_keccak256.t ................ ok t/digest_keccak384.t ................ t/digest_keccak384.t ................ 1/90 t/digest_keccak384.t ................ ok t/digest_keccak512.t ................ t/digest_keccak512.t ................ 1/90 t/digest_keccak512.t ................ 89/90 t/digest_keccak512.t ................ ok t/digest_md2.t ...................... t/digest_md2.t ...................... 1/90 t/digest_md2.t ...................... ok t/digest_md4.t ...................... t/digest_md4.t ...................... 1/90 t/digest_md4.t ...................... ok t/digest_md5.t ...................... t/digest_md5.t ...................... 1/90 t/digest_md5.t ...................... ok t/digest_ripemd128.t ................ t/digest_ripemd128.t ................ 1/90 t/digest_ripemd128.t ................ ok t/digest_ripemd160.t ................ t/digest_ripemd160.t ................ 1/90 t/digest_ripemd160.t ................ ok t/digest_ripemd256.t ................ t/digest_ripemd256.t ................ 1/90 t/digest_ripemd256.t ................ ok t/digest_ripemd320.t ................ t/digest_ripemd320.t ................ 1/90 t/digest_ripemd320.t ................ ok t/digest_sha1.t ..................... t/digest_sha1.t ..................... 1/90 t/digest_sha1.t ..................... ok t/digest_sha224.t ................... t/digest_sha224.t ................... 1/90 t/digest_sha224.t ................... ok t/digest_sha256.t ................... t/digest_sha256.t ................... 1/90 t/digest_sha256.t ................... ok t/digest_sha384.t ................... t/digest_sha384.t ................... 1/90 t/digest_sha384.t ................... ok t/digest_sha3_224.t ................. t/digest_sha3_224.t ................. 1/90 t/digest_sha3_224.t ................. ok t/digest_sha3_256.t ................. t/digest_sha3_256.t ................. 1/90 t/digest_sha3_256.t ................. ok t/digest_sha3_384.t ................. t/digest_sha3_384.t ................. 1/90 t/digest_sha3_384.t ................. ok t/digest_sha3_512.t ................. t/digest_sha3_512.t ................. 1/90 t/digest_sha3_512.t ................. ok t/digest_sha512.t ................... t/digest_sha512.t ................... 1/90 t/digest_sha512.t ................... ok t/digest_sha512_224.t ............... t/digest_sha512_224.t ............... 1/90 t/digest_sha512_224.t ............... ok t/digest_sha512_256.t ............... t/digest_sha512_256.t ............... 1/90 t/digest_sha512_256.t ............... ok t/digest_shake.t .................... t/digest_shake.t .................... 1/28 t/digest_shake.t .................... ok t/digest_sm3.t ...................... t/digest_sm3.t ...................... 1/90 t/digest_sm3.t ...................... ok t/digest_test_vectors_ltc.t ......... t/digest_test_vectors_ltc.t ......... 1/1739 t/digest_test_vectors_ltc.t ......... ok t/digest_tiger192.t ................. t/digest_tiger192.t ................. 1/90 t/digest_tiger192.t ................. ok t/digest_turboshake.t ............... t/digest_turboshake.t ............... 1/18 t/digest_turboshake.t ............... ok t/digest_whirlpool.t ................ t/digest_whirlpool.t ................ 1/90 t/digest_whirlpool.t ................ ok t/GHSA-24c2-gp6c-24c6.t ............. t/GHSA-24c2-gp6c-24c6.t ............. 1/80 t/GHSA-24c2-gp6c-24c6.t ............. 25/80 t/GHSA-24c2-gp6c-24c6.t ............. 53/80 t/GHSA-24c2-gp6c-24c6.t ............. ok t/jwk.t ............................. t/jwk.t ............................. 1/97 t/jwk.t ............................. ok t/key_derivation.t .................. t/key_derivation.t .................. 1/88 t/key_derivation.t .................. ok t/mac_api.t ......................... t/mac_api.t ......................... 1/16 t/mac_api.t ......................... ok t/mac_blake2b.t ..................... t/mac_blake2b.t ..................... 1/49 t/mac_blake2b.t ..................... ok t/mac_blake2s.t ..................... t/mac_blake2s.t ..................... 1/49 t/mac_blake2s.t ..................... ok t/mac_f9.t .......................... t/mac_f9.t .......................... 1/85 t/mac_f9.t .......................... ok t/mac_hmac.t ........................ t/mac_hmac.t ........................ 1/85 t/mac_hmac.t ........................ ok t/mac_hmac_nist.t ................... t/mac_hmac_nist.t ................... 1/36 t/mac_hmac_nist.t ................... ok t/mac_hmac_test_vectors_ltc.t ....... t/mac_hmac_test_vectors_ltc.t ....... 1/1739 t/mac_hmac_test_vectors_ltc.t ....... ok t/mac_kmac.t ........................ t/mac_kmac.t ........................ 1/33 t/mac_kmac.t ........................ ok t/mac_omac.t ........................ t/mac_omac.t ........................ 1/85 t/mac_omac.t ........................ ok t/mac_omac_test_vectors_ltc.t ....... t/mac_omac_test_vectors_ltc.t ....... 1/452 t/mac_omac_test_vectors_ltc.t ....... ok t/mac_pelican.t ..................... t/mac_pelican.t ..................... 1/85 t/mac_pelican.t ..................... ok t/mac_pmac.t ........................ t/mac_pmac.t ........................ 1/85 t/mac_pmac.t ........................ ok t/mac_pmac_test_vectors_ltc.t ....... t/mac_pmac_test_vectors_ltc.t ....... 1/452 t/mac_pmac_test_vectors_ltc.t ....... ok t/mac_poly1305.t .................... t/mac_poly1305.t .................... 1/49 t/mac_poly1305.t .................... ok t/mac_xcbc.t ........................ t/mac_xcbc.t ........................ 1/85 t/mac_xcbc.t ........................ ok t/mbi_ltm_01load.t .................. t/mbi_ltm_01load.t .................. 1/2 # Math::BigInt VERSION=1.999811 t/mbi_ltm_01load.t .................. ok t/mbi_ltm_bigfltpm.t ................ t/mbi_ltm_bigfltpm.t ................ skipped: requires Math::BigFloat 1.999827+ t/mbi_ltm_bigintg.t ................. t/mbi_ltm_bigintg.t ................. 1/356 t/mbi_ltm_bigintg.t ................. ok t/mbi_ltm_bigintpm.t ................ t/mbi_ltm_bigintpm.t ................ skipped: requires Math::BigInt 1.999827+ t/mbi_ltm_biglog.t .................. t/mbi_ltm_biglog.t .................. 1/70 t/mbi_ltm_biglog.t .................. 68/70 t/mbi_ltm_biglog.t .................. 70/70 t/mbi_ltm_biglog.t .................. ok t/mbi_ltm_bigroot.t ................. t/mbi_ltm_bigroot.t ................. 1/9 t/mbi_ltm_bigroot.t ................. 4/9 t/mbi_ltm_bigroot.t ................. ok t/mbi_ltm_bugs.t .................... t/mbi_ltm_bugs.t .................... 1/2 t/mbi_ltm_bugs.t .................... ok t/mbi_ltm_mbi-from-big-scalar.t ..... t/mbi_ltm_mbi-from-big-scalar.t ..... skipped: missing 64bit int support t/mbi_ltm_since_1.999837.t .......... t/mbi_ltm_since_1.999837.t .......... skipped: requires Math::BigInt 1.999837+ t/mbi_ltm_since_1.999842.t .......... t/mbi_ltm_since_1.999842.t .......... skipped: requires Math::BigInt 1.999842+ t/mbi_ltm_since_2.005003.t .......... t/mbi_ltm_since_2.005003.t .......... skipped: requires Math::BigInt 2.005003+ t/mbi_ltm_storable.t ................ t/mbi_ltm_storable.t ................ 1/1 t/mbi_ltm_storable.t ................ ok t/mode_cbc.t ........................ t/mode_cbc.t ........................ 1/319 t/mode_cbc.t ........................ 208/319 t/mode_cbc.t ........................ ok t/mode_cfb.t ........................ t/mode_cfb.t ........................ 1/15 t/mode_cfb.t ........................ ok t/mode_ctr.t ........................ t/mode_ctr.t ........................ 1/27 t/mode_ctr.t ........................ ok t/mode_ecb.t ........................ t/mode_ecb.t ........................ 1/270 t/mode_ecb.t ........................ ok t/mode_ofb.t ........................ t/mode_ofb.t ........................ 1/15 t/mode_ofb.t ........................ ok t/mode_xts.t ........................ t/mode_xts.t ........................ 1/77 t/mode_xts.t ........................ ok t/pk_dh.t ........................... t/pk_dh.t ........................... 1/74 t/pk_dh.t ........................... 31/74 t/pk_dh.t ........................... ok t/pk_dsa.t .......................... t/pk_dsa.t .......................... 1/80 t/pk_dsa.t .......................... 64/80 t/pk_dsa.t .......................... 73/80 t/pk_dsa.t .......................... ok t/pk_dsa_test_vectors_openssl.t ..... t/pk_dsa_test_vectors_openssl.t ..... 1/90 t/pk_dsa_test_vectors_openssl.t ..... 81/90 t/pk_dsa_test_vectors_openssl.t ..... ok t/pk_ecc.t .......................... t/pk_ecc.t .......................... 1/188 t/pk_ecc.t .......................... 148/188 t/pk_ecc.t .......................... ok t/pk_ecc_test_vectors_openssl.t ..... t/pk_ecc_test_vectors_openssl.t ..... 1/663 t/pk_ecc_test_vectors_openssl.t ..... 426/663 t/pk_ecc_test_vectors_openssl.t ..... ok t/pk_ecc_wycheproof.t ............... t/pk_ecc_wycheproof.t ............... 1/9 t/pk_ecc_wycheproof.t ............... ok t/pk_ed25519.t ...................... t/pk_ed25519.t ...................... 1/98 t/pk_ed25519.t ...................... 82/98 # Failed test 'ed25519ctx sign test 1' # at t/pk_ed25519.t line 243. # got: '80b9149141930b3e6ec7aaa2e89a07c6e3387a7832a936518dd2f79f80dba25998966e1f4179743e6b0ad089544d0a4d10975c4a74e5d2db86508d66cf79140c' # expected: '55a4cc2f70a54e04288c5f4cd1e45a7bb520b36292911876cada7323198dd87a8b36950b95130022907a7fb7c4e9b2d5f6cca685a587b4b21f4b888e4e7edb0d' # Failed test 'ed25519ctx sign test 2' # at t/pk_ed25519.t line 257. # got: 'dc0d38dc7757c418295d336fd72151067a15db0d77a6e9ea12ca8e0195d1a3de0e9df7eae68ded7b0b025d63934d88b59f43af9c6e857b93c6b76fa12db76407' # expected: 'fc60d5872fc46b3aa69f8b5b4351d5808f92bcc044606db097abab6dbcb1aee3216c48e8b3b66431b5b186d1d28f8ee15a5ca2df6668346291c2043d4eb3e90d' # Failed test 'ed25519ctx verify test 2' # at t/pk_ed25519.t line 258. # Failed test 'ed25519ctx sign test 3' # at t/pk_ed25519.t line 270. # got: '7bb1be5951e6cd0d00e8bfaa63dd88d680cc6d3c9128453cbf9682381f54da9e633f5f4a5dbab52dbda087e13c9158fc5098589b5d92665111c3ec26546bee0c' # expected: '8b70c1cc8310e1de20ac53ce28ae6e7207f33c3295e03bb5c0732a1d20dc64908922a8b052cf99b7c4fe107a5abb5b2c4085ae75890d02df26269d8945f84b0b' # Failed test 'ed25519ctx verify test 3' # at t/pk_ed25519.t line 271. t/pk_ed25519.t ...................... Dubious, test returned -1 (wstat 11, 0xb) Failed 15/98 subtests t/pk_ed448.t ........................ t/pk_ed448.t ........................ 1/82 t/pk_ed448.t ........................ 82/82 t/pk_ed448.t ........................ ok t/pk_enc_pem.t ...................... t/pk_enc_pem.t ...................... 1/27 t/pk_enc_pem.t ...................... ok t/pk_rfc8702_shake.t ................ t/pk_rfc8702_shake.t ................ 1/16 t/pk_rfc8702_shake.t ................ ok t/pk_rsa.t .......................... t/pk_rsa.t .......................... 1/61 t/pk_rsa.t .......................... 39/61 t/pk_rsa.t .......................... 46/61 t/pk_rsa.t .......................... ok t/pk_rsa_test_vectors_openssl.t ..... t/pk_rsa_test_vectors_openssl.t ..... 1/390 t/pk_rsa_test_vectors_openssl.t ..... 289/390 t/pk_rsa_test_vectors_openssl.t ..... ok t/pk_strict_checks.t ................ t/pk_strict_checks.t ................ 1/4 t/pk_strict_checks.t ................ ok t/pk_x25519.t ....................... t/pk_x25519.t ....................... 1/63 t/pk_x25519.t ....................... ok t/pk_x448.t ......................... t/pk_x448.t ......................... 1/63 t/pk_x448.t ......................... ok t/pkcs8.t ........................... t/pkcs8.t ........................... 1/14 t/pkcs8.t ........................... ok t/prng.t ............................ t/prng.t ............................ 1/79 t/prng.t ............................ ok t/prng_chacha20.t ................... t/prng_chacha20.t ................... 1/21 t/prng_chacha20.t ................... ok t/prng_fortuna.t .................... t/prng_fortuna.t .................... 1/22 t/prng_fortuna.t .................... ok t/prng_rc4.t ........................ t/prng_rc4.t ........................ 1/22 t/prng_rc4.t ........................ ok t/prng_sober128.t ................... t/prng_sober128.t ................... 1/22 t/prng_sober128.t ................... ok t/prng_yarrow.t ..................... t/prng_yarrow.t ..................... 1/22 t/prng_yarrow.t ..................... ok t/sshkey.t .......................... t/sshkey.t .......................... 1/756 t/sshkey.t .......................... 121/756 t/sshkey.t .......................... 476/756 t/sshkey.t .......................... 740/756 t/sshkey.t .......................... ok t/sv_nul_terminated.t ............... t/sv_nul_terminated.t ............... 1/33 t/sv_nul_terminated.t ............... ok Test Summary Report ------------------- t/auth_enc_eax.t (Wstat: 256 Tests: 23 Failed: 1) Failed test: 17 Non-zero exit status: 1 t/auth_enc_siv.t (Wstat: 512 Tests: 63 Failed: 2) Failed tests: 50-51 Non-zero exit status: 2 t/pk_ed25519.t (Wstat: 11 Tests: 88 Failed: 5) Failed tests: 82, 85-88 Non-zero exit status: -1 Parse errors: Bad plan. You planned 98 tests but ran 88. Files=164, Tests=21169, 45 wallclock secs ( 0.72 usr 0.12 sys + 13.77 cusr 0.80 csys = 15.41 CPU) Result: FAIL Failed 3/164 test programs. 8/21169 subtests failed. make: 1254-004 The error code from the last command is 255. Stop. </pre>
rainer-tammer commented 2026-09-12 07:26:37 -05:00 (Migrated from github.com)

Patch:

diff -uNrp CryptX-0.091/src/ltc/encauth/eax/eax_decrypt_verify_memory.c 184-CryptX-0.091/src/ltc/encauth/eax/eax_decrypt_verify_memory.c
--- CryptX-0.091/src/ltc/encauth/eax/eax_decrypt_verify_memory.c	2026-08-10 17:50:44.000000000 +0200
+++ 184-CryptX-0.091/src/ltc/encauth/eax/eax_decrypt_verify_memory.c	2026-09-11 11:11:15.409300517 +0200
@@ -58,7 +58,11 @@ int eax_decrypt_verify_memory(int cipher
    }
 
    /* allocate ram */
+#if defined(_AIX)
+   buf = XMALLOC(taglen > 0 ? taglen : 1); /* malloc(0) returns NULL on AIX */
+#else
    buf = XMALLOC(taglen);
+#endif
    eax = XMALLOC(sizeof(*eax));
    if (eax == NULL || buf == NULL) {
       if (eax != NULL) {
diff -uNrp CryptX-0.091/src/ltc/encauth/siv/siv.c 184-CryptX-0.091/src/ltc/encauth/siv/siv.c
--- CryptX-0.091/src/ltc/encauth/siv/siv.c	2026-08-10 17:50:44.000000000 +0200
+++ 184-CryptX-0.091/src/ltc/encauth/siv/siv.c	2026-09-11 11:10:55.610300673 +0200
@@ -362,7 +362,11 @@ int siv_decrypt_memory(                i
       return err;
    }
    *ptlen = ctlen - 16;
+#if defined(_AIX)
+   pt_work = XMALLOC(*ptlen > 0 ? *ptlen : 1); /* malloc(0) returns NULL on AIX */
+#else
    pt_work = XMALLOC(*ptlen);
+#endif
    if (pt_work == NULL) {
       return CRYPT_MEM;
    }
diff -uNrp CryptX-0.091/src/ltc/pk/ec25519/tweetnacl.c 184-CryptX-0.091/src/ltc/pk/ec25519/tweetnacl.c
--- CryptX-0.091/src/ltc/pk/ec25519/tweetnacl.c	2026-08-10 17:50:44.000000000 +0200
+++ 184-CryptX-0.091/src/ltc/pk/ec25519/tweetnacl.c	2026-09-11 11:31:24.332545334 +0200
@@ -227,15 +227,36 @@ int tweetnacl_crypto_scalarmult_base(u8
 
 static LTC_INLINE int tweetnacl_crypto_hash_ctx(u8 *out,const u8 *m,u64 n,const u8 *ctx,u32 cs)
 {
+#if defined(_AIX)
+  hash_state md;
+  int err;
+#else
   unsigned long len = 64;
+#endif
+
   int hash_idx = find_hash("sha512");
 
+#if defined(_AIX)
+  if (hash_idx == -1) return CRYPT_INVALID_HASH;
+#else
   if (n > ULONG_MAX) return CRYPT_OVERFLOW;
+#endif
 
+#if defined(_AIX)
+  /* No hash_memory_multi(): its va_list is read as unsigned long, and* passing u64 through varargs breaks on ILP32 big-endian (AIX -q32). */
+  if ((err = hash_descriptor[hash_idx].init(&md)) != CRYPT_OK) return err;
+  if (cs != 0) {
+    if ((err = hash_descriptor[hash_idx].process(&md, ctx, (unsigned long)cs)) != CRYPT_OK) return err;
+  }
+  if ((err = hash_descriptor[hash_idx].process(&md, m, (unsigned long)n)) != CRYPT_OK) return err;
+  return hash_descriptor[hash_idx].done(&md, out);
+#else
   if(cs == 0)
     return hash_memory(hash_idx, m, n, out, &len);
 
   return hash_memory_multi(hash_idx, out, &len, ctx, cs, m, n, LTC_NULL);
+#endif
+
 }
 
 static LTC_INLINE int tweetnacl_crypto_hash(u8 *out,const u8 *m,u64 n)
Patch: <pre> diff -uNrp CryptX-0.091/src/ltc/encauth/eax/eax_decrypt_verify_memory.c 184-CryptX-0.091/src/ltc/encauth/eax/eax_decrypt_verify_memory.c --- CryptX-0.091/src/ltc/encauth/eax/eax_decrypt_verify_memory.c 2026-08-10 17:50:44.000000000 +0200 +++ 184-CryptX-0.091/src/ltc/encauth/eax/eax_decrypt_verify_memory.c 2026-09-11 11:11:15.409300517 +0200 @@ -58,7 +58,11 @@ int eax_decrypt_verify_memory(int cipher } /* allocate ram */ +#if defined(_AIX) + buf = XMALLOC(taglen > 0 ? taglen : 1); /* malloc(0) returns NULL on AIX */ +#else buf = XMALLOC(taglen); +#endif eax = XMALLOC(sizeof(*eax)); if (eax == NULL || buf == NULL) { if (eax != NULL) { diff -uNrp CryptX-0.091/src/ltc/encauth/siv/siv.c 184-CryptX-0.091/src/ltc/encauth/siv/siv.c --- CryptX-0.091/src/ltc/encauth/siv/siv.c 2026-08-10 17:50:44.000000000 +0200 +++ 184-CryptX-0.091/src/ltc/encauth/siv/siv.c 2026-09-11 11:10:55.610300673 +0200 @@ -362,7 +362,11 @@ int siv_decrypt_memory( i return err; } *ptlen = ctlen - 16; +#if defined(_AIX) + pt_work = XMALLOC(*ptlen > 0 ? *ptlen : 1); /* malloc(0) returns NULL on AIX */ +#else pt_work = XMALLOC(*ptlen); +#endif if (pt_work == NULL) { return CRYPT_MEM; } diff -uNrp CryptX-0.091/src/ltc/pk/ec25519/tweetnacl.c 184-CryptX-0.091/src/ltc/pk/ec25519/tweetnacl.c --- CryptX-0.091/src/ltc/pk/ec25519/tweetnacl.c 2026-08-10 17:50:44.000000000 +0200 +++ 184-CryptX-0.091/src/ltc/pk/ec25519/tweetnacl.c 2026-09-11 11:31:24.332545334 +0200 @@ -227,15 +227,36 @@ int tweetnacl_crypto_scalarmult_base(u8 static LTC_INLINE int tweetnacl_crypto_hash_ctx(u8 *out,const u8 *m,u64 n,const u8 *ctx,u32 cs) { +#if defined(_AIX) + hash_state md; + int err; +#else unsigned long len = 64; +#endif + int hash_idx = find_hash("sha512"); +#if defined(_AIX) + if (hash_idx == -1) return CRYPT_INVALID_HASH; +#else if (n > ULONG_MAX) return CRYPT_OVERFLOW; +#endif +#if defined(_AIX) + /* No hash_memory_multi(): its va_list is read as unsigned long, and* passing u64 through varargs breaks on ILP32 big-endian (AIX -q32). */ + if ((err = hash_descriptor[hash_idx].init(&md)) != CRYPT_OK) return err; + if (cs != 0) { + if ((err = hash_descriptor[hash_idx].process(&md, ctx, (unsigned long)cs)) != CRYPT_OK) return err; + } + if ((err = hash_descriptor[hash_idx].process(&md, m, (unsigned long)n)) != CRYPT_OK) return err; + return hash_descriptor[hash_idx].done(&md, out); +#else if(cs == 0) return hash_memory(hash_idx, m, n, out, &len); return hash_memory_multi(hash_idx, out, &len, ctx, cs, m, n, LTC_NULL); +#endif + } static LTC_INLINE int tweetnacl_crypto_hash(u8 *out,const u8 *m,u64 n) </pre>
rainer-tammer commented 2026-09-12 07:27:06 -05:00 (Migrated from github.com)

After patch:

---[Clean test]----------------------------------------------------------------------------------------------------------------------------------------------------------------

# make test
         "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- CryptX.bs blib/arch/auto/CryptX/CryptX.bs 644
        PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/001_compile.t ..................... # Testing CryptX 0.091, Perl 5.028001 aix /usr/bin/perl
# osname       = aix
# osvers       = 7.1.0.0
# archname     = aix-thread-multi
# uname        = uname
# myarchname   = 0000668A7A00-aix
# myuname      = aix fvt-p7a2-lp2 1 7 0000668a7a00 
# gccversion   = 
# ccversion    = 
# cc           = xlc_r
# intsize      = 4
# longsize     = 4
# longlongsize = 8
# ptrsize      = 4
# byteorder    = 4321
# 
# LibTomCrypt 1.18.2-develop (www.libtom.net)
# LibTomCrypt is public domain software.
# 
# Endianness: big (64-bit words)
# Clean stack: disabled
# 
# Ciphers built-in:
#    Blowfish
#    RC2
#    RC5
#    RC6
#    Safer+
#    Safer
#    Rijndael
#    XTEA
#    Twofish (tables)
#    DES
#    DES-X
#    3DES
#    SM4
#    CAST5
#    Noekeon
#    Skipjack
#    Khazad
#    Anubis  (tweaked)
#    KSEED
#    KASUMI
#    MULTI2
#    Camellia
#    IDEA
#    Serpent
#    TEA
#    ARIA
# Stream ciphers built-in:
#    ChaCha
#    XChaCha20
#    Salsa20
#    XSalsa20
#    Sosemanuk
#    Rabbit
#    RC4
#    SOBER128
# 
# Hashes built-in:
#    SHA3
#    TurboSHAKE
#    KangarooTwelve
#    KECCAK
#    SHA-512
#    SHA-384
#    SHA-512/256
#    SHA-256
#    SHA-512/224
#    SHA-224
#    TIGER
#    SHA1
#    MD5
#    MD4
#    MD2
#    RIPEMD128
#    RIPEMD160
#    RIPEMD256
#    RIPEMD320
#    WHIRLPOOL
#    BLAKE2S
#    BLAKE2B
#    SM3
#    BLAKE3
#    CHC_HASH
# 
# Block Chaining Modes:
#    CFB
#    OFB
#    ECB
#    CBC
#    CTR
#    LRW (tables) 
#    F8
#    XTS
# 
# MACs:
#    HMAC
#    OMAC
#    PMAC
#    PELICAN
#    XCBC
#    F9
#    POLY1305
#    BLAKE2S MAC
#    BLAKE2B MAC
#    KMAC
# 
# ENC + AUTH modes:
#    EAX
#    OCB3
#    CCM
#    GCM (tables) 
#    CHACHA20POLY1305
#    SIV
#    GCM-SIV
# 
# PRNG:
#    Yarrow (LTC_YARROW_AES=2)
#    SPRNG
#    RC4
#    ChaCha20
#    Fortuna (LTC_FORTUNA_POOLS=32, LTC_FORTUNA_RESEED_RATELIMIT_TIMED)
#    SOBER128
# 
# PK Crypto:
#    RSA (with blinding and CRT hardening)
#    DH
#    ECC (with blinding)
#    DSA
#    Ed25519
#    X25519
#    Ed448
#    X448
#    LTC_PK_MAX_RETRIES=20
# 
# MPI (Math):
#    LTC_MPI
#    LTM_DESC
#    LTC_MILLER_RABIN_REPS=40
# 
# Compiler:
# 
# Various others:  ARGTYPE=4  ADLER32  BASE64  BASE64-URL-SAFE  BASE32  BASE16  ARGON2  BCRYPT  LTC_BCRYPT_DEFAULT_ROUNDS=10  SCRYPT  CRC32  DER  LTC_DER_MAX_RECURSION=30  LTC_DER_OID_DEFAULT_NODES=12  PKCS#1  PKCS#5  PKCS#8  PKCS#12  PADDING  HKDF  PBES1  PBES2  PEM  LTC_PEM_DECODE_BUFSZ=80  LTC_PEM_READ_BUFSIZE=8192  SSH  OpenSSH-PEM  LTC_DEVRANDOM  LTC_TRY_URANDOM_FIRST  LTC_RNG_GET_BYTES  LTC_RNG_MAKE_PRNG  LTC_HASH_HELPERS  LTC_FILE_READ_BUFSIZE=8192  LTC_INLINE=__inline__  LTC_NO_TEST  LTC_ECC_SHAMIR  LTC_CLOCK_GETTIME 
# 
# MP_PROVIDER  = LibTomMath
# MP_DIGIT_BIT = 28
# 

t/001_compile.t ..................... 1/1 
                                           
t/001_compile.t ..................... ok
t/002_all_pm.t ...................... 
                                           
t/002_all_pm.t ...................... skipped: set AUTHOR_MODE to enable this test (developer only!)
t/003_all_pm_pod.t .................. 
                                           
t/003_all_pm_pod.t .................. skipped: set AUTHOR_MODE to enable this test (developer only!)
t/004_all_pm_pod_spelling.t ......... 
                                           
t/004_all_pm_pod_spelling.t ......... skipped: set AUTHOR_MODE to enable this test (developer only!)
t/005_all_pm_pod_coverage.t ......... 
                                           
t/005_all_pm_pod_coverage.t ......... skipped: set AUTHOR_MODE to enable this test (developer only!)
t/asn1.t ............................ 
t/asn1.t ............................ 1/158 
                                               
t/asn1.t ............................ ok
t/auth_enc_api.t .................... 
t/auth_enc_api.t .................... 1/20 
                                             
t/auth_enc_api.t .................... ok
t/auth_enc_ccm.t .................... 
t/auth_enc_ccm.t .................... 1/24 
                                             
t/auth_enc_ccm.t .................... ok
t/auth_enc_ccm_test_vector_ltc.t .... 
t/auth_enc_ccm_test_vector_ltc.t .... 1/16 
                                             
t/auth_enc_ccm_test_vector_ltc.t .... ok
t/auth_enc_chacha20poly1305.t ....... 
t/auth_enc_chacha20poly1305.t ....... 1/21 
                                             
t/auth_enc_chacha20poly1305.t ....... ok
t/auth_enc_eax.t .................... 
t/auth_enc_eax.t .................... 1/23 
                                             
t/auth_enc_eax.t .................... ok
t/auth_enc_eax_test_vector_ltc.t .... 
t/auth_enc_eax_test_vector_ltc.t .... 1/56 
                                             
t/auth_enc_eax_test_vector_ltc.t .... ok
t/auth_enc_gcm.t .................... 
t/auth_enc_gcm.t .................... 1/20 
                                             
t/auth_enc_gcm.t .................... ok
t/auth_enc_gcm_test_vector_ltc.t .... 
t/auth_enc_gcm_test_vector_ltc.t .... 1/42 
                                             
t/auth_enc_gcm_test_vector_ltc.t .... ok
t/auth_enc_gcmsiv.t ................. 
t/auth_enc_gcmsiv.t ................. 1/23 
                                             
t/auth_enc_gcmsiv.t ................. ok
t/auth_enc_ocb.t .................... 
t/auth_enc_ocb.t .................... 1/29 
                                             
t/auth_enc_ocb.t .................... ok
t/auth_enc_ocb_test_vectors_ietf.t .. 
t/auth_enc_ocb_test_vectors_ietf.t .. 1/51 
                                             
t/auth_enc_ocb_test_vectors_ietf.t .. ok
t/auth_enc_siv.t .................... 
t/auth_enc_siv.t .................... 1/63 
                                             
t/auth_enc_siv.t .................... ok
t/auth_enc_xchacha20poly1305.t ...... 
t/auth_enc_xchacha20poly1305.t ...... 1/29 
                                             
t/auth_enc_xchacha20poly1305.t ...... ok
t/checksum.t ........................ 
t/checksum.t ........................ 1/70 
                                             
t/checksum.t ........................ ok
t/cipher_aes.t ...................... 
t/cipher_aes.t ...................... 1/39 
                                             
t/cipher_aes.t ...................... ok
t/cipher_aes_test_vectors_bc.t ...... 
t/cipher_aes_test_vectors_bc.t ...... 1/25 
                                             
t/cipher_aes_test_vectors_bc.t ...... ok
t/cipher_anubis.t ................... 
t/cipher_anubis.t ................... 1/39 
                                             
t/cipher_anubis.t ................... ok
t/cipher_api.t ...................... 
t/cipher_api.t ...................... 1/14 
                                             
t/cipher_api.t ...................... ok
t/cipher_aria.t ..................... 
t/cipher_aria.t ..................... 1/39 
                                             
t/cipher_aria.t ..................... ok
t/cipher_blowfish.t ................. 
t/cipher_blowfish.t ................. 1/39 
                                             
t/cipher_blowfish.t ................. ok
t/cipher_camellia.t ................. 
t/cipher_camellia.t ................. 1/39 
                                             
t/cipher_camellia.t ................. ok
t/cipher_cast5.t .................... 
t/cipher_cast5.t .................... 1/39 
                                             
t/cipher_cast5.t .................... ok
t/cipher_des.t ...................... 
t/cipher_des.t ...................... 1/39 
                                             
t/cipher_des.t ...................... ok
t/cipher_des_ede.t .................. 
t/cipher_des_ede.t .................. 1/39 
                                             
t/cipher_des_ede.t .................. ok
t/cipher_idea.t ..................... 
t/cipher_idea.t ..................... 1/39 
                                             
t/cipher_idea.t ..................... ok
t/cipher_idea_compat.t .............. 
t/cipher_idea_compat.t .............. 1/55 
                                             
t/cipher_idea_compat.t .............. ok
t/cipher_kasumi.t ................... 
t/cipher_kasumi.t ................... 1/39 
                                             
t/cipher_kasumi.t ................... ok
t/cipher_khazad.t ................... 
t/cipher_khazad.t ................... 1/39 
                                             
t/cipher_khazad.t ................... ok
t/cipher_multi2.t ................... 
t/cipher_multi2.t ................... 1/43 
                                             
t/cipher_multi2.t ................... ok
t/cipher_multi2_rounds.t ............ 
t/cipher_multi2_rounds.t ............ 1/1110 
                                                 
t/cipher_multi2_rounds.t ............ ok
t/cipher_noekeon.t .................. 
t/cipher_noekeon.t .................. 1/39 
                                             
t/cipher_noekeon.t .................. ok
t/cipher_rc2.t ...................... 
t/cipher_rc2.t ...................... 1/39 
                                             
t/cipher_rc2.t ...................... ok
t/cipher_rc5.t ...................... 
t/cipher_rc5.t ...................... 1/43 
                                             
t/cipher_rc5.t ...................... ok
t/cipher_rc6.t ...................... 
t/cipher_rc6.t ...................... 1/39 
                                             
t/cipher_rc6.t ...................... ok
t/cipher_safer_k128.t ............... 
t/cipher_safer_k128.t ............... 1/43 
                                             
t/cipher_safer_k128.t ............... ok
t/cipher_safer_k64.t ................ 
t/cipher_safer_k64.t ................ 1/43 
                                             
t/cipher_safer_k64.t ................ ok
t/cipher_safer_sk128.t .............. 
t/cipher_safer_sk128.t .............. 1/43 
                                             
t/cipher_safer_sk128.t .............. ok
t/cipher_safer_sk64.t ............... 
t/cipher_safer_sk64.t ............... 1/43 
                                             
t/cipher_safer_sk64.t ............... ok
t/cipher_saferp.t ................... 
t/cipher_saferp.t ................... 1/39 
                                             
t/cipher_saferp.t ................... ok
t/cipher_seed.t ..................... 
t/cipher_seed.t ..................... 1/39 
                                             
t/cipher_seed.t ..................... ok
t/cipher_seed_test_vectors_bc.t ..... 
t/cipher_seed_test_vectors_bc.t ..... 1/5 
                                           
t/cipher_seed_test_vectors_bc.t ..... ok
t/cipher_serpent.t .................. 
t/cipher_serpent.t .................. 1/39 
                                             
t/cipher_serpent.t .................. ok
t/cipher_serpent_compat.t ........... 
t/cipher_serpent_compat.t ........... 1/12 
                                             
t/cipher_serpent_compat.t ........... ok
t/cipher_skipjack.t ................. 
t/cipher_skipjack.t ................. 1/39 
                                             
t/cipher_skipjack.t ................. ok
t/cipher_sm4.t ...................... 
t/cipher_sm4.t ...................... 1/39 
                                             
t/cipher_sm4.t ...................... ok
t/cipher_stream.t ................... 
t/cipher_stream.t ................... 1/38 
                                             
t/cipher_stream.t ................... ok
t/cipher_stream_api.t ............... 
t/cipher_stream_api.t ............... 1/75 
                                             
t/cipher_stream_api.t ............... ok
t/cipher_stream_rabbit.t ............ 
t/cipher_stream_rabbit.t ............ 1/3 
                                           
t/cipher_stream_rabbit.t ............ ok
t/cipher_stream_salsa20.t ........... 
t/cipher_stream_salsa20.t ........... 1/2304 
                                                 
t/cipher_stream_salsa20.t ........... ok
t/cipher_stream_xchacha20.t ......... 
t/cipher_stream_xchacha20.t ......... 1/10 
                                             
t/cipher_stream_xchacha20.t ......... ok
t/cipher_stream_xsalsa20.t .......... 
t/cipher_stream_xsalsa20.t .......... 1/8 
                                           
t/cipher_stream_xsalsa20.t .......... ok
t/cipher_test_vectors_ltc.t ......... 
t/cipher_test_vectors_ltc.t ......... 1/2000 
                                                 
t/cipher_test_vectors_ltc.t ......... ok
t/cipher_test_vectors_openssl.t ..... 
t/cipher_test_vectors_openssl.t ..... 1/356 
                                               
t/cipher_test_vectors_openssl.t ..... ok
t/cipher_twofish.t .................. 
t/cipher_twofish.t .................. 1/39 
                                             
t/cipher_twofish.t .................. ok
t/cipher_twofish_test_vectors_bc.t .. 
t/cipher_twofish_test_vectors_bc.t .. 1/3 
                                           
t/cipher_twofish_test_vectors_bc.t .. ok
t/cipher_xtea.t ..................... 
t/cipher_xtea.t ..................... 1/39 
                                             
t/cipher_xtea.t ..................... ok
t/cipher_xtea_test_vectors_bc.t ..... 
t/cipher_xtea_test_vectors_bc.t ..... 1/4 
                                           
t/cipher_xtea_test_vectors_bc.t ..... ok
t/crypt-misc.t ...................... 
t/crypt-misc.t ...................... 1/761 
                                               
t/crypt-misc.t ...................... ok
t/digest_api.t ...................... 
t/digest_api.t ...................... 1/6 
                                           
t/digest_api.t ...................... ok
t/digest_blake2b_160.t .............. 
t/digest_blake2b_160.t .............. 1/90 
                                             
t/digest_blake2b_160.t .............. ok
t/digest_blake2b_256.t .............. 
t/digest_blake2b_256.t .............. 1/90 
                                             
t/digest_blake2b_256.t .............. ok
t/digest_blake2b_384.t .............. 
t/digest_blake2b_384.t .............. 1/90 
                                             
t/digest_blake2b_384.t .............. ok
t/digest_blake2b_512.t .............. 
t/digest_blake2b_512.t .............. 1/90 
                                             
t/digest_blake2b_512.t .............. ok
t/digest_blake2s_128.t .............. 
t/digest_blake2s_128.t .............. 1/90 
                                             
t/digest_blake2s_128.t .............. ok
t/digest_blake2s_160.t .............. 
t/digest_blake2s_160.t .............. 1/90 
                                             
t/digest_blake2s_160.t .............. ok
t/digest_blake2s_224.t .............. 
t/digest_blake2s_224.t .............. 1/90 
                                             
t/digest_blake2s_224.t .............. ok
t/digest_blake2s_256.t .............. 
t/digest_blake2s_256.t .............. 1/90 
                                             
t/digest_blake2s_256.t .............. ok
t/digest_blake3.t ................... 
t/digest_blake3.t ................... 1/90 
                                             
t/digest_blake3.t ................... ok
t/digest_chaes.t .................... 
t/digest_chaes.t .................... 1/90 
                                             
t/digest_chaes.t .................... ok
t/digest_kangarootwelve.t ........... 
t/digest_kangarootwelve.t ........... 1/20 
                                             
t/digest_kangarootwelve.t ........... ok
t/digest_keccak224.t ................ 
t/digest_keccak224.t ................ 1/90 
                                             
t/digest_keccak224.t ................ ok
t/digest_keccak256.t ................ 
t/digest_keccak256.t ................ 1/90 
                                             
t/digest_keccak256.t ................ ok
t/digest_keccak384.t ................ 
t/digest_keccak384.t ................ 1/90 
                                             
t/digest_keccak384.t ................ ok
t/digest_keccak512.t ................ 
t/digest_keccak512.t ................ 1/90 
                                             
t/digest_keccak512.t ................ ok
t/digest_md2.t ...................... 
t/digest_md2.t ...................... 1/90 
t/digest_md2.t ...................... 65/90 
                                             
t/digest_md2.t ...................... ok
t/digest_md4.t ...................... 
t/digest_md4.t ...................... 1/90 
                                             
t/digest_md4.t ...................... ok
t/digest_md5.t ...................... 
t/digest_md5.t ...................... 1/90 
                                             
t/digest_md5.t ...................... ok
t/digest_ripemd128.t ................ 
t/digest_ripemd128.t ................ 1/90 
                                             
t/digest_ripemd128.t ................ ok
t/digest_ripemd160.t ................ 
t/digest_ripemd160.t ................ 1/90 
                                             
t/digest_ripemd160.t ................ ok
t/digest_ripemd256.t ................ 
t/digest_ripemd256.t ................ 1/90 
                                             
t/digest_ripemd256.t ................ ok
t/digest_ripemd320.t ................ 
t/digest_ripemd320.t ................ 1/90 
                                             
t/digest_ripemd320.t ................ ok
t/digest_sha1.t ..................... 
t/digest_sha1.t ..................... 1/90 
                                             
t/digest_sha1.t ..................... ok
t/digest_sha224.t ................... 
t/digest_sha224.t ................... 1/90 
                                             
t/digest_sha224.t ................... ok
t/digest_sha256.t ................... 
t/digest_sha256.t ................... 1/90 
                                             
t/digest_sha256.t ................... ok
t/digest_sha384.t ................... 
t/digest_sha384.t ................... 1/90 
                                             
t/digest_sha384.t ................... ok
t/digest_sha3_224.t ................. 
t/digest_sha3_224.t ................. 1/90 
                                             
t/digest_sha3_224.t ................. ok
t/digest_sha3_256.t ................. 
t/digest_sha3_256.t ................. 1/90 
                                             
t/digest_sha3_256.t ................. ok
t/digest_sha3_384.t ................. 
t/digest_sha3_384.t ................. 1/90 
                                             
t/digest_sha3_384.t ................. ok
t/digest_sha3_512.t ................. 
t/digest_sha3_512.t ................. 1/90 
                                             
t/digest_sha3_512.t ................. ok
t/digest_sha512.t ................... 
t/digest_sha512.t ................... 1/90 
                                             
t/digest_sha512.t ................... ok
t/digest_sha512_224.t ............... 
t/digest_sha512_224.t ............... 1/90 
                                             
t/digest_sha512_224.t ............... ok
t/digest_sha512_256.t ............... 
t/digest_sha512_256.t ............... 1/90 
                                             
t/digest_sha512_256.t ............... ok
t/digest_shake.t .................... 
t/digest_shake.t .................... 1/28 
                                             
t/digest_shake.t .................... ok
t/digest_sm3.t ...................... 
t/digest_sm3.t ...................... 1/90 
                                             
t/digest_sm3.t ...................... ok
t/digest_test_vectors_ltc.t ......... 
t/digest_test_vectors_ltc.t ......... 1/1739 
                                                 
t/digest_test_vectors_ltc.t ......... ok
t/digest_tiger192.t ................. 
t/digest_tiger192.t ................. 1/90 
                                             
t/digest_tiger192.t ................. ok
t/digest_turboshake.t ............... 
t/digest_turboshake.t ............... 1/18 
                                             
t/digest_turboshake.t ............... ok
t/digest_whirlpool.t ................ 
t/digest_whirlpool.t ................ 1/90 
                                             
t/digest_whirlpool.t ................ ok
t/GHSA-24c2-gp6c-24c6.t ............. 
t/GHSA-24c2-gp6c-24c6.t ............. 1/80 
t/GHSA-24c2-gp6c-24c6.t ............. 25/80 
t/GHSA-24c2-gp6c-24c6.t ............. 37/80 
                                             
t/GHSA-24c2-gp6c-24c6.t ............. ok
t/jwk.t ............................. 
t/jwk.t ............................. 1/97 
                                             
t/jwk.t ............................. ok
t/key_derivation.t .................. 
t/key_derivation.t .................. 1/88 
                                             
t/key_derivation.t .................. ok
t/mac_api.t ......................... 
t/mac_api.t ......................... 1/16 
                                             
t/mac_api.t ......................... ok
t/mac_blake2b.t ..................... 
t/mac_blake2b.t ..................... 1/49 
                                             
t/mac_blake2b.t ..................... ok
t/mac_blake2s.t ..................... 
t/mac_blake2s.t ..................... 1/49 
                                             
t/mac_blake2s.t ..................... ok
t/mac_f9.t .......................... 
t/mac_f9.t .......................... 1/85 
                                             
t/mac_f9.t .......................... ok
t/mac_hmac.t ........................ 
t/mac_hmac.t ........................ 1/85 
                                             
t/mac_hmac.t ........................ ok
t/mac_hmac_nist.t ................... 
t/mac_hmac_nist.t ................... 1/36 
                                             
t/mac_hmac_nist.t ................... ok
t/mac_hmac_test_vectors_ltc.t ....... 
t/mac_hmac_test_vectors_ltc.t ....... 1/1739 
                                                 
t/mac_hmac_test_vectors_ltc.t ....... ok
t/mac_kmac.t ........................ 
t/mac_kmac.t ........................ 1/33 
                                             
t/mac_kmac.t ........................ ok
t/mac_omac.t ........................ 
t/mac_omac.t ........................ 1/85 
                                             
t/mac_omac.t ........................ ok
t/mac_omac_test_vectors_ltc.t ....... 
t/mac_omac_test_vectors_ltc.t ....... 1/452 
                                               
t/mac_omac_test_vectors_ltc.t ....... ok
t/mac_pelican.t ..................... 
t/mac_pelican.t ..................... 1/85 
                                             
t/mac_pelican.t ..................... ok
t/mac_pmac.t ........................ 
t/mac_pmac.t ........................ 1/85 
                                             
t/mac_pmac.t ........................ ok
t/mac_pmac_test_vectors_ltc.t ....... 
t/mac_pmac_test_vectors_ltc.t ....... 1/452 
                                               
t/mac_pmac_test_vectors_ltc.t ....... ok
t/mac_poly1305.t .................... 
t/mac_poly1305.t .................... 1/49 
                                             
t/mac_poly1305.t .................... ok
t/mac_xcbc.t ........................ 
t/mac_xcbc.t ........................ 1/85 
                                             
t/mac_xcbc.t ........................ ok
t/mbi_ltm_01load.t .................. 
t/mbi_ltm_01load.t .................. 1/2 # Math::BigInt VERSION=1.999811

                                           
t/mbi_ltm_01load.t .................. ok
t/mbi_ltm_bigfltpm.t ................ 
                                           
t/mbi_ltm_bigfltpm.t ................ skipped: requires Math::BigFloat 1.999827+
t/mbi_ltm_bigintg.t ................. 
t/mbi_ltm_bigintg.t ................. 1/356 
                                               
t/mbi_ltm_bigintg.t ................. ok
t/mbi_ltm_bigintpm.t ................ 
                                           
t/mbi_ltm_bigintpm.t ................ skipped: requires Math::BigInt 1.999827+
t/mbi_ltm_biglog.t .................. 
t/mbi_ltm_biglog.t .................. 1/70 
t/mbi_ltm_biglog.t .................. 45/70 
t/mbi_ltm_biglog.t .................. 70/70 
                                             
t/mbi_ltm_biglog.t .................. ok
t/mbi_ltm_bigroot.t ................. 
t/mbi_ltm_bigroot.t ................. 1/9 
t/mbi_ltm_bigroot.t ................. 4/9 
                                           
t/mbi_ltm_bigroot.t ................. ok
t/mbi_ltm_bugs.t .................... 
t/mbi_ltm_bugs.t .................... 1/2 
                                           
t/mbi_ltm_bugs.t .................... ok
t/mbi_ltm_mbi-from-big-scalar.t ..... 
                                           
t/mbi_ltm_mbi-from-big-scalar.t ..... skipped: missing 64bit int support
t/mbi_ltm_since_1.999837.t .......... 
                                           
t/mbi_ltm_since_1.999837.t .......... skipped: requires Math::BigInt 1.999837+
t/mbi_ltm_since_1.999842.t .......... 
                                           
t/mbi_ltm_since_1.999842.t .......... skipped: requires Math::BigInt 1.999842+
t/mbi_ltm_since_2.005003.t .......... 
                                           
t/mbi_ltm_since_2.005003.t .......... skipped: requires Math::BigInt 2.005003+
t/mbi_ltm_storable.t ................ 
t/mbi_ltm_storable.t ................ 1/1 
                                           
t/mbi_ltm_storable.t ................ ok
t/mode_cbc.t ........................ 
t/mode_cbc.t ........................ 1/319 
                                               
t/mode_cbc.t ........................ ok
t/mode_cfb.t ........................ 
t/mode_cfb.t ........................ 1/15 
                                             
t/mode_cfb.t ........................ ok
t/mode_ctr.t ........................ 
t/mode_ctr.t ........................ 1/27 
                                             
t/mode_ctr.t ........................ ok
t/mode_ecb.t ........................ 
t/mode_ecb.t ........................ 1/270 
                                               
t/mode_ecb.t ........................ ok
t/mode_ofb.t ........................ 
t/mode_ofb.t ........................ 1/15 
                                             
t/mode_ofb.t ........................ ok
t/mode_xts.t ........................ 
t/mode_xts.t ........................ 1/77 
                                             
t/mode_xts.t ........................ ok
t/pk_dh.t ........................... 
t/pk_dh.t ........................... 1/74 
t/pk_dh.t ........................... 23/74 
                                             
t/pk_dh.t ........................... ok
t/pk_dsa.t .......................... 
t/pk_dsa.t .......................... 1/80 
t/pk_dsa.t .......................... 61/80 
t/pk_dsa.t .......................... 64/80 
                                             
t/pk_dsa.t .......................... ok
t/pk_dsa_test_vectors_openssl.t ..... 
t/pk_dsa_test_vectors_openssl.t ..... 1/90 
t/pk_dsa_test_vectors_openssl.t ..... 29/90 
                                             
t/pk_dsa_test_vectors_openssl.t ..... ok
t/pk_ecc.t .......................... 
t/pk_ecc.t .......................... 1/188 
t/pk_ecc.t .......................... 71/188 
                                               
t/pk_ecc.t .......................... ok
t/pk_ecc_test_vectors_openssl.t ..... 
t/pk_ecc_test_vectors_openssl.t ..... 1/663 
t/pk_ecc_test_vectors_openssl.t ..... 265/663 
                                               
t/pk_ecc_test_vectors_openssl.t ..... ok
t/pk_ecc_wycheproof.t ............... 
t/pk_ecc_wycheproof.t ............... 1/9 
                                           
t/pk_ecc_wycheproof.t ............... ok
t/pk_ed25519.t ...................... 
t/pk_ed25519.t ...................... 1/98 
                                             
t/pk_ed25519.t ...................... ok
t/pk_ed448.t ........................ 
t/pk_ed448.t ........................ 1/82 
t/pk_ed448.t ........................ 73/82 
                                             
t/pk_ed448.t ........................ ok
t/pk_enc_pem.t ...................... 
t/pk_enc_pem.t ...................... 1/27 
                                             
t/pk_enc_pem.t ...................... ok
t/pk_rfc8702_shake.t ................ 
t/pk_rfc8702_shake.t ................ 1/16 
                                             
t/pk_rfc8702_shake.t ................ ok
t/pk_rsa.t .......................... 
t/pk_rsa.t .......................... 1/61 
t/pk_rsa.t .......................... 39/61 
t/pk_rsa.t .......................... 46/61 
                                             
t/pk_rsa.t .......................... ok
t/pk_rsa_test_vectors_openssl.t ..... 
t/pk_rsa_test_vectors_openssl.t ..... 1/390 
t/pk_rsa_test_vectors_openssl.t ..... 387/390 
                                               
t/pk_rsa_test_vectors_openssl.t ..... ok
t/pk_strict_checks.t ................ 
t/pk_strict_checks.t ................ 1/4 
                                           
t/pk_strict_checks.t ................ ok
t/pk_x25519.t ....................... 
t/pk_x25519.t ....................... 1/63 
                                             
t/pk_x25519.t ....................... ok
t/pk_x448.t ......................... 
t/pk_x448.t ......................... 1/63 
                                             
t/pk_x448.t ......................... ok
t/pkcs8.t ........................... 
t/pkcs8.t ........................... 1/14 
                                             
t/pkcs8.t ........................... ok
t/prng.t ............................ 
t/prng.t ............................ 1/79 
t/prng.t ............................ 64/79 
                                             
t/prng.t ............................ ok
t/prng_chacha20.t ................... 
t/prng_chacha20.t ................... 1/21 
                                             
t/prng_chacha20.t ................... ok
t/prng_fortuna.t .................... 
t/prng_fortuna.t .................... 1/22 
                                             
t/prng_fortuna.t .................... ok
t/prng_rc4.t ........................ 
t/prng_rc4.t ........................ 1/22 
                                             
t/prng_rc4.t ........................ ok
t/prng_sober128.t ................... 
t/prng_sober128.t ................... 1/22 
                                             
t/prng_sober128.t ................... ok
t/prng_yarrow.t ..................... 
t/prng_yarrow.t ..................... 1/22 
                                             
t/prng_yarrow.t ..................... ok
t/sshkey.t .......................... 
t/sshkey.t .......................... 1/756 
t/sshkey.t .......................... 187/756 
t/sshkey.t .......................... 561/756 
                                               
t/sshkey.t .......................... ok
t/sv_nul_terminated.t ............... 
t/sv_nul_terminated.t ............... 1/33 
t/sv_nul_terminated.t ............... 14/33 
                                             
t/sv_nul_terminated.t ............... ok
All tests successful.
Files=164, Tests=21179, 42 wallclock secs ( 0.73 usr  0.13 sys + 12.76 cusr  0.80 csys = 14.42 CPU)
Result: PASS
After patch: ---[Clean test]---------------------------------------------------------------------------------------------------------------------------------------------------------------- <pre> # make test "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- CryptX.bs blib/arch/auto/CryptX/CryptX.bs 644 PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/001_compile.t ..................... # Testing CryptX 0.091, Perl 5.028001 aix /usr/bin/perl # osname = aix # osvers = 7.1.0.0 # archname = aix-thread-multi # uname = uname # myarchname = 0000668A7A00-aix # myuname = aix fvt-p7a2-lp2 1 7 0000668a7a00 # gccversion = # ccversion = # cc = xlc_r # intsize = 4 # longsize = 4 # longlongsize = 8 # ptrsize = 4 # byteorder = 4321 # # LibTomCrypt 1.18.2-develop (www.libtom.net) # LibTomCrypt is public domain software. # # Endianness: big (64-bit words) # Clean stack: disabled # # Ciphers built-in: # Blowfish # RC2 # RC5 # RC6 # Safer+ # Safer # Rijndael # XTEA # Twofish (tables) # DES # DES-X # 3DES # SM4 # CAST5 # Noekeon # Skipjack # Khazad # Anubis (tweaked) # KSEED # KASUMI # MULTI2 # Camellia # IDEA # Serpent # TEA # ARIA # Stream ciphers built-in: # ChaCha # XChaCha20 # Salsa20 # XSalsa20 # Sosemanuk # Rabbit # RC4 # SOBER128 # # Hashes built-in: # SHA3 # TurboSHAKE # KangarooTwelve # KECCAK # SHA-512 # SHA-384 # SHA-512/256 # SHA-256 # SHA-512/224 # SHA-224 # TIGER # SHA1 # MD5 # MD4 # MD2 # RIPEMD128 # RIPEMD160 # RIPEMD256 # RIPEMD320 # WHIRLPOOL # BLAKE2S # BLAKE2B # SM3 # BLAKE3 # CHC_HASH # # Block Chaining Modes: # CFB # OFB # ECB # CBC # CTR # LRW (tables) # F8 # XTS # # MACs: # HMAC # OMAC # PMAC # PELICAN # XCBC # F9 # POLY1305 # BLAKE2S MAC # BLAKE2B MAC # KMAC # # ENC + AUTH modes: # EAX # OCB3 # CCM # GCM (tables) # CHACHA20POLY1305 # SIV # GCM-SIV # # PRNG: # Yarrow (LTC_YARROW_AES=2) # SPRNG # RC4 # ChaCha20 # Fortuna (LTC_FORTUNA_POOLS=32, LTC_FORTUNA_RESEED_RATELIMIT_TIMED) # SOBER128 # # PK Crypto: # RSA (with blinding and CRT hardening) # DH # ECC (with blinding) # DSA # Ed25519 # X25519 # Ed448 # X448 # LTC_PK_MAX_RETRIES=20 # # MPI (Math): # LTC_MPI # LTM_DESC # LTC_MILLER_RABIN_REPS=40 # # Compiler: # # Various others: ARGTYPE=4 ADLER32 BASE64 BASE64-URL-SAFE BASE32 BASE16 ARGON2 BCRYPT LTC_BCRYPT_DEFAULT_ROUNDS=10 SCRYPT CRC32 DER LTC_DER_MAX_RECURSION=30 LTC_DER_OID_DEFAULT_NODES=12 PKCS#1 PKCS#5 PKCS#8 PKCS#12 PADDING HKDF PBES1 PBES2 PEM LTC_PEM_DECODE_BUFSZ=80 LTC_PEM_READ_BUFSIZE=8192 SSH OpenSSH-PEM LTC_DEVRANDOM LTC_TRY_URANDOM_FIRST LTC_RNG_GET_BYTES LTC_RNG_MAKE_PRNG LTC_HASH_HELPERS LTC_FILE_READ_BUFSIZE=8192 LTC_INLINE=__inline__ LTC_NO_TEST LTC_ECC_SHAMIR LTC_CLOCK_GETTIME # # MP_PROVIDER = LibTomMath # MP_DIGIT_BIT = 28 # t/001_compile.t ..................... 1/1 t/001_compile.t ..................... ok t/002_all_pm.t ...................... t/002_all_pm.t ...................... skipped: set AUTHOR_MODE to enable this test (developer only!) t/003_all_pm_pod.t .................. t/003_all_pm_pod.t .................. skipped: set AUTHOR_MODE to enable this test (developer only!) t/004_all_pm_pod_spelling.t ......... t/004_all_pm_pod_spelling.t ......... skipped: set AUTHOR_MODE to enable this test (developer only!) t/005_all_pm_pod_coverage.t ......... t/005_all_pm_pod_coverage.t ......... skipped: set AUTHOR_MODE to enable this test (developer only!) t/asn1.t ............................ t/asn1.t ............................ 1/158 t/asn1.t ............................ ok t/auth_enc_api.t .................... t/auth_enc_api.t .................... 1/20 t/auth_enc_api.t .................... ok t/auth_enc_ccm.t .................... t/auth_enc_ccm.t .................... 1/24 t/auth_enc_ccm.t .................... ok t/auth_enc_ccm_test_vector_ltc.t .... t/auth_enc_ccm_test_vector_ltc.t .... 1/16 t/auth_enc_ccm_test_vector_ltc.t .... ok t/auth_enc_chacha20poly1305.t ....... t/auth_enc_chacha20poly1305.t ....... 1/21 t/auth_enc_chacha20poly1305.t ....... ok t/auth_enc_eax.t .................... t/auth_enc_eax.t .................... 1/23 t/auth_enc_eax.t .................... ok t/auth_enc_eax_test_vector_ltc.t .... t/auth_enc_eax_test_vector_ltc.t .... 1/56 t/auth_enc_eax_test_vector_ltc.t .... ok t/auth_enc_gcm.t .................... t/auth_enc_gcm.t .................... 1/20 t/auth_enc_gcm.t .................... ok t/auth_enc_gcm_test_vector_ltc.t .... t/auth_enc_gcm_test_vector_ltc.t .... 1/42 t/auth_enc_gcm_test_vector_ltc.t .... ok t/auth_enc_gcmsiv.t ................. t/auth_enc_gcmsiv.t ................. 1/23 t/auth_enc_gcmsiv.t ................. ok t/auth_enc_ocb.t .................... t/auth_enc_ocb.t .................... 1/29 t/auth_enc_ocb.t .................... ok t/auth_enc_ocb_test_vectors_ietf.t .. t/auth_enc_ocb_test_vectors_ietf.t .. 1/51 t/auth_enc_ocb_test_vectors_ietf.t .. ok t/auth_enc_siv.t .................... t/auth_enc_siv.t .................... 1/63 t/auth_enc_siv.t .................... ok t/auth_enc_xchacha20poly1305.t ...... t/auth_enc_xchacha20poly1305.t ...... 1/29 t/auth_enc_xchacha20poly1305.t ...... ok t/checksum.t ........................ t/checksum.t ........................ 1/70 t/checksum.t ........................ ok t/cipher_aes.t ...................... t/cipher_aes.t ...................... 1/39 t/cipher_aes.t ...................... ok t/cipher_aes_test_vectors_bc.t ...... t/cipher_aes_test_vectors_bc.t ...... 1/25 t/cipher_aes_test_vectors_bc.t ...... ok t/cipher_anubis.t ................... t/cipher_anubis.t ................... 1/39 t/cipher_anubis.t ................... ok t/cipher_api.t ...................... t/cipher_api.t ...................... 1/14 t/cipher_api.t ...................... ok t/cipher_aria.t ..................... t/cipher_aria.t ..................... 1/39 t/cipher_aria.t ..................... ok t/cipher_blowfish.t ................. t/cipher_blowfish.t ................. 1/39 t/cipher_blowfish.t ................. ok t/cipher_camellia.t ................. t/cipher_camellia.t ................. 1/39 t/cipher_camellia.t ................. ok t/cipher_cast5.t .................... t/cipher_cast5.t .................... 1/39 t/cipher_cast5.t .................... ok t/cipher_des.t ...................... t/cipher_des.t ...................... 1/39 t/cipher_des.t ...................... ok t/cipher_des_ede.t .................. t/cipher_des_ede.t .................. 1/39 t/cipher_des_ede.t .................. ok t/cipher_idea.t ..................... t/cipher_idea.t ..................... 1/39 t/cipher_idea.t ..................... ok t/cipher_idea_compat.t .............. t/cipher_idea_compat.t .............. 1/55 t/cipher_idea_compat.t .............. ok t/cipher_kasumi.t ................... t/cipher_kasumi.t ................... 1/39 t/cipher_kasumi.t ................... ok t/cipher_khazad.t ................... t/cipher_khazad.t ................... 1/39 t/cipher_khazad.t ................... ok t/cipher_multi2.t ................... t/cipher_multi2.t ................... 1/43 t/cipher_multi2.t ................... ok t/cipher_multi2_rounds.t ............ t/cipher_multi2_rounds.t ............ 1/1110 t/cipher_multi2_rounds.t ............ ok t/cipher_noekeon.t .................. t/cipher_noekeon.t .................. 1/39 t/cipher_noekeon.t .................. ok t/cipher_rc2.t ...................... t/cipher_rc2.t ...................... 1/39 t/cipher_rc2.t ...................... ok t/cipher_rc5.t ...................... t/cipher_rc5.t ...................... 1/43 t/cipher_rc5.t ...................... ok t/cipher_rc6.t ...................... t/cipher_rc6.t ...................... 1/39 t/cipher_rc6.t ...................... ok t/cipher_safer_k128.t ............... t/cipher_safer_k128.t ............... 1/43 t/cipher_safer_k128.t ............... ok t/cipher_safer_k64.t ................ t/cipher_safer_k64.t ................ 1/43 t/cipher_safer_k64.t ................ ok t/cipher_safer_sk128.t .............. t/cipher_safer_sk128.t .............. 1/43 t/cipher_safer_sk128.t .............. ok t/cipher_safer_sk64.t ............... t/cipher_safer_sk64.t ............... 1/43 t/cipher_safer_sk64.t ............... ok t/cipher_saferp.t ................... t/cipher_saferp.t ................... 1/39 t/cipher_saferp.t ................... ok t/cipher_seed.t ..................... t/cipher_seed.t ..................... 1/39 t/cipher_seed.t ..................... ok t/cipher_seed_test_vectors_bc.t ..... t/cipher_seed_test_vectors_bc.t ..... 1/5 t/cipher_seed_test_vectors_bc.t ..... ok t/cipher_serpent.t .................. t/cipher_serpent.t .................. 1/39 t/cipher_serpent.t .................. ok t/cipher_serpent_compat.t ........... t/cipher_serpent_compat.t ........... 1/12 t/cipher_serpent_compat.t ........... ok t/cipher_skipjack.t ................. t/cipher_skipjack.t ................. 1/39 t/cipher_skipjack.t ................. ok t/cipher_sm4.t ...................... t/cipher_sm4.t ...................... 1/39 t/cipher_sm4.t ...................... ok t/cipher_stream.t ................... t/cipher_stream.t ................... 1/38 t/cipher_stream.t ................... ok t/cipher_stream_api.t ............... t/cipher_stream_api.t ............... 1/75 t/cipher_stream_api.t ............... ok t/cipher_stream_rabbit.t ............ t/cipher_stream_rabbit.t ............ 1/3 t/cipher_stream_rabbit.t ............ ok t/cipher_stream_salsa20.t ........... t/cipher_stream_salsa20.t ........... 1/2304 t/cipher_stream_salsa20.t ........... ok t/cipher_stream_xchacha20.t ......... t/cipher_stream_xchacha20.t ......... 1/10 t/cipher_stream_xchacha20.t ......... ok t/cipher_stream_xsalsa20.t .......... t/cipher_stream_xsalsa20.t .......... 1/8 t/cipher_stream_xsalsa20.t .......... ok t/cipher_test_vectors_ltc.t ......... t/cipher_test_vectors_ltc.t ......... 1/2000 t/cipher_test_vectors_ltc.t ......... ok t/cipher_test_vectors_openssl.t ..... t/cipher_test_vectors_openssl.t ..... 1/356 t/cipher_test_vectors_openssl.t ..... ok t/cipher_twofish.t .................. t/cipher_twofish.t .................. 1/39 t/cipher_twofish.t .................. ok t/cipher_twofish_test_vectors_bc.t .. t/cipher_twofish_test_vectors_bc.t .. 1/3 t/cipher_twofish_test_vectors_bc.t .. ok t/cipher_xtea.t ..................... t/cipher_xtea.t ..................... 1/39 t/cipher_xtea.t ..................... ok t/cipher_xtea_test_vectors_bc.t ..... t/cipher_xtea_test_vectors_bc.t ..... 1/4 t/cipher_xtea_test_vectors_bc.t ..... ok t/crypt-misc.t ...................... t/crypt-misc.t ...................... 1/761 t/crypt-misc.t ...................... ok t/digest_api.t ...................... t/digest_api.t ...................... 1/6 t/digest_api.t ...................... ok t/digest_blake2b_160.t .............. t/digest_blake2b_160.t .............. 1/90 t/digest_blake2b_160.t .............. ok t/digest_blake2b_256.t .............. t/digest_blake2b_256.t .............. 1/90 t/digest_blake2b_256.t .............. ok t/digest_blake2b_384.t .............. t/digest_blake2b_384.t .............. 1/90 t/digest_blake2b_384.t .............. ok t/digest_blake2b_512.t .............. t/digest_blake2b_512.t .............. 1/90 t/digest_blake2b_512.t .............. ok t/digest_blake2s_128.t .............. t/digest_blake2s_128.t .............. 1/90 t/digest_blake2s_128.t .............. ok t/digest_blake2s_160.t .............. t/digest_blake2s_160.t .............. 1/90 t/digest_blake2s_160.t .............. ok t/digest_blake2s_224.t .............. t/digest_blake2s_224.t .............. 1/90 t/digest_blake2s_224.t .............. ok t/digest_blake2s_256.t .............. t/digest_blake2s_256.t .............. 1/90 t/digest_blake2s_256.t .............. ok t/digest_blake3.t ................... t/digest_blake3.t ................... 1/90 t/digest_blake3.t ................... ok t/digest_chaes.t .................... t/digest_chaes.t .................... 1/90 t/digest_chaes.t .................... ok t/digest_kangarootwelve.t ........... t/digest_kangarootwelve.t ........... 1/20 t/digest_kangarootwelve.t ........... ok t/digest_keccak224.t ................ t/digest_keccak224.t ................ 1/90 t/digest_keccak224.t ................ ok t/digest_keccak256.t ................ t/digest_keccak256.t ................ 1/90 t/digest_keccak256.t ................ ok t/digest_keccak384.t ................ t/digest_keccak384.t ................ 1/90 t/digest_keccak384.t ................ ok t/digest_keccak512.t ................ t/digest_keccak512.t ................ 1/90 t/digest_keccak512.t ................ ok t/digest_md2.t ...................... t/digest_md2.t ...................... 1/90 t/digest_md2.t ...................... 65/90 t/digest_md2.t ...................... ok t/digest_md4.t ...................... t/digest_md4.t ...................... 1/90 t/digest_md4.t ...................... ok t/digest_md5.t ...................... t/digest_md5.t ...................... 1/90 t/digest_md5.t ...................... ok t/digest_ripemd128.t ................ t/digest_ripemd128.t ................ 1/90 t/digest_ripemd128.t ................ ok t/digest_ripemd160.t ................ t/digest_ripemd160.t ................ 1/90 t/digest_ripemd160.t ................ ok t/digest_ripemd256.t ................ t/digest_ripemd256.t ................ 1/90 t/digest_ripemd256.t ................ ok t/digest_ripemd320.t ................ t/digest_ripemd320.t ................ 1/90 t/digest_ripemd320.t ................ ok t/digest_sha1.t ..................... t/digest_sha1.t ..................... 1/90 t/digest_sha1.t ..................... ok t/digest_sha224.t ................... t/digest_sha224.t ................... 1/90 t/digest_sha224.t ................... ok t/digest_sha256.t ................... t/digest_sha256.t ................... 1/90 t/digest_sha256.t ................... ok t/digest_sha384.t ................... t/digest_sha384.t ................... 1/90 t/digest_sha384.t ................... ok t/digest_sha3_224.t ................. t/digest_sha3_224.t ................. 1/90 t/digest_sha3_224.t ................. ok t/digest_sha3_256.t ................. t/digest_sha3_256.t ................. 1/90 t/digest_sha3_256.t ................. ok t/digest_sha3_384.t ................. t/digest_sha3_384.t ................. 1/90 t/digest_sha3_384.t ................. ok t/digest_sha3_512.t ................. t/digest_sha3_512.t ................. 1/90 t/digest_sha3_512.t ................. ok t/digest_sha512.t ................... t/digest_sha512.t ................... 1/90 t/digest_sha512.t ................... ok t/digest_sha512_224.t ............... t/digest_sha512_224.t ............... 1/90 t/digest_sha512_224.t ............... ok t/digest_sha512_256.t ............... t/digest_sha512_256.t ............... 1/90 t/digest_sha512_256.t ............... ok t/digest_shake.t .................... t/digest_shake.t .................... 1/28 t/digest_shake.t .................... ok t/digest_sm3.t ...................... t/digest_sm3.t ...................... 1/90 t/digest_sm3.t ...................... ok t/digest_test_vectors_ltc.t ......... t/digest_test_vectors_ltc.t ......... 1/1739 t/digest_test_vectors_ltc.t ......... ok t/digest_tiger192.t ................. t/digest_tiger192.t ................. 1/90 t/digest_tiger192.t ................. ok t/digest_turboshake.t ............... t/digest_turboshake.t ............... 1/18 t/digest_turboshake.t ............... ok t/digest_whirlpool.t ................ t/digest_whirlpool.t ................ 1/90 t/digest_whirlpool.t ................ ok t/GHSA-24c2-gp6c-24c6.t ............. t/GHSA-24c2-gp6c-24c6.t ............. 1/80 t/GHSA-24c2-gp6c-24c6.t ............. 25/80 t/GHSA-24c2-gp6c-24c6.t ............. 37/80 t/GHSA-24c2-gp6c-24c6.t ............. ok t/jwk.t ............................. t/jwk.t ............................. 1/97 t/jwk.t ............................. ok t/key_derivation.t .................. t/key_derivation.t .................. 1/88 t/key_derivation.t .................. ok t/mac_api.t ......................... t/mac_api.t ......................... 1/16 t/mac_api.t ......................... ok t/mac_blake2b.t ..................... t/mac_blake2b.t ..................... 1/49 t/mac_blake2b.t ..................... ok t/mac_blake2s.t ..................... t/mac_blake2s.t ..................... 1/49 t/mac_blake2s.t ..................... ok t/mac_f9.t .......................... t/mac_f9.t .......................... 1/85 t/mac_f9.t .......................... ok t/mac_hmac.t ........................ t/mac_hmac.t ........................ 1/85 t/mac_hmac.t ........................ ok t/mac_hmac_nist.t ................... t/mac_hmac_nist.t ................... 1/36 t/mac_hmac_nist.t ................... ok t/mac_hmac_test_vectors_ltc.t ....... t/mac_hmac_test_vectors_ltc.t ....... 1/1739 t/mac_hmac_test_vectors_ltc.t ....... ok t/mac_kmac.t ........................ t/mac_kmac.t ........................ 1/33 t/mac_kmac.t ........................ ok t/mac_omac.t ........................ t/mac_omac.t ........................ 1/85 t/mac_omac.t ........................ ok t/mac_omac_test_vectors_ltc.t ....... t/mac_omac_test_vectors_ltc.t ....... 1/452 t/mac_omac_test_vectors_ltc.t ....... ok t/mac_pelican.t ..................... t/mac_pelican.t ..................... 1/85 t/mac_pelican.t ..................... ok t/mac_pmac.t ........................ t/mac_pmac.t ........................ 1/85 t/mac_pmac.t ........................ ok t/mac_pmac_test_vectors_ltc.t ....... t/mac_pmac_test_vectors_ltc.t ....... 1/452 t/mac_pmac_test_vectors_ltc.t ....... ok t/mac_poly1305.t .................... t/mac_poly1305.t .................... 1/49 t/mac_poly1305.t .................... ok t/mac_xcbc.t ........................ t/mac_xcbc.t ........................ 1/85 t/mac_xcbc.t ........................ ok t/mbi_ltm_01load.t .................. t/mbi_ltm_01load.t .................. 1/2 # Math::BigInt VERSION=1.999811 t/mbi_ltm_01load.t .................. ok t/mbi_ltm_bigfltpm.t ................ t/mbi_ltm_bigfltpm.t ................ skipped: requires Math::BigFloat 1.999827+ t/mbi_ltm_bigintg.t ................. t/mbi_ltm_bigintg.t ................. 1/356 t/mbi_ltm_bigintg.t ................. ok t/mbi_ltm_bigintpm.t ................ t/mbi_ltm_bigintpm.t ................ skipped: requires Math::BigInt 1.999827+ t/mbi_ltm_biglog.t .................. t/mbi_ltm_biglog.t .................. 1/70 t/mbi_ltm_biglog.t .................. 45/70 t/mbi_ltm_biglog.t .................. 70/70 t/mbi_ltm_biglog.t .................. ok t/mbi_ltm_bigroot.t ................. t/mbi_ltm_bigroot.t ................. 1/9 t/mbi_ltm_bigroot.t ................. 4/9 t/mbi_ltm_bigroot.t ................. ok t/mbi_ltm_bugs.t .................... t/mbi_ltm_bugs.t .................... 1/2 t/mbi_ltm_bugs.t .................... ok t/mbi_ltm_mbi-from-big-scalar.t ..... t/mbi_ltm_mbi-from-big-scalar.t ..... skipped: missing 64bit int support t/mbi_ltm_since_1.999837.t .......... t/mbi_ltm_since_1.999837.t .......... skipped: requires Math::BigInt 1.999837+ t/mbi_ltm_since_1.999842.t .......... t/mbi_ltm_since_1.999842.t .......... skipped: requires Math::BigInt 1.999842+ t/mbi_ltm_since_2.005003.t .......... t/mbi_ltm_since_2.005003.t .......... skipped: requires Math::BigInt 2.005003+ t/mbi_ltm_storable.t ................ t/mbi_ltm_storable.t ................ 1/1 t/mbi_ltm_storable.t ................ ok t/mode_cbc.t ........................ t/mode_cbc.t ........................ 1/319 t/mode_cbc.t ........................ ok t/mode_cfb.t ........................ t/mode_cfb.t ........................ 1/15 t/mode_cfb.t ........................ ok t/mode_ctr.t ........................ t/mode_ctr.t ........................ 1/27 t/mode_ctr.t ........................ ok t/mode_ecb.t ........................ t/mode_ecb.t ........................ 1/270 t/mode_ecb.t ........................ ok t/mode_ofb.t ........................ t/mode_ofb.t ........................ 1/15 t/mode_ofb.t ........................ ok t/mode_xts.t ........................ t/mode_xts.t ........................ 1/77 t/mode_xts.t ........................ ok t/pk_dh.t ........................... t/pk_dh.t ........................... 1/74 t/pk_dh.t ........................... 23/74 t/pk_dh.t ........................... ok t/pk_dsa.t .......................... t/pk_dsa.t .......................... 1/80 t/pk_dsa.t .......................... 61/80 t/pk_dsa.t .......................... 64/80 t/pk_dsa.t .......................... ok t/pk_dsa_test_vectors_openssl.t ..... t/pk_dsa_test_vectors_openssl.t ..... 1/90 t/pk_dsa_test_vectors_openssl.t ..... 29/90 t/pk_dsa_test_vectors_openssl.t ..... ok t/pk_ecc.t .......................... t/pk_ecc.t .......................... 1/188 t/pk_ecc.t .......................... 71/188 t/pk_ecc.t .......................... ok t/pk_ecc_test_vectors_openssl.t ..... t/pk_ecc_test_vectors_openssl.t ..... 1/663 t/pk_ecc_test_vectors_openssl.t ..... 265/663 t/pk_ecc_test_vectors_openssl.t ..... ok t/pk_ecc_wycheproof.t ............... t/pk_ecc_wycheproof.t ............... 1/9 t/pk_ecc_wycheproof.t ............... ok t/pk_ed25519.t ...................... t/pk_ed25519.t ...................... 1/98 t/pk_ed25519.t ...................... ok t/pk_ed448.t ........................ t/pk_ed448.t ........................ 1/82 t/pk_ed448.t ........................ 73/82 t/pk_ed448.t ........................ ok t/pk_enc_pem.t ...................... t/pk_enc_pem.t ...................... 1/27 t/pk_enc_pem.t ...................... ok t/pk_rfc8702_shake.t ................ t/pk_rfc8702_shake.t ................ 1/16 t/pk_rfc8702_shake.t ................ ok t/pk_rsa.t .......................... t/pk_rsa.t .......................... 1/61 t/pk_rsa.t .......................... 39/61 t/pk_rsa.t .......................... 46/61 t/pk_rsa.t .......................... ok t/pk_rsa_test_vectors_openssl.t ..... t/pk_rsa_test_vectors_openssl.t ..... 1/390 t/pk_rsa_test_vectors_openssl.t ..... 387/390 t/pk_rsa_test_vectors_openssl.t ..... ok t/pk_strict_checks.t ................ t/pk_strict_checks.t ................ 1/4 t/pk_strict_checks.t ................ ok t/pk_x25519.t ....................... t/pk_x25519.t ....................... 1/63 t/pk_x25519.t ....................... ok t/pk_x448.t ......................... t/pk_x448.t ......................... 1/63 t/pk_x448.t ......................... ok t/pkcs8.t ........................... t/pkcs8.t ........................... 1/14 t/pkcs8.t ........................... ok t/prng.t ............................ t/prng.t ............................ 1/79 t/prng.t ............................ 64/79 t/prng.t ............................ ok t/prng_chacha20.t ................... t/prng_chacha20.t ................... 1/21 t/prng_chacha20.t ................... ok t/prng_fortuna.t .................... t/prng_fortuna.t .................... 1/22 t/prng_fortuna.t .................... ok t/prng_rc4.t ........................ t/prng_rc4.t ........................ 1/22 t/prng_rc4.t ........................ ok t/prng_sober128.t ................... t/prng_sober128.t ................... 1/22 t/prng_sober128.t ................... ok t/prng_yarrow.t ..................... t/prng_yarrow.t ..................... 1/22 t/prng_yarrow.t ..................... ok t/sshkey.t .......................... t/sshkey.t .......................... 1/756 t/sshkey.t .......................... 187/756 t/sshkey.t .......................... 561/756 t/sshkey.t .......................... ok t/sv_nul_terminated.t ............... t/sv_nul_terminated.t ............... 1/33 t/sv_nul_terminated.t ............... 14/33 t/sv_nul_terminated.t ............... ok All tests successful. Files=164, Tests=21179, 42 wallclock secs ( 0.73 usr 0.13 sys + 12.76 cusr 0.80 csys = 14.42 CPU) Result: PASS </pre>
rainer-tammer commented 2026-09-12 07:27:30 -05:00 (Migrated from github.com)

Note: @sjaeckel this should be handled in libtomcrypt
See:: https://github.com/DCIT/perl-CryptX/issues/126

Note: @sjaeckel this should be handled in libtomcrypt See:: https://github.com/DCIT/perl-CryptX/issues/126
rainer-tammer commented 2026-09-16 01:09:58 -05:00 (Migrated from github.com)

Do you need additional information?

Do you need additional information?
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-libtom/libtomcrypt#810
No description provided.