Start testing: Jan 06 16:04 UTC ---------------------------------------------------------- 4/15 Testing: ciphers-with-provider 4/15 Test: ciphers-with-provider Command: "/var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1_build/bin/test_ciphers" Directory: /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1_build "ciphers-with-provider" start time: Jan 06 16:04 UTC Output: ---------------------------------------------------------- # Tests for kuznyechik-ecb [GOST R 34.13-2015] Encryption test from GOST R 34.13-2015 [kuznyechik-ecb] out-of-place: Test passed Chunked encryption test from GOST R 34.13-2015 [kuznyechik-ecb] out-of-place: Test passed Decryption test from GOST R 34.13-2015 [kuznyechik-ecb] out-of-place: Test passed Encryption test from GOST R 34.13-2015 [kuznyechik-ecb] in-place: Test passed Chunked encryption test from GOST R 34.13-2015 [kuznyechik-ecb] in-place: Test passed Decryption test from GOST R 34.13-2015 [kuznyechik-ecb] in-place: Test passed # Tests for kuznyechik-ctr [GOST R 34.13-2015] Encryption test from GOST R 34.13-2015 [kuznyechik-ctr] out-of-place: stream: Test passed Chunked encryption test from GOST R 34.13-2015 [kuznyechik-ctr] out-of-place: Test passed Decryption test from GOST R 34.13-2015 [kuznyechik-ctr] out-of-place: Test passed Encryption test from GOST R 34.13-2015 [kuznyechik-ctr] in-place: stream: Test passed Chunked encryption test from GOST R 34.13-2015 [kuznyechik-ctr] in-place: Test passed Decryption test from GOST R 34.13-2015 [kuznyechik-ctr] in-place: Test passed Stream encryption test from GOST R 34.13-2015 [kuznyechik-ctr] ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Test passed # Tests for kuznyechik-ctr-acpkm [GOST R 34.13-2015] Encryption test from GOST R 34.13-2015 [kuznyechik-ctr-acpkm] out-of-place: stream: Test passed Chunked encryption test from GOST R 34.13-2015 [kuznyechik-ctr-acpkm] out-of-place: Test passed Decryption test from GOST R 34.13-2015 [kuznyechik-ctr-acpkm] out-of-place: Test passed Encryption test from GOST R 34.13-2015 [kuznyechik-ctr-acpkm] in-place: stream: Test passed Chunked encryption test from GOST R 34.13-2015 [kuznyechik-ctr-acpkm] in-place: Test passed Decryption test from GOST R 34.13-2015 [kuznyechik-ctr-acpkm] in-place: Test passed Stream encryption test from GOST R 34.13-2015 [kuznyechik-ctr-acpkm] ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Test passed # Tests for kuznyechik-ctr-acpkm [R 23565.1.017-2018] Encryption test from R 23565.1.017-2018 [kuznyechik-ctr-acpkm] out-of-place: stream: Test passed Chunked encryption test from R 23565.1.017-2018 [kuznyechik-ctr-acpkm] out-of-place: Test passed Decryption test from R 23565.1.017-2018 [kuznyechik-ctr-acpkm] out-of-place: Test passed Encryption test from R 23565.1.017-2018 [kuznyechik-ctr-acpkm] in-place: stream: Test passed Chunked encryption test from R 23565.1.017-2018 [kuznyechik-ctr-acpkm] in-place: Test passed Decryption test from R 23565.1.017-2018 [kuznyechik-ctr-acpkm] in-place: Test passed Stream encryption test from R 23565.1.017-2018 [kuznyechik-ctr-acpkm] ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Test passed # Tests for kuznyechik-ctr-acpkm [R 23565.1.017-2018] Encryption test from R 23565.1.017-2018 [kuznyechik-ctr-acpkm] out-of-place: stream: Test passed Chunked encryption test from R 23565.1.017-2018 [kuznyechik-ctr-acpkm] out-of-place: Test passed Decryption test from R 23565.1.017-2018 [kuznyechik-ctr-acpkm] out-of-place: Test passed Encryption test from R 23565.1.017-2018 [kuznyechik-ctr-acpkm] in-place: stream: Test passed Chunked encryption test from R 23565.1.017-2018 [kuznyechik-ctr-acpkm] in-place: Test passed Decryption test from R 23565.1.017-2018 [kuznyechik-ctr-acpkm] in-place: Test passed # Tests for kuznyechik-ofb [GOST R 34.13-2015] Encryption test from GOST R 34.13-2015 [kuznyechik-ofb] out-of-place: stream: Test passed Chunked encryption test from GOST R 34.13-2015 [kuznyechik-ofb] out-of-place: Test passed Decryption test from GOST R 34.13-2015 [kuznyechik-ofb] out-of-place: Test passed Encryption test from GOST R 34.13-2015 [kuznyechik-ofb] in-place: stream: Test passed Chunked encryption test from GOST R 34.13-2015 [kuznyechik-ofb] in-place: Test passed Decryption test from GOST R 34.13-2015 [kuznyechik-ofb] in-place: Test passed Stream encryption test from GOST R 34.13-2015 [kuznyechik-ofb] ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Test passed # Tests for kuznyechik-cbc [GOST R 34.13-2015] Encryption test from GOST R 34.13-2015 [kuznyechik-cbc] out-of-place: Test passed Chunked encryption test from GOST R 34.13-2015 [kuznyechik-cbc] out-of-place: Test passed Decryption test from GOST R 34.13-2015 [kuznyechik-cbc] out-of-place: Test passed Encryption test from GOST R 34.13-2015 [kuznyechik-cbc] in-place: Test passed Chunked encryption test from GOST R 34.13-2015 [kuznyechik-cbc] in-place: Test passed Decryption test from GOST R 34.13-2015 [kuznyechik-cbc] in-place: Test passed # Tests for kuznyechik-cfb [GOST R 34.13-2015] Encryption test from GOST R 34.13-2015 [kuznyechik-cfb] out-of-place: stream: Test passed Chunked encryption test from GOST R 34.13-2015 [kuznyechik-cfb] out-of-place: Test passed Decryption test from GOST R 34.13-2015 [kuznyechik-cfb] out-of-place: Test passed Encryption test from GOST R 34.13-2015 [kuznyechik-cfb] in-place: stream: Test passed Chunked encryption test from GOST R 34.13-2015 [kuznyechik-cfb] in-place: Test passed Decryption test from GOST R 34.13-2015 [kuznyechik-cfb] in-place: Test passed # Tests for magma-ctr [GOST R 34.13-2015] Encryption test from GOST R 34.13-2015 [magma-ctr] out-of-place: stream: Test passed Chunked encryption test from GOST R 34.13-2015 [magma-ctr] out-of-place: Test passed Decryption test from GOST R 34.13-2015 [magma-ctr] out-of-place: Test passed Encryption test from GOST R 34.13-2015 [magma-ctr] in-place: stream: Test passed Chunked encryption test from GOST R 34.13-2015 [magma-ctr] in-place: Test passed Decryption test from GOST R 34.13-2015 [magma-ctr] in-place: Test passed # Tests for magma-cbc [GOST R 34.13-2015] Encryption test from GOST R 34.13-2015 [magma-cbc] out-of-place: Test passed Chunked encryption test from GOST R 34.13-2015 [magma-cbc] out-of-place: Test passed Decryption test from GOST R 34.13-2015 [magma-cbc] out-of-place: Test passed Encryption test from GOST R 34.13-2015 [magma-cbc] in-place: Test passed Chunked encryption test from GOST R 34.13-2015 [magma-cbc] in-place: Test passed Decryption test from GOST R 34.13-2015 [magma-cbc] in-place: Test passed Cipher gost89 is untested! Cipher gost89-cnt is untested! Cipher gost89-cnt-12 is untested! Cipher gost89-cbc is untested! Cipher magma-ctr-acpkm is untested! Cipher magma-ctr-acpkm-omac is untested! Cipher kuznyechik-ctr-acpkm-omac is untested! = All tests passed! Test time = 0.04 sec ---------------------------------------------------------- Test Passed. "ciphers-with-provider" end time: Jan 06 16:04 UTC "ciphers-with-provider" time elapsed: 00:00:00 ---------------------------------------------------------- 3/15 Testing: ciphers-with-engine 3/15 Test: ciphers-with-engine Command: "/var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1_build/bin/test_ciphers" Directory: /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1_build "ciphers-with-engine" start time: Jan 06 16:04 UTC Output: ---------------------------------------------------------- # Tests for kuznyechik-ecb [GOST R 34.13-2015] Encryption test from GOST R 34.13-2015 [kuznyechik-ecb] out-of-place: Test passed Chunked encryption test from GOST R 34.13-2015 [kuznyechik-ecb] out-of-place: Test passed Decryption test from GOST R 34.13-2015 [kuznyechik-ecb] out-of-place: Test passed Encryption test from GOST R 34.13-2015 [kuznyechik-ecb] in-place: Test passed Chunked encryption test from GOST R 34.13-2015 [kuznyechik-ecb] in-place: Test passed Decryption test from GOST R 34.13-2015 [kuznyechik-ecb] in-place: Test passed # Tests for kuznyechik-ctr [GOST R 34.13-2015] Encryption test from GOST R 34.13-2015 [kuznyechik-ctr] out-of-place: stream: Test passed Chunked encryption test from GOST R 34.13-2015 [kuznyechik-ctr] out-of-place: Test passed Decryption test from GOST R 34.13-2015 [kuznyechik-ctr] out-of-place: Test passed Encryption test from GOST R 34.13-2015 [kuznyechik-ctr] in-place: stream: Test passed Chunked encryption test from GOST R 34.13-2015 [kuznyechik-ctr] in-place: Test passed Decryption test from GOST R 34.13-2015 [kuznyechik-ctr] in-place: Test passed Stream encryption test from GOST R 34.13-2015 [kuznyechik-ctr] ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Test passed # Tests for kuznyechik-ctr-acpkm [GOST R 34.13-2015] Encryption test from GOST R 34.13-2015 [kuznyechik-ctr-acpkm] out-of-place: stream: Test passed Chunked encryption test from GOST R 34.13-2015 [kuznyechik-ctr-acpkm] out-of-place: Test passed Decryption test from GOST R 34.13-2015 [kuznyechik-ctr-acpkm] out-of-place: Test passed Encryption test from GOST R 34.13-2015 [kuznyechik-ctr-acpkm] in-place: stream: Test passed Chunked encryption test from GOST R 34.13-2015 [kuznyechik-ctr-acpkm] in-place: Test passed Decryption test from GOST R 34.13-2015 [kuznyechik-ctr-acpkm] in-place: Test passed Stream encryption test from GOST R 34.13-2015 [kuznyechik-ctr-acpkm] ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Test passed # Tests for kuznyechik-ctr-acpkm [R 23565.1.017-2018] Encryption test from R 23565.1.017-2018 [kuznyechik-ctr-acpkm] out-of-place: stream: Test passed Chunked encryption test from R 23565.1.017-2018 [kuznyechik-ctr-acpkm] out-of-place: Test passed Decryption test from R 23565.1.017-2018 [kuznyechik-ctr-acpkm] out-of-place: Test passed Encryption test from R 23565.1.017-2018 [kuznyechik-ctr-acpkm] in-place: stream: Test passed Chunked encryption test from R 23565.1.017-2018 [kuznyechik-ctr-acpkm] in-place: Test passed Decryption test from R 23565.1.017-2018 [kuznyechik-ctr-acpkm] in-place: Test passed Stream encryption test from R 23565.1.017-2018 [kuznyechik-ctr-acpkm] ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Test passed # Tests for kuznyechik-ctr-acpkm [R 23565.1.017-2018] Encryption test from R 23565.1.017-2018 [kuznyechik-ctr-acpkm] out-of-place: stream: Test passed Chunked encryption test from R 23565.1.017-2018 [kuznyechik-ctr-acpkm] out-of-place: Test passed Decryption test from R 23565.1.017-2018 [kuznyechik-ctr-acpkm] out-of-place: Test passed Encryption test from R 23565.1.017-2018 [kuznyechik-ctr-acpkm] in-place: stream: Test passed Chunked encryption test from R 23565.1.017-2018 [kuznyechik-ctr-acpkm] in-place: Test passed Decryption test from R 23565.1.017-2018 [kuznyechik-ctr-acpkm] in-place: Test passed # Tests for kuznyechik-ofb [GOST R 34.13-2015] Encryption test from GOST R 34.13-2015 [kuznyechik-ofb] out-of-place: stream: Test passed Chunked encryption test from GOST R 34.13-2015 [kuznyechik-ofb] out-of-place: Test passed Decryption test from GOST R 34.13-2015 [kuznyechik-ofb] out-of-place: Test passed Encryption test from GOST R 34.13-2015 [kuznyechik-ofb] in-place: stream: Test passed Chunked encryption test from GOST R 34.13-2015 [kuznyechik-ofb] in-place: Test passed Decryption test from GOST R 34.13-2015 [kuznyechik-ofb] in-place: Test passed Stream encryption test from GOST R 34.13-2015 [kuznyechik-ofb] ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Test passed # Tests for kuznyechik-cbc [GOST R 34.13-2015] Encryption test from GOST R 34.13-2015 [kuznyechik-cbc] out-of-place: Test passed Chunked encryption test from GOST R 34.13-2015 [kuznyechik-cbc] out-of-place: Test passed Decryption test from GOST R 34.13-2015 [kuznyechik-cbc] out-of-place: Test passed Encryption test from GOST R 34.13-2015 [kuznyechik-cbc] in-place: Test passed Chunked encryption test from GOST R 34.13-2015 [kuznyechik-cbc] in-place: Test passed Decryption test from GOST R 34.13-2015 [kuznyechik-cbc] in-place: Test passed # Tests for kuznyechik-cfb [GOST R 34.13-2015] Encryption test from GOST R 34.13-2015 [kuznyechik-cfb] out-of-place: stream: Test passed Chunked encryption test from GOST R 34.13-2015 [kuznyechik-cfb] out-of-place: Test passed Decryption test from GOST R 34.13-2015 [kuznyechik-cfb] out-of-place: Test passed Encryption test from GOST R 34.13-2015 [kuznyechik-cfb] in-place: stream: Test passed Chunked encryption test from GOST R 34.13-2015 [kuznyechik-cfb] in-place: Test passed Decryption test from GOST R 34.13-2015 [kuznyechik-cfb] in-place: Test passed # Tests for magma-ctr [GOST R 34.13-2015] Encryption test from GOST R 34.13-2015 [magma-ctr] out-of-place: stream: Test passed Chunked encryption test from GOST R 34.13-2015 [magma-ctr] out-of-place: Test passed Decryption test from GOST R 34.13-2015 [magma-ctr] out-of-place: Test passed Encryption test from GOST R 34.13-2015 [magma-ctr] in-place: stream: Test passed Chunked encryption test from GOST R 34.13-2015 [magma-ctr] in-place: Test passed Decryption test from GOST R 34.13-2015 [magma-ctr] in-place: Test passed # Tests for magma-cbc [GOST R 34.13-2015] Encryption test from GOST R 34.13-2015 [magma-cbc] out-of-place: Test passed Chunked encryption test from GOST R 34.13-2015 [magma-cbc] out-of-place: Test passed Decryption test from GOST R 34.13-2015 [magma-cbc] out-of-place: Test passed Encryption test from GOST R 34.13-2015 [magma-cbc] in-place: Test passed Chunked encryption test from GOST R 34.13-2015 [magma-cbc] in-place: Test passed Decryption test from GOST R 34.13-2015 [magma-cbc] in-place: Test passed = All tests passed! Test time = 0.05 sec ---------------------------------------------------------- Test Passed. "ciphers-with-engine" end time: Jan 06 16:04 UTC "ciphers-with-engine" time elapsed: 00:00:00 ---------------------------------------------------------- 2/15 Testing: digest-with-provider 2/15 Test: digest-with-provider Command: "/var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1_build/bin/test_digest" Directory: /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1_build "digest-with-provider" start time: Jan 06 16:04 UTC Output: ---------------------------------------------------------- Test md_gost12_512: M1 from RFC 6986 (10.1.1) and GOST R 34.11-2012 (А.1.1): [MD 64] success Test md_gost12_256: M1 from RFC 6986 (10.1.2) and GOST R 34.11-2012 (А.1.2): [MD 32] success Test md_gost12_512: M2 from RFC 6986 (10.2.1) and GOST R 34.11-2012 (А.2.1): [MD 0] success Test md_gost12_256: M2 from RFC 6986 (10.2.2) and GOST R 34.11-2012 (А.2.2): [MD 0] success Test kuznyechik-mac: P from GOST R 34.13-2015 (А.1.6): [MAC 16] [CMAC(kuznyechik-cbc)] success Test magma-mac: P from GOST R 34.13-2015 (А.2.6): [MAC 8] [CMAC(magma-cbc)] success Test kuznyechik-ctr-acpkm-omac: M from R 1323565.1.017-2018 (A.4.1): [MAC 16] success Test kuznyechik-ctr-acpkm-omac: M from R 1323565.1.017-2018 (A.4.2): [MAC 16] success Test md_gost12_512: HMAC_GOSTR3411_2012_512 from RFC 7836 (B) and R 50.1.113-2016 (A): [HMAC] [HMAC by EVP_MAC] success Test md_gost12_256: HMAC_GOSTR3411_2012_256 from RFC 7836 (B) and R 50.1.113-2016 (A): [HMAC] [HMAC by EVP_MAC] success Test md_gost12_512: Zero length string (M3): [MD 64] success Test md_gost12_256: Zero length string (M3): [MD 32] success Test md_gost12_512: 64 bytes of zero (M4): [MD 0] success Test md_gost12_256: 64 bytes of zero (M4): [MD 0] success Test md_gost12_512: 64 bytes of (M5): [MD 0] success Test md_gost12_256: 64 bytes of (M5): [MD 0] success Test md_gost12_512: (M6): [MD 0] success Test md_gost12_256: (M6): [MD 0] success Test md_gost12_512: (carry): [MD 0] success Test md_gost12_256: (carry): [MD 0] success Test md_gost12_512: 64 bytes of FF: [MD 0] success Test md_gost12_256: 64 bytes of FF: [MD 0] success Test md_gost94: 64 bytes of FF: [MD 0] success Test streebog256 synthetic test: success Test streebog512 synthetic test: success = All tests passed! Test time = 0.06 sec ---------------------------------------------------------- Test Passed. "digest-with-provider" end time: Jan 06 16:04 UTC "digest-with-provider" time elapsed: 00:00:00 ---------------------------------------------------------- 1/15 Testing: digest-with-engine 1/15 Test: digest-with-engine Command: "/var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1_build/bin/test_digest" Directory: /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1_build "digest-with-engine" start time: Jan 06 16:04 UTC Output: ---------------------------------------------------------- Test md_gost12_512: M1 from RFC 6986 (10.1.1) and GOST R 34.11-2012 (А.1.1): [MD 64] success Test md_gost12_256: M1 from RFC 6986 (10.1.2) and GOST R 34.11-2012 (А.1.2): [MD 32] success Test md_gost12_512: M2 from RFC 6986 (10.2.1) and GOST R 34.11-2012 (А.2.1): [MD 0] success Test md_gost12_256: M2 from RFC 6986 (10.2.2) and GOST R 34.11-2012 (А.2.2): [MD 0] success Test kuznyechik-mac: P from GOST R 34.13-2015 (А.1.6): [MD 16] [CMAC(kuznyechik-cbc)] success Test magma-mac: P from GOST R 34.13-2015 (А.2.6): [MD 8] [CMAC(magma-cbc)] success Test kuznyechik-ctr-acpkm-omac: M from R 1323565.1.017-2018 (A.4.1): [MD 16] success Test kuznyechik-ctr-acpkm-omac: M from R 1323565.1.017-2018 (A.4.2): [MD 16] success Test md_gost12_512: HMAC_GOSTR3411_2012_512 from RFC 7836 (B) and R 50.1.113-2016 (A): [HMAC] [HMAC by EVP_MAC] success Test md_gost12_256: HMAC_GOSTR3411_2012_256 from RFC 7836 (B) and R 50.1.113-2016 (A): [HMAC] [HMAC by EVP_MAC] success Test md_gost12_512: Zero length string (M3): [MD 64] success Test md_gost12_256: Zero length string (M3): [MD 32] success Test md_gost12_512: 64 bytes of zero (M4): [MD 0] success Test md_gost12_256: 64 bytes of zero (M4): [MD 0] success Test md_gost12_512: 64 bytes of (M5): [MD 0] success Test md_gost12_256: 64 bytes of (M5): [MD 0] success Test md_gost12_512: (M6): [MD 0] success Test md_gost12_256: (M6): [MD 0] success Test md_gost12_512: (carry): [MD 0] success Test md_gost12_256: (carry): [MD 0] success Test md_gost12_512: 64 bytes of FF: [MD 0] success Test md_gost12_256: 64 bytes of FF: [MD 0] success Test md_gost94: 64 bytes of FF: [MD 0] success Test streebog256 synthetic test: success Test streebog512 synthetic test: success Digest gost-mac is untested! Digest gost-mac-12 is untested! = All tests passed! Test time = 0.06 sec ---------------------------------------------------------- Test Passed. "digest-with-engine" end time: Jan 06 16:04 UTC "digest-with-engine" time elapsed: 00:00:00 ---------------------------------------------------------- 6/15 Testing: parameters-with-engine 6/15 Test: parameters-with-engine Command: "/var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1_build/bin/test_params" Directory: /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1_build "parameters-with-engine" start time: Jan 06 16:04 UTC Output: ---------------------------------------------------------- Test id-GostR3410-2001-CryptoPro-A-ParamSet (cp): EVP_PKEY_verify API correct EVP_Verify API correct EVP_DigestVerifyInit API correct Test id-GostR3410-2001-CryptoPro-B-ParamSet (cp): EVP_PKEY_verify API correct EVP_Verify API correct EVP_DigestVerifyInit API correct Test id-GostR3410-2001-CryptoPro-C-ParamSet (cp): EVP_PKEY_verify API correct EVP_Verify API correct EVP_DigestVerifyInit API correct Test id-tc26-gost-3410-2012-256-paramSetA (cp): EVP_PKEY_verify API correct EVP_Verify API correct EVP_DigestVerifyInit API correct Test id-tc26-gost-3410-2012-512-paramSetA (cp): EVP_PKEY_verify API correct EVP_Verify API correct EVP_DigestVerifyInit API correct Test id-tc26-gost-3410-2012-512-paramSetB (cp): EVP_PKEY_verify API correct EVP_Verify API correct EVP_DigestVerifyInit API correct Test id-tc26-gost-3410-2012-512-paramSetC (cp): EVP_PKEY_verify API correct EVP_Verify API correct EVP_DigestVerifyInit API correct Test short_cp_a_cer (it):  (algo gost2012_256) (curve id-GostR3410-2001-CryptoPro-A-ParamSet) d2i_X509_bio correct PEM_read_bio_X509 correct PEM_read_bio_X509_PUBKEY correct d2i_X509_PUBKEY_bio correct X509_verify API correct EVP_Verify API correct Test short_cp_b_cer (it):  (algo gost2012_256) (curve id-GostR3410-2001-CryptoPro-B-ParamSet) d2i_X509_bio correct PEM_read_bio_X509 correct PEM_read_bio_X509_PUBKEY correct d2i_X509_PUBKEY_bio correct X509_verify API correct EVP_Verify API correct Test short_cp_c_cer (it):  (algo gost2012_256) (curve id-GostR3410-2001-CryptoPro-C-ParamSet) d2i_X509_bio correct PEM_read_bio_X509 correct PEM_read_bio_X509_PUBKEY correct d2i_X509_PUBKEY_bio correct X509_verify API correct EVP_Verify API correct Test short_tc_a_cer (it):  (algo gost2012_256) (curve id-tc26-gost-3410-2012-256-paramSetA) d2i_X509_bio correct PEM_read_bio_X509 correct PEM_read_bio_X509_PUBKEY correct d2i_X509_PUBKEY_bio correct X509_verify API correct EVP_Verify API correct Test short_tc_b_cer (it):  (algo gost2012_256) (curve id-tc26-gost-3410-2012-256-paramSetB) d2i_X509_bio correct PEM_read_bio_X509 correct PEM_read_bio_X509_PUBKEY correct d2i_X509_PUBKEY_bio correct X509_verify API correct EVP_Verify API correct Test short_tc_c_cer (it):  (algo gost2012_256) (curve id-tc26-gost-3410-2012-256-paramSetC) d2i_X509_bio correct PEM_read_bio_X509 correct PEM_read_bio_X509_PUBKEY correct d2i_X509_PUBKEY_bio correct X509_verify API correct EVP_Verify API correct Test short_tc_d_cer (it):  (algo gost2012_256) (curve id-tc26-gost-3410-2012-256-paramSetD) d2i_X509_bio correct PEM_read_bio_X509 correct PEM_read_bio_X509_PUBKEY correct d2i_X509_PUBKEY_bio correct X509_verify API correct EVP_Verify API correct Test long_tc_a_cer (it):  (algo gost2012_512) (curve id-tc26-gost-3410-2012-512-paramSetA) d2i_X509_bio correct PEM_read_bio_X509 correct PEM_read_bio_X509_PUBKEY correct d2i_X509_PUBKEY_bio correct X509_verify API correct EVP_Verify API correct Test long_tc_b_cer (it):  (algo gost2012_512) (curve id-tc26-gost-3410-2012-512-paramSetB) d2i_X509_bio correct PEM_read_bio_X509 correct PEM_read_bio_X509_PUBKEY correct d2i_X509_PUBKEY_bio correct X509_verify API correct EVP_Verify API correct Test long_tc_c_cer (it):  (algo gost2012_512) (curve id-tc26-gost-3410-2012-512-paramSetC) d2i_X509_bio correct PEM_read_bio_X509 correct PEM_read_bio_X509_PUBKEY correct d2i_X509_PUBKEY_bio correct X509_verify API correct EVP_Verify API correct = All tests passed! Test time = 0.03 sec ---------------------------------------------------------- Test Passed. "parameters-with-engine" end time: Jan 06 16:04 UTC "parameters-with-engine" time elapsed: 00:00:00 ---------------------------------------------------------- 8/15 Testing: sign/verify-with-engine 8/15 Test: sign/verify-with-engine Command: "/var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1_build/bin/test_sign" Directory: /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1_build "sign/verify-with-engine" start time: Jan 06 16:04 UTC Output: ---------------------------------------------------------- Test NID_id_GostR3410_2001_CryptoPro_A_ParamSet: EVP_PKEY_keygen: success PEM_read_bio_PrivateKey:success d2i_PrivateKey_bio: success d2i_PrivateKey_ex_bio: success OSSL_STORE_attach: 40977FF4367F0000:error:1E08010C:DECODER routines:OSSL_DECODER_from_bio:unsupported:crypto/encode_decode/decoder_lib.c:101:No supported data to decode. Input type: DER, Input structure: type-specific 40977FF4367F0000:error:1E08010C:DECODER routines:OSSL_DECODER_from_bio:unsupported:crypto/encode_decode/decoder_lib.c:101:No supported data to decode. Input type: DER, Input structure: PrivateKeyInfo 40977FF4367F0000:error:1E08010C:DECODER routines:OSSL_DECODER_from_bio:unsupported:crypto/encode_decode/decoder_lib.c:101:No supported data to decode. Input type: DER, Input structure: type-specific 40977FF4367F0000:error:1E08010C:DECODER routines:OSSL_DECODER_from_bio:unsupported:crypto/encode_decode/decoder_lib.c:101:No supported data to decode. Input type: DER, Input structure: PrivateKeyInfo success d2i_PrivateKey: success EVP_PKEY_*_str: success EVP_PKEY_id (979): match curve_name (840): match EVP_PKEY_cmp_parameters:success EVP_PKEY_cmp: differ (good) EVP_PKEY_sign: success Non-determinism: success EVP_PKEY_verify: success False positive test: success Test NID_id_GostR3410_2001_CryptoPro_B_ParamSet: EVP_PKEY_keygen: success PEM_read_bio_PrivateKey:success d2i_PrivateKey_bio: success d2i_PrivateKey_ex_bio: success OSSL_STORE_attach: 40977FF4367F0000:error:4000007F:lib(128)::signature mismatch:/var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/gost_ec_sign.c:430: 40977FF4367F0000:error:1E08010C:DECODER routines:OSSL_DECODER_from_bio:unsupported:crypto/encode_decode/decoder_lib.c:101:No supported data to decode. Input type: DER, Input structure: type-specific 40977FF4367F0000:error:1E08010C:DECODER routines:OSSL_DECODER_from_bio:unsupported:crypto/encode_decode/decoder_lib.c:101:No supported data to decode. Input type: DER, Input structure: PrivateKeyInfo 40977FF4367F0000:error:1E08010C:DECODER routines:OSSL_DECODER_from_bio:unsupported:crypto/encode_decode/decoder_lib.c:101:No supported data to decode. Input type: DER, Input structure: type-specific 40977FF4367F0000:error:1E08010C:DECODER routines:OSSL_DECODER_from_bio:unsupported:crypto/encode_decode/decoder_lib.c:101:No supported data to decode. Input type: DER, Input structure: PrivateKeyInfo success d2i_PrivateKey: success EVP_PKEY_*_str: success EVP_PKEY_id (979): match curve_name (841): match EVP_PKEY_cmp_parameters:success EVP_PKEY_cmp: differ (good) EVP_PKEY_sign: success Non-determinism: success EVP_PKEY_verify: success False positive test: success Test NID_id_GostR3410_2001_CryptoPro_C_ParamSet: EVP_PKEY_keygen: success PEM_read_bio_PrivateKey:success d2i_PrivateKey_bio: success d2i_PrivateKey_ex_bio: success OSSL_STORE_attach: 40977FF4367F0000:error:4000007F:lib(128)::signature mismatch:/var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/gost_ec_sign.c:430: 40977FF4367F0000:error:1E08010C:DECODER routines:OSSL_DECODER_from_bio:unsupported:crypto/encode_decode/decoder_lib.c:101:No supported data to decode. Input type: DER, Input structure: type-specific 40977FF4367F0000:error:1E08010C:DECODER routines:OSSL_DECODER_from_bio:unsupported:crypto/encode_decode/decoder_lib.c:101:No supported data to decode. Input type: DER, Input structure: PrivateKeyInfo 40977FF4367F0000:error:1E08010C:DECODER routines:OSSL_DECODER_from_bio:unsupported:crypto/encode_decode/decoder_lib.c:101:No supported data to decode. Input type: DER, Input structure: type-specific 40977FF4367F0000:error:1E08010C:DECODER routines:OSSL_DECODER_from_bio:unsupported:crypto/encode_decode/decoder_lib.c:101:No supported data to decode. Input type: DER, Input structure: PrivateKeyInfo success d2i_PrivateKey: success EVP_PKEY_*_str: success EVP_PKEY_id (979): match curve_name (842): match EVP_PKEY_cmp_parameters:success EVP_PKEY_cmp: differ (good) EVP_PKEY_sign: success Non-determinism: success EVP_PKEY_verify: success False positive test: success Test NID_id_tc26_gost_3410_2012_256_paramSetA: EVP_PKEY_keygen: success PEM_read_bio_PrivateKey:success d2i_PrivateKey_bio: success d2i_PrivateKey_ex_bio: success OSSL_STORE_attach: 40977FF4367F0000:error:4000007F:lib(128)::signature mismatch:/var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/gost_ec_sign.c:430: 40977FF4367F0000:error:1E08010C:DECODER routines:OSSL_DECODER_from_bio:unsupported:crypto/encode_decode/decoder_lib.c:101:No supported data to decode. Input type: DER, Input structure: type-specific 40977FF4367F0000:error:1E08010C:DECODER routines:OSSL_DECODER_from_bio:unsupported:crypto/encode_decode/decoder_lib.c:101:No supported data to decode. Input type: DER, Input structure: PrivateKeyInfo 40977FF4367F0000:error:1E08010C:DECODER routines:OSSL_DECODER_from_bio:unsupported:crypto/encode_decode/decoder_lib.c:101:No supported data to decode. Input type: DER, Input structure: type-specific 40977FF4367F0000:error:1E08010C:DECODER routines:OSSL_DECODER_from_bio:unsupported:crypto/encode_decode/decoder_lib.c:101:No supported data to decode. Input type: DER, Input structure: PrivateKeyInfo success d2i_PrivateKey: success EVP_PKEY_*_str: success EVP_PKEY_id (979): match curve_name (1148): match EVP_PKEY_cmp_parameters:success EVP_PKEY_cmp: differ (good) EVP_PKEY_sign: success Non-determinism: success EVP_PKEY_verify: success False positive test: success Test NID_id_tc26_gost_3410_2012_256_paramSetB: EVP_PKEY_keygen: success PEM_read_bio_PrivateKey:success d2i_PrivateKey_bio: success d2i_PrivateKey_ex_bio: success OSSL_STORE_attach: 40977FF4367F0000:error:4000007F:lib(128)::signature mismatch:/var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/gost_ec_sign.c:430: 40977FF4367F0000:error:1E08010C:DECODER routines:OSSL_DECODER_from_bio:unsupported:crypto/encode_decode/decoder_lib.c:101:No supported data to decode. Input type: DER, Input structure: type-specific 40977FF4367F0000:error:1E08010C:DECODER routines:OSSL_DECODER_from_bio:unsupported:crypto/encode_decode/decoder_lib.c:101:No supported data to decode. Input type: DER, Input structure: PrivateKeyInfo 40977FF4367F0000:error:1E08010C:DECODER routines:OSSL_DECODER_from_bio:unsupported:crypto/encode_decode/decoder_lib.c:101:No supported data to decode. Input type: DER, Input structure: type-specific 40977FF4367F0000:error:1E08010C:DECODER routines:OSSL_DECODER_from_bio:unsupported:crypto/encode_decode/decoder_lib.c:101:No supported data to decode. Input type: DER, Input structure: PrivateKeyInfo success d2i_PrivateKey: success EVP_PKEY_*_str: success EVP_PKEY_id (979): match curve_name (1184): match EVP_PKEY_cmp_parameters:success EVP_PKEY_cmp: differ (good) EVP_PKEY_sign: success Non-determinism: success EVP_PKEY_verify: success False positive test: success Test NID_id_tc26_gost_3410_2012_256_paramSetC: EVP_PKEY_keygen: success PEM_read_bio_PrivateKey:success d2i_PrivateKey_bio: success d2i_PrivateKey_ex_bio: success OSSL_STORE_attach: 40977FF4367F0000:error:4000007F:lib(128)::signature mismatch:/var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/gost_ec_sign.c:430: 40977FF4367F0000:error:1E08010C:DECODER routines:OSSL_DECODER_from_bio:unsupported:crypto/encode_decode/decoder_lib.c:101:No supported data to decode. Input type: DER, Input structure: type-specific 40977FF4367F0000:error:1E08010C:DECODER routines:OSSL_DECODER_from_bio:unsupported:crypto/encode_decode/decoder_lib.c:101:No supported data to decode. Input type: DER, Input structure: PrivateKeyInfo 40977FF4367F0000:error:1E08010C:DECODER routines:OSSL_DECODER_from_bio:unsupported:crypto/encode_decode/decoder_lib.c:101:No supported data to decode. Input type: DER, Input structure: type-specific 40977FF4367F0000:error:1E08010C:DECODER routines:OSSL_DECODER_from_bio:unsupported:crypto/encode_decode/decoder_lib.c:101:No supported data to decode. Input type: DER, Input structure: PrivateKeyInfo success d2i_PrivateKey: success EVP_PKEY_*_str: success EVP_PKEY_id (979): match curve_name (1185): match EVP_PKEY_cmp_parameters:success EVP_PKEY_cmp: differ (good) EVP_PKEY_sign: success Non-determinism: success EVP_PKEY_verify: success False positive test: success Test NID_id_tc26_gost_3410_2012_256_paramSetD: EVP_PKEY_keygen: success PEM_read_bio_PrivateKey:success d2i_PrivateKey_bio: success d2i_PrivateKey_ex_bio: success OSSL_STORE_attach: 40977FF4367F0000:error:4000007F:lib(128)::signature mismatch:/var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/gost_ec_sign.c:430: 40977FF4367F0000:error:1E08010C:DECODER routines:OSSL_DECODER_from_bio:unsupported:crypto/encode_decode/decoder_lib.c:101:No supported data to decode. Input type: DER, Input structure: type-specific 40977FF4367F0000:error:1E08010C:DECODER routines:OSSL_DECODER_from_bio:unsupported:crypto/encode_decode/decoder_lib.c:101:No supported data to decode. Input type: DER, Input structure: PrivateKeyInfo 40977FF4367F0000:error:1E08010C:DECODER routines:OSSL_DECODER_from_bio:unsupported:crypto/encode_decode/decoder_lib.c:101:No supported data to decode. Input type: DER, Input structure: type-specific 40977FF4367F0000:error:1E08010C:DECODER routines:OSSL_DECODER_from_bio:unsupported:crypto/encode_decode/decoder_lib.c:101:No supported data to decode. Input type: DER, Input structure: PrivateKeyInfo success d2i_PrivateKey: success EVP_PKEY_*_str: success EVP_PKEY_id (979): match curve_name (1186): match EVP_PKEY_cmp_parameters:success EVP_PKEY_cmp: differ (good) EVP_PKEY_sign: success Non-determinism: success EVP_PKEY_verify: success False positive test: success Test NID_id_tc26_gost_3410_2012_512_paramSetA: EVP_PKEY_keygen: success PEM_read_bio_PrivateKey:success d2i_PrivateKey_bio: success d2i_PrivateKey_ex_bio: success OSSL_STORE_attach: 40977FF4367F0000:error:4000007F:lib(128)::signature mismatch:/var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/gost_ec_sign.c:430: 40977FF4367F0000:error:1E08010C:DECODER routines:OSSL_DECODER_from_bio:unsupported:crypto/encode_decode/decoder_lib.c:101:No supported data to decode. Input type: DER, Input structure: type-specific 40977FF4367F0000:error:1E08010C:DECODER routines:OSSL_DECODER_from_bio:unsupported:crypto/encode_decode/decoder_lib.c:101:No supported data to decode. Input type: DER, Input structure: PrivateKeyInfo 40977FF4367F0000:error:1E08010C:DECODER routines:OSSL_DECODER_from_bio:unsupported:crypto/encode_decode/decoder_lib.c:101:No supported data to decode. Input type: DER, Input structure: type-specific 40977FF4367F0000:error:1E08010C:DECODER routines:OSSL_DECODER_from_bio:unsupported:crypto/encode_decode/decoder_lib.c:101:No supported data to decode. Input type: DER, Input structure: PrivateKeyInfo success d2i_PrivateKey: success EVP_PKEY_*_str: success EVP_PKEY_id (980): match curve_name (998): match EVP_PKEY_cmp_parameters:success EVP_PKEY_cmp: differ (good) EVP_PKEY_sign: success Non-determinism: success EVP_PKEY_verify: success False positive test: success Test NID_id_tc26_gost_3410_2012_512_paramSetB: EVP_PKEY_keygen: success PEM_read_bio_PrivateKey:success d2i_PrivateKey_bio: success d2i_PrivateKey_ex_bio: success OSSL_STORE_attach: 40977FF4367F0000:error:4000007F:lib(128)::signature mismatch:/var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/gost_ec_sign.c:430: 40977FF4367F0000:error:1E08010C:DECODER routines:OSSL_DECODER_from_bio:unsupported:crypto/encode_decode/decoder_lib.c:101:No supported data to decode. Input type: DER, Input structure: type-specific 40977FF4367F0000:error:1E08010C:DECODER routines:OSSL_DECODER_from_bio:unsupported:crypto/encode_decode/decoder_lib.c:101:No supported data to decode. Input type: DER, Input structure: PrivateKeyInfo 40977FF4367F0000:error:1E08010C:DECODER routines:OSSL_DECODER_from_bio:unsupported:crypto/encode_decode/decoder_lib.c:101:No supported data to decode. Input type: DER, Input structure: type-specific 40977FF4367F0000:error:1E08010C:DECODER routines:OSSL_DECODER_from_bio:unsupported:crypto/encode_decode/decoder_lib.c:101:No supported data to decode. Input type: DER, Input structure: PrivateKeyInfo success d2i_PrivateKey: success EVP_PKEY_*_str: success EVP_PKEY_id (980): match curve_name (999): match EVP_PKEY_cmp_parameters:success EVP_PKEY_cmp: differ (good) EVP_PKEY_sign: success Non-determinism: success EVP_PKEY_verify: success False positive test: success Test NID_id_tc26_gost_3410_2012_512_paramSetC: EVP_PKEY_keygen: success PEM_read_bio_PrivateKey:success d2i_PrivateKey_bio: success d2i_PrivateKey_ex_bio: success OSSL_STORE_attach: 40977FF4367F0000:error:4000007F:lib(128)::signature mismatch:/var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/gost_ec_sign.c:430: 40977FF4367F0000:error:1E08010C:DECODER routines:OSSL_DECODER_from_bio:unsupported:crypto/encode_decode/decoder_lib.c:101:No supported data to decode. Input type: DER, Input structure: type-specific 40977FF4367F0000:error:1E08010C:DECODER routines:OSSL_DECODER_from_bio:unsupported:crypto/encode_decode/decoder_lib.c:101:No supported data to decode. Input type: DER, Input structure: PrivateKeyInfo 40977FF4367F0000:error:1E08010C:DECODER routines:OSSL_DECODER_from_bio:unsupported:crypto/encode_decode/decoder_lib.c:101:No supported data to decode. Input type: DER, Input structure: type-specific 40977FF4367F0000:error:1E08010C:DECODER routines:OSSL_DECODER_from_bio:unsupported:crypto/encode_decode/decoder_lib.c:101:No supported data to decode. Input type: DER, Input structure: PrivateKeyInfo success d2i_PrivateKey: success EVP_PKEY_*_str: success EVP_PKEY_id (980): match curve_name (1149): match EVP_PKEY_cmp_parameters:success EVP_PKEY_cmp: differ (good) EVP_PKEY_sign: success Non-determinism: success EVP_PKEY_verify: success False positive test: success = All tests passed! Test time = 0.05 sec ---------------------------------------------------------- Test Passed. "sign/verify-with-engine" end time: Jan 06 16:04 UTC "sign/verify-with-engine" time elapsed: 00:00:00 ---------------------------------------------------------- 5/15 Testing: curves 5/15 Test: curves Command: "/var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1_build/bin/test_curves" Directory: /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1_build "curves" start time: Jan 06 16:04 UTC Output: ---------------------------------------------------------- Test curve NID 839: id-GostR3410-2001-TestParamSet p = 8000000000000000000000000000000000000000000000000000000000000431 a = 7 b = 5FBFF498AA938CE739B8E022FBAFEF40563F6E6A3472FC2A514C0CE9DAE23B7E x = 2 y = 8E2A8A0E65147D4BD6316030E16D19C85C97F0A9CA267122B96ABBCEA7E8FC8 q = 8000000000000000000000000000000150FE8A1892976154C59CFC193ACCF5B3  Test passed Test curve NID 840: id-GostR3410-2001-CryptoPro-A-ParamSet p = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD97 a = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD94 b = A6 x = 1 y = 8D91E471E0989CDA27DF505A453F2B7635294F2DDF23E3B122ACC99C9E9F1E14 q = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF6C611070995AD10045841B09B761B893  Test passed Test curve NID 841: id-GostR3410-2001-CryptoPro-B-ParamSet p = 8000000000000000000000000000000000000000000000000000000000000C99 a = 8000000000000000000000000000000000000000000000000000000000000C96 b = 3E1AF419A269A5F866A7D3C25C3DF80AE979259373FF2B182F49D4CE7E1BBC8B x = 1 y = 3FA8124359F96680B83D1C3EB2C070E5C545C9858D03ECFB744BF8D717717EFC q = 800000000000000000000000000000015F700CFFF1A624E5E497161BCC8A198F  Test passed Test curve NID 842: id-GostR3410-2001-CryptoPro-C-ParamSet p = 9B9F605F5A858107AB1EC85E6B41C8AACF846E86789051D37998F7B9022D759B a = 9B9F605F5A858107AB1EC85E6B41C8AACF846E86789051D37998F7B9022D7598 b = 805A x = 0 y = 41ECE55743711A8C3CBF3783CD08C0EE4D4DC440D4641A8F366E550DFDB3BB67 q = 9B9F605F5A858107AB1EC85E6B41C8AA582CA3511EDDFB74F02F3A6598980BB9  Test passed Test curve NID 843: id-GostR3410-2001-CryptoPro-XchA-ParamSet p = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD97 a = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD94 b = A6 x = 1 y = 8D91E471E0989CDA27DF505A453F2B7635294F2DDF23E3B122ACC99C9E9F1E14 q = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF6C611070995AD10045841B09B761B893  Test passed Test curve NID 844: id-GostR3410-2001-CryptoPro-XchB-ParamSet p = 9B9F605F5A858107AB1EC85E6B41C8AACF846E86789051D37998F7B9022D759B a = 9B9F605F5A858107AB1EC85E6B41C8AACF846E86789051D37998F7B9022D7598 b = 805A x = 0 y = 41ECE55743711A8C3CBF3783CD08C0EE4D4DC440D4641A8F366E550DFDB3BB67 q = 9B9F605F5A858107AB1EC85E6B41C8AA582CA3511EDDFB74F02F3A6598980BB9  Test passed Test curve NID 998: id-tc26-gost-3410-2012-512-paramSetA p = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFDC7 a = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFDC4 b = E8C2505DEDFC86DDC1BD0B2B6667F1DA34B82574761CB0E879BD081CFD0B6265EE3CB090F30D27614CB4574010DA90DD862EF9D4EBEE4761503190785A71C760 x = 3 y = 7503CFE87A836AE3A61B8816E25450E6CE5E1C93ACF1ABC1778064FDCBEFA921DF1626BE4FD036E93D75E6A50E3A41E98028FE5FC235F5B889A589CB5215F2A4 q = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF27E69532F48D89116FF22B8D4E0560609B4B38ABFAD2B85DCACDB1411F10B275  Test passed Test curve NID 999: id-tc26-gost-3410-2012-512-paramSetB p = 8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006F a = 8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006C b = 687D1B459DC841457E3E06CF6F5E2517B97C7D614AF138BCBF85DC806C4B289F3E965D2DB1416D217F8B276FAD1AB69C50F78BEE1FA3106EFB8CCBC7C5140116 x = 2 y = 1A8F7EDA389B094C2C071E3647A8940F3C123B697578C213BE6DD9E6C8EC7335DCB228FD1EDF4A39152CBCAAF8C0398828041055F94CEEEC7E21340780FE41BD q = 800000000000000000000000000000000000000000000000000000000000000149A1EC142565A545ACFDB77BD9D40CFA8B996712101BEA0EC6346C54374F25BD  Test passed Test curve NID 1149: id-tc26-gost-3410-2012-512-paramSetC p = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFDC7 a = DC9203E514A721875485A529D2C722FB187BC8980EB866644DE41C68E143064546E861C0E2C9EDD92ADE71F46FCF50FF2AD97F951FDA9F2A2EB6546F39689BD3 b = B4C4EE28CEBC6C2C8AC12952CF37F16AC7EFB6A9F69F4B57FFDA2E4F0DE5ADE038CBC2FFF719D2C18DE0284B8BFEF3B52B8CC7A5F5BF0A3C8D2319A5312557E1 x = E2E31EDFC23DE7BDEBE241CE593EF5DE2295B7A9CBAEF021D385F7074CEA043AA27272A7AE602BF2A7B9033DB9ED3610C6FB85487EAE97AAC5BC7928C1950148 y = F5CE40D95B5EB899ABBCCFF5911CB8577939804D6527378B8C108C3D2090FF9BE18E2D33E3021ED2EF32D85822423B6304F726AA854BAE07D0396E9A9ADDC40F q = 3FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC98CDBA46506AB004C33A9FF5147502CC8EDA9E7A769A12694623CEF47F023ED  Test passed Test curve NID 1148: id-tc26-gost-3410-2012-256-paramSetA p = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD97 a = C2173F1513981673AF4892C23035A27CE25E2013BF95AA33B22C656F277E7335 b = 295F9BAE7428ED9CCC20E7C359A9D41A22FCCD9108E17BF7BA9337A6F8AE9513 x = 91E38443A5E82C0D880923425712B2BB658B9196932E02C78B2582FE742DAA28 y = 32879423AB1A0375895786C4BB46E9565FDE0B5344766740AF268ADB32322E5C q = 400000000000000000000000000000000FD8CDDFC87B6635C115AF556C360C67  Test passed Test curve NID 1184: id-tc26-gost-3410-2012-256-paramSetB p = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD97 a = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD94 b = A6 x = 1 y = 8D91E471E0989CDA27DF505A453F2B7635294F2DDF23E3B122ACC99C9E9F1E14 q = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF6C611070995AD10045841B09B761B893  Test passed Test curve NID 1185: id-tc26-gost-3410-2012-256-paramSetC p = 8000000000000000000000000000000000000000000000000000000000000C99 a = 8000000000000000000000000000000000000000000000000000000000000C96 b = 3E1AF419A269A5F866A7D3C25C3DF80AE979259373FF2B182F49D4CE7E1BBC8B x = 1 y = 3FA8124359F96680B83D1C3EB2C070E5C545C9858D03ECFB744BF8D717717EFC q = 800000000000000000000000000000015F700CFFF1A624E5E497161BCC8A198F  Test passed Test curve NID 1186: id-tc26-gost-3410-2012-256-paramSetD p = 9B9F605F5A858107AB1EC85E6B41C8AACF846E86789051D37998F7B9022D759B a = 9B9F605F5A858107AB1EC85E6B41C8AACF846E86789051D37998F7B9022D7598 b = 805A x = 0 y = 41ECE55743711A8C3CBF3783CD08C0EE4D4DC440D4641A8F366E550DFDB3BB67 q = 9B9F605F5A858107AB1EC85E6B41C8AA582CA3511EDDFB74F02F3A6598980BB9  Test passed = All tests passed! Test time = 0.06 sec ---------------------------------------------------------- Test Passed. "curves" end time: Jan 06 16:04 UTC "curves" time elapsed: 00:00:00 ---------------------------------------------------------- 10/15 Testing: context-with-engine 10/15 Test: context-with-engine Command: "/var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1_build/bin/test_context" Directory: /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1_build "context-with-engine" start time: Jan 06 16:04 UTC Output: ---------------------------------------------------------- Encryption test for gost89 cloned contexts:  Test passed base context:  Test passed Decryption test for gost89 cloned contexts:  Test passed base context:  Test passed Encryption test for gost89-cnt cloned contexts:  Test passed base context:  Test passed Decryption test for gost89-cnt cloned contexts:  Test passed base context:  Test passed Encryption test for gost89-cnt-12 cloned contexts:  Test passed base context:  Test passed Decryption test for gost89-cnt-12 cloned contexts:  Test passed base context:  Test passed Encryption test for gost89-cbc cloned contexts:  Test passed base context:  Test passed Decryption test for gost89-cbc cloned contexts:  Test passed base context:  Test passed Encryption test for kuznyechik-ecb cloned contexts:  Test passed base context:  Test passed Decryption test for kuznyechik-ecb cloned contexts:  Test passed base context:  Test passed Encryption test for kuznyechik-cbc cloned contexts:  Test passed base context:  Test passed Decryption test for kuznyechik-cbc cloned contexts:  Test passed base context:  Test passed Encryption test for kuznyechik-cfb cloned contexts:  Test passed base context:  Test passed Decryption test for kuznyechik-cfb cloned contexts:  Test passed base context:  Test passed Encryption test for kuznyechik-ofb cloned contexts:  Test passed base context:  Test passed Decryption test for kuznyechik-ofb cloned contexts:  Test passed base context:  Test passed Encryption test for kuznyechik-ctr cloned contexts:  Test passed base context:  Test passed Decryption test for kuznyechik-ctr cloned contexts:  Test passed base context:  Test passed Encryption test for magma-cbc cloned contexts:  Test passed base context:  Test passed Decryption test for magma-cbc cloned contexts:  Test passed base context:  Test passed Encryption test for magma-ctr cloned contexts:  Test passed base context:  Test passed Decryption test for magma-ctr cloned contexts:  Test passed base context:  Test passed Encryption test for kuznyechik-ctr-acpkm cloned contexts:  Test passed base context:  Test passed Decryption test for kuznyechik-ctr-acpkm cloned contexts:  Test passed base context:  Test passed Digest test for md_gost94 cloned contexts:  Test passed base context:  Test passed Mac via EVP_MD test for gost-mac cloned contexts:  Test passed base context:  Test passed Digest test for md_gost12_256 cloned contexts:  Test passed base context:  Test passed Digest test for md_gost12_512 cloned contexts:  Test passed base context:  Test passed Mac via EVP_MD test for gost-mac-12 cloned contexts:  Test passed base context:  Test passed Mac via EVP_MD test for magma-mac cloned contexts:  Test passed base context:  Test passed Mac via EVP_MD test for kuznyechik-mac cloned contexts:  Test passed base context:  Test passed Mac via EVP_MD test for kuznyechik-ctr-acpkm-omac cloned contexts:  Test passed base context:  Test passed = All tests passed! Test time = 0.01 sec ---------------------------------------------------------- Test Passed. "context-with-engine" end time: Jan 06 16:04 UTC "context-with-engine" time elapsed: 00:00:00 ---------------------------------------------------------- 12/15 Testing: keyexpimp 12/15 Test: keyexpimp Command: "/var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1_build/bin/test_keyexpimp" Directory: /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1_build "keyexpimp" start time: Jan 06 16:04 UTC Output: ---------------------------------------------------------- Magma key export 0000 cf d5 a1 2d 5b 81 b6 e1 e9 9c 91 6d 07 90 0c 6a 0010 c1 27 03 fb 3a bd ed 55 56 7b f3 74 2c 89 9c 75 0020 5d af e7 b4 2e 3a 8b d9 Magma key import 0000 88 99 aa bb cc dd ee ff 00 11 22 33 44 55 66 77 0010 fe dc ba 98 76 54 32 10 01 23 45 67 89 ab cd ef KDF TREE 0000 22 b6 83 78 45 c6 be f6 5e a7 16 72 b2 65 83 10 0010 86 d3 c7 6a eb e6 da e9 1c ad 51 d8 3f 79 d1 6b 0020 07 4c 93 30 59 9d 7f 8d 71 2f ca 54 39 2f 4d dd 0030 e9 37 51 20 6b 35 84 c8 f4 3f 9e 6d c5 15 31 f9 Gost TLSTREE - grasshopper 0000 50 76 42 d9 58 c5 20 c6 d7 ee f5 ca 8a 53 16 d4 0010 f3 4b 85 5d 2d d4 bc bf 4e 5b f0 ff 64 1a 19 ff Test time = 0.00 sec ---------------------------------------------------------- Test Passed. "keyexpimp" end time: Jan 06 16:04 UTC "keyexpimp" time elapsed: 00:00:00 ---------------------------------------------------------- 11/15 Testing: context-with-provider 11/15 Test: context-with-provider Command: "/var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1_build/bin/test_context" Directory: /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1_build "context-with-provider" start time: Jan 06 16:04 UTC Output: ---------------------------------------------------------- Encryption test for gost89 cloned contexts:  Test passed base context:  Test passed Decryption test for gost89 cloned contexts:  Test passed base context:  Test passed Encryption test for gost89-cnt cloned contexts:  Test passed base context:  Test passed Decryption test for gost89-cnt cloned contexts:  Test passed base context:  Test passed Encryption test for gost89-cnt-12 cloned contexts:  Test passed base context:  Test passed Decryption test for gost89-cnt-12 cloned contexts:  Test passed base context:  Test passed Encryption test for gost89-cbc cloned contexts:  Test passed base context:  Test passed Decryption test for gost89-cbc cloned contexts:  Test passed base context:  Test passed Encryption test for kuznyechik-ecb cloned contexts:  Test passed base context:  Test passed Decryption test for kuznyechik-ecb cloned contexts:  Test passed base context:  Test passed Encryption test for kuznyechik-cbc cloned contexts:  Test passed base context:  Test passed Decryption test for kuznyechik-cbc cloned contexts:  Test passed base context:  Test passed Encryption test for kuznyechik-cfb cloned contexts:  Test passed base context:  Test passed Decryption test for kuznyechik-cfb cloned contexts:  Test passed base context:  Test passed Encryption test for kuznyechik-ofb cloned contexts:  Test passed base context:  Test passed Decryption test for kuznyechik-ofb cloned contexts:  Test passed base context:  Test passed Encryption test for kuznyechik-ctr cloned contexts:  Test passed base context:  Test passed Decryption test for kuznyechik-ctr cloned contexts:  Test passed base context:  Test passed Encryption test for magma-cbc cloned contexts:  Test passed base context:  Test passed Decryption test for magma-cbc cloned contexts:  Test passed base context:  Test passed Encryption test for magma-ctr cloned contexts:  Test passed base context:  Test passed Decryption test for magma-ctr cloned contexts:  Test passed base context:  Test passed Encryption test for kuznyechik-ctr-acpkm cloned contexts:  Test passed base context:  Test passed Decryption test for kuznyechik-ctr-acpkm cloned contexts:  Test passed base context:  Test passed Digest test for md_gost94 cloned contexts:  Test passed base context:  Test passed Mac test for gost-mac cloned contexts:  Test passed Digest test for md_gost12_256 cloned contexts:  Test passed base context:  Test passed Digest test for md_gost12_512 cloned contexts:  Test passed base context:  Test passed Mac test for gost-mac-12 cloned contexts:  Test passed Mac test for magma-mac cloned contexts:  Test passed Mac test for kuznyechik-mac cloned contexts:  Test passed Mac test for kuznyechik-ctr-acpkm-omac cloned contexts:  Test passed = All tests passed! Test time = 0.01 sec ---------------------------------------------------------- Test Passed. "context-with-provider" end time: Jan 06 16:04 UTC "context-with-provider" time elapsed: 00:00:00 ---------------------------------------------------------- 7/15 Testing: derive-with-engine 7/15 Test: derive-with-engine Command: "/var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1_build/bin/test_derive" Directory: /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1_build "derive-with-engine" start time: Jan 06 16:04 UTC Output: ---------------------------------------------------------- Test VKO_GOSTR3410_2012_256 from R 50.1.113-2016 A.9 (p.18) for A Public key a4edb0aa matches private key d9ec90c9 KEK match etalon Test VKO_GOSTR3410_2012_256 from R 50.1.113-2016 A.9 (p.18) for B Public key 83e12f19 matches private key f759c848 KEK match etalon Test VKO_GOSTR3410_2012_512 from R 50.1.113-2016 A.10 (p.19) for A Public key a4edb0aa matches private key d9ec90c9 KEK match etalon Test VKO_GOSTR3410_2012_512 from R 50.1.113-2016 A.10 (p.19) for B Public key 83e12f19 matches private key f759c848 KEK match etalon Test VKO256 for gost2001 A - KEK match Test VKO256 for gost2001 B - KEK match Test VKO256 for gost2001 C - KEK match Test VKO256 for gost2012_256 A - KEK match Test VKO256 for gost2012_256 B - KEK match Test VKO256 for gost2012_256 C - KEK match Test VKO256 for gost2012_256 TCA - KEK match Test VKO256 for gost2012_512 A - KEK match Test VKO256 for gost2012_512 B - KEK match Test VKO256 for gost2012_512 C - KEK match Test VKO512 for gost2001 A - KEK match Test VKO512 for gost2001 B - KEK match Test VKO512 for gost2001 C - KEK match Test VKO512 for gost2012_256 A - KEK match Test VKO512 for gost2012_256 B - KEK match Test VKO512 for gost2012_256 C - KEK match Test VKO512 for gost2012_256 TCA - KEK match Test VKO512 for gost2012_512 A - KEK match Test VKO512 for gost2012_512 B - KEK match Test VKO512 for gost2012_512 C - KEK match Test VKO for gost2001 A - KEK match Test VKO for gost2001 B - KEK match Test VKO for gost2001 C - KEK match Test VKO for gost2012_256 A - KEK match Test VKO for gost2012_256 B - KEK match Test VKO for gost2012_256 C - KEK match Test VKO for gost2012_256 TCA - KEK match Test VKO for gost2012_512 A - KEK match Test VKO for gost2012_512 B - KEK match Test VKO for gost2012_512 C - KEK match Test KEG for gost2012_256 A - KEK match Test KEG for gost2012_256 B - KEK match Test KEG for gost2012_256 C - KEK match Test KEG for gost2012_256 TCA - KEK match Test KEG for gost2012_512 A - KEK match Test KEG for gost2012_512 B - KEK match Test KEG for gost2012_512 C - KEK match = All tests passed! Test time = 0.06 sec ---------------------------------------------------------- Test Passed. "derive-with-engine" end time: Jan 06 16:04 UTC "derive-with-engine" time elapsed: 00:00:00 ---------------------------------------------------------- 13/15 Testing: gost89 13/15 Test: gost89 Command: "/var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1_build/bin/test_gost89" Directory: /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1_build "gost89" start time: Jan 06 16:04 UTC Output: ---------------------------------------------------------- Initial key 0000 88 99 aa bb cc dd ee ff 00 11 22 33 44 55 66 77 0010 fe dc ba 98 76 54 32 10 01 23 45 67 89 ab cd ef Meshed key - K2 0000 86 3e a0 17 84 2c 3d 37 2b 18 a8 5a 28 e2 31 7d 0010 74 be fc 10 77 20 de 0c 9e 8a b9 74 ab d0 0c a0 Meshed key - K3 0000 49 a5 e2 67 7d e5 55 98 2b 8a d5 e8 26 65 2d 17 0010 ee c8 47 bf 5b 39 97 a8 1c f7 fe 7f 11 87 bd 27 Meshed key - K4 0000 32 56 bf 3f 97 b5 66 74 26 a9 fb 1c 5e aa be 41 0010 89 3c cd d5 a8 68 f9 b6 3b 0a a9 07 20 fa 43 c4 Test time = 0.01 sec ---------------------------------------------------------- Test Passed. "gost89" end time: Jan 06 16:04 UTC "gost89" time elapsed: 00:00:00 ---------------------------------------------------------- 9/15 Testing: TLS-with-engine 9/15 Test: TLS-with-engine Command: "/var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1_build/bin/test_tls" Directory: /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1_build "TLS-with-engine" start time: Jan 06 16:04 UTC Output: ---------------------------------------------------------- Test rsa Protocol: TLSv1.3 Cipher: TLS_AES_256_GCM_SHA384 Test gost2012_256:A Protocol: TLSv1.2 Cipher: GOST2012-MAGMA-MAGMAOMAC Test gost2012_256:B Protocol: TLSv1.2 Cipher: GOST2012-MAGMA-MAGMAOMAC Test gost2012_256:C Protocol: TLSv1.2 Cipher: GOST2012-MAGMA-MAGMAOMAC Test gost2012_256:TCA Protocol: TLSv1.2 Cipher: GOST2012-MAGMA-MAGMAOMAC Test gost2012_512:A Protocol: TLSv1.2 Cipher: GOST2012-MAGMA-MAGMAOMAC Test gost2012_512:B Protocol: TLSv1.2 Cipher: GOST2012-MAGMA-MAGMAOMAC Test gost2012_512:C Protocol: TLSv1.2 Cipher: GOST2012-MAGMA-MAGMAOMAC = All tests passed!  Test time = 0.64 sec ---------------------------------------------------------- Test Passed. "TLS-with-engine" end time: Jan 06 16:04 UTC "TLS-with-engine" time elapsed: 00:00:00 ---------------------------------------------------------- 15/15 Testing: provider 15/15 Test: provider Command: "/usr/bin/prove" "--merge" "-PWrapOpenSSL" "/var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test" "::" "provider" Directory: /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1_build "provider" start time: Jan 06 16:04 UTC Output: ---------------------------------------------------------- Added /usr/lib64 to: LD_LIBRARY_PATH, DYLD_LIBRARY_PATH, LIBPATH Added /usr/bin to: PATH LD_LIBRARY_PATH=/usr/lib64 DYLD_LIBRARY_PATH=/usr/lib64 LIBPATH=/usr/lib64 PATH=/usr/bin:/usr/lib/portage/python3.10/ebuild-helpers/xattr:/usr/lib/portage/python3.10/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/15/bin /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/00-engine.t .... skipped: This test is only suitable for the engine /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/00-provider.t .. # Seeded srand with seed '20230106' from local date. 1..1 ok 1 - load provider without any config ok /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/01-digest.t .... # Seeded srand with seed '20230106' from local date. 1..16 # Running tests for test type conf ok 1 - GOST R 34.11-2012 256bit example 1 from standard ok 2 - GOST R 34.11-2012 512bit example 1 from standard ok 3 - GOST R 34.11-2012 256bit example 2 from standard ok 4 - GOST R 34.11-2012 512bit example 2 from standard ok 5 - GOST R 34.11-94 1K ascii ok 6 - GOST R 34.11-2012 256bit 1K ascii ok 7 - GOST R 34.11-2012 512bit 1K ascii ok 8 - GOST R 34.11-94 1K binary ok 9 - GOST R 34.11-2012 256bit 1K binary ok 10 - GOST R 34.11-2012 512bit 1K binary ok 11 - GOST R 34.11-94 539 bytes ok 12 - GOST R 34.11-2012 256bit 539 bytes ok 13 - GOST R 34.11-2012 512bit 539 bytes ok 14 - GOST R 34.11-94 128K ok 15 - GOST R 34.11-2012 256bit 128K ok 16 - GOST R 34.11-2012 512bit 128K ok /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/02-mac.t ....... # Seeded srand with seed '20230106' from local date. 1..19 # @ARGV = (provider) # Running tests for test type conf ok 1 - GOST MAC - default size ok 2 - GOST MAC - size 1 bytes ok 3 - GOST MAC - size 2 bytes ok 4 - GOST MAC - size 3 bytes ok 5 - GOST MAC - size 4 bytes ok 6 - GOST MAC - size 5 bytes ok 7 - GOST MAC - size 6 bytes ok 8 - GOST MAC - size 7 bytes ok 9 - GOST MAC - size 8 bytes ok 10 - GOST MAC - big data ok 11 - GOST MAC parameters 2012 - default size ok 12 - GOST MAC parameters 2012 - size 1 bytes ok 13 - GOST MAC parameters 2012 - size 2 bytes ok 14 - GOST MAC parameters 2012 - size 3 bytes ok 15 - GOST MAC parameters 2012 - size 4 bytes ok 16 - GOST MAC parameters 2012 - size 5 bytes ok 17 - GOST MAC parameters 2012 - size 6 bytes ok 18 - GOST MAC parameters 2012 - size 7 bytes ok 19 - GOST MAC parameters 2012 - size 8 bytes ok /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t ... # Seeded srand with seed '20230106' from local date. 1..48 # Running tests for test type conf Use of uninitialized value $test_type in concatenation (.) or string at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t line 81. ok 1 - CFB short text, paramset A - Trying to encrypt ok 2 - CFB short text, paramset A - Checking that it encrypted correctly ok 3 - CFB short text, paramset A - Trying to decrypt ok 4 - CFB short text, paramset A - Checking that it decrypted correctly Use of uninitialized value $test_type in concatenation (.) or string at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t line 81. ok 5 - CFB short text, paramset B - Trying to encrypt ok 6 - CFB short text, paramset B - Checking that it encrypted correctly ok 7 - CFB short text, paramset B - Trying to decrypt ok 8 - CFB short text, paramset B - Checking that it decrypted correctly Use of uninitialized value $test_type in concatenation (.) or string at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t line 81. ok 9 - CFB short text, paramset C - Trying to encrypt ok 10 - CFB short text, paramset C - Checking that it encrypted correctly ok 11 - CFB short text, paramset C - Trying to decrypt ok 12 - CFB short text, paramset C - Checking that it decrypted correctly Use of uninitialized value $test_type in concatenation (.) or string at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t line 81. ok 13 - CFB short text, paramset D - Trying to encrypt ok 14 - CFB short text, paramset D - Checking that it encrypted correctly ok 15 - CFB short text, paramset D - Trying to decrypt ok 16 - CFB short text, paramset D - Checking that it decrypted correctly Use of uninitialized value $test_type in concatenation (.) or string at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t line 81. ok 17 - CNT short text - Trying to encrypt ok 18 - CNT short text - Checking that it encrypted correctly ok 19 - CNT short text - Trying to decrypt ok 20 - CNT short text - Checking that it decrypted correctly Use of uninitialized value $test_type in concatenation (.) or string at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t line 81. ok 21 - CNT short text, paramset param doesnt affect cnt - Trying to encrypt ok 22 - CNT short text, paramset param doesnt affect cnt - Checking that it encrypted correctly ok 23 - CNT short text, paramset param doesnt affect cnt - Trying to decrypt ok 24 - CNT short text, paramset param doesnt affect cnt - Checking that it decrypted correctly Use of uninitialized value $test_type in concatenation (.) or string at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t line 81. ok 25 - CNT-12 short text - Trying to encrypt ok 26 - CNT-12 short text - Checking that it encrypted correctly ok 27 - CNT-12 short text - Trying to decrypt ok 28 - CNT-12 short text - Checking that it decrypted correctly Use of uninitialized value $test_type in concatenation (.) or string at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t line 81. ok 29 - CNT-12 short text, paramset param doesnt affect cnt - Trying to encrypt ok 30 - CNT-12 short text, paramset param doesnt affect cnt - Checking that it encrypted correctly ok 31 - CNT-12 short text, paramset param doesnt affect cnt - Trying to decrypt ok 32 - CNT-12 short text, paramset param doesnt affect cnt - Checking that it decrypted correctly Use of uninitialized value $test_type in concatenation (.) or string at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t line 81. ok 33 - CBC short text, paramset A - Trying to encrypt ok 34 - CBC short text, paramset A - Checking that it encrypted correctly ok 35 - CBC short text, paramset A - Trying to decrypt ok 36 - CBC short text, paramset A - Checking that it decrypted correctly Use of uninitialized value $test_type in concatenation (.) or string at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t line 81. ok 37 - CBC short text, paramset B - Trying to encrypt ok 38 - CBC short text, paramset B - Checking that it encrypted correctly ok 39 - CBC short text, paramset B - Trying to decrypt ok 40 - CBC short text, paramset B - Checking that it decrypted correctly Use of uninitialized value $test_type in concatenation (.) or string at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t line 81. ok 41 - CBC short text, paramset C - Trying to encrypt ok 42 - CBC short text, paramset C - Checking that it encrypted correctly ok 43 - CBC short text, paramset C - Trying to decrypt ok 44 - CBC short text, paramset C - Checking that it decrypted correctly Use of uninitialized value $test_type in concatenation (.) or string at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t line 81. ok 45 - CBC short text, paramset D - Trying to encrypt ok 46 - CBC short text, paramset D - Checking that it encrypted correctly ok 47 - CBC short text, paramset D - Trying to decrypt ok 48 - CBC short text, paramset D - Checking that it decrypted correctly ok /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/04-pkey.t ...... skipped: TODO: add pkey support in provider All tests successful. Files=6, Tests=84, 1 wallclock secs ( 0.02 usr 0.01 sys + 0.54 cusr 0.19 csys = 0.76 CPU) Result: PASS Test time = 0.81 sec ---------------------------------------------------------- Test Passed. "provider" end time: Jan 06 16:04 UTC "provider" time elapsed: 00:00:00 ---------------------------------------------------------- 14/15 Testing: engine 14/15 Test: engine Command: "/usr/bin/prove" "--merge" "-PWrapOpenSSL" "/var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test" "::" "engine" Directory: /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1_build "engine" start time: Jan 06 16:04 UTC Output: ---------------------------------------------------------- Added /usr/lib64 to: LD_LIBRARY_PATH, DYLD_LIBRARY_PATH, LIBPATH Added /usr/bin to: PATH LD_LIBRARY_PATH=/usr/lib64 DYLD_LIBRARY_PATH=/usr/lib64 LIBPATH=/usr/lib64 PATH=/usr/bin:/usr/lib/portage/python3.10/ebuild-helpers/xattr:/usr/lib/portage/python3.10/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/15/bin /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/00-engine.t .... # Seeded srand with seed '20230106' from local date. 1..7 ok 1 - load engine without any config ok 2 - compute digest without config ok 3 - load engine with config ok 4 - compute digest with config without explicit engine param ok 5 - compute digest with both config and explicit engine param ok 6 - display GOST2001-GOST89-GOST89 cipher ok 7 - display GOST2012-GOST8912-GOST8912 cipher ok /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/00-provider.t .. skipped: This test is only suitable for the provider /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/01-digest.t .... # Seeded srand with seed '20230106' from local date. 1..16 # Running tests for test type conf ok 1 - GOST R 34.11-2012 256bit example 1 from standard ok 2 - GOST R 34.11-2012 512bit example 1 from standard ok 3 - GOST R 34.11-2012 256bit example 2 from standard ok 4 - GOST R 34.11-2012 512bit example 2 from standard ok 5 - GOST R 34.11-94 1K ascii ok 6 - GOST R 34.11-2012 256bit 1K ascii ok 7 - GOST R 34.11-2012 512bit 1K ascii ok 8 - GOST R 34.11-94 1K binary ok 9 - GOST R 34.11-2012 256bit 1K binary ok 10 - GOST R 34.11-2012 512bit 1K binary ok 11 - GOST R 34.11-94 539 bytes ok 12 - GOST R 34.11-2012 256bit 539 bytes ok 13 - GOST R 34.11-2012 512bit 539 bytes ok 14 - GOST R 34.11-94 128K ok 15 - GOST R 34.11-2012 256bit 128K ok 16 - GOST R 34.11-2012 512bit 128K ok /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/02-mac.t ....... # Seeded srand with seed '20230106' from local date. 1..19 # @ARGV = (engine) # Running tests for test type conf ok 1 - GOST MAC - default size ok 2 - GOST MAC - size 1 bytes ok 3 - GOST MAC - size 2 bytes ok 4 - GOST MAC - size 3 bytes ok 5 - GOST MAC - size 4 bytes ok 6 - GOST MAC - size 5 bytes ok 7 - GOST MAC - size 6 bytes ok 8 - GOST MAC - size 7 bytes ok 9 - GOST MAC - size 8 bytes ok 10 - GOST MAC - big data ok 11 - GOST MAC parameters 2012 - default size ok 12 - GOST MAC parameters 2012 - size 1 bytes testdata.dat: No such file or directory 4090FD36B47F0000:error:80000002:system library:file_ctrl:No such file or directory:crypto/bio/bss_file.c:297:calling fopen(testdata.dat, r) 4090FD36B47F0000:error:10080002:BIO routines:file_ctrl:system lib:crypto/bio/bss_file.c:300: not ok 13 - GOST MAC parameters 2012 - size 2 bytes # Failed test 'GOST MAC parameters 2012 - size 2 bytes' # at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/02-mac.t line 204. # +-----+----+-----------------------------------------------+ # | GOT | OP | CHECK | # +-----+----+-----------------------------------------------+ # | | eq | GOST-MAC-12-gost-mac-12(testdata.dat)= be44\n | # +-----+----+-----------------------------------------------+ # Command was: openssl dgst -mac gost-mac-12 -macopt key:0123456789abcdef0123456789abcdef -sigopt size:2 testdata.dat testdata.dat: No such file or directory 4010C5F3027F0000:error:80000002:system library:file_ctrl:No such file or directory:crypto/bio/bss_file.c:297:calling fopen(testdata.dat, r) 4010C5F3027F0000:error:10080002:BIO routines:file_ctrl:system lib:crypto/bio/bss_file.c:300: not ok 14 - GOST MAC parameters 2012 - size 3 bytes # Failed test 'GOST MAC parameters 2012 - size 3 bytes' # at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/02-mac.t line 204. # +-----+----+-------------------------------------------------+ # | GOT | OP | CHECK | # +-----+----+-------------------------------------------------+ # | | eq | GOST-MAC-12-gost-mac-12(testdata.dat)= be4453\n | # +-----+----+-------------------------------------------------+ # Command was: openssl dgst -mac gost-mac-12 -macopt key:0123456789abcdef0123456789abcdef -sigopt size:3 testdata.dat testdata.dat: No such file or directory 407029FD1E7F0000:error:80000002:system library:file_ctrl:No such file or directory:crypto/bio/bss_file.c:297:calling fopen(testdata.dat, r) 407029FD1E7F0000:error:10080002:BIO routines:file_ctrl:system lib:crypto/bio/bss_file.c:300: not ok 15 - GOST MAC parameters 2012 - size 4 bytes # Failed test 'GOST MAC parameters 2012 - size 4 bytes' # at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/02-mac.t line 204. # +-----+----+---------------------------------------------------+ # | GOT | OP | CHECK | # +-----+----+---------------------------------------------------+ # | | eq | GOST-MAC-12-gost-mac-12(testdata.dat)= be4453ec\n | # +-----+----+---------------------------------------------------+ # Command was: openssl dgst -mac gost-mac-12 -macopt key:0123456789abcdef0123456789abcdef -sigopt size:4 testdata.dat testdata.dat: No such file or directory 40F0DCF1647F0000:error:80000002:system library:file_ctrl:No such file or directory:crypto/bio/bss_file.c:297:calling fopen(testdata.dat, r) 40F0DCF1647F0000:error:10080002:BIO routines:file_ctrl:system lib:crypto/bio/bss_file.c:300: not ok 16 - GOST MAC parameters 2012 - size 5 bytes # Failed test 'GOST MAC parameters 2012 - size 5 bytes' # at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/02-mac.t line 204. # +-----+----+-----------------------------------------------------+ # | GOT | OP | CHECK | # +-----+----+-----------------------------------------------------+ # | | eq | GOST-MAC-12-gost-mac-12(testdata.dat)= be4453ec1e\n | # +-----+----+-----------------------------------------------------+ # Command was: openssl dgst -mac gost-mac-12 -macopt key:0123456789abcdef0123456789abcdef -sigopt size:5 testdata.dat testdata.dat: No such file or directory 40905DA8AF7F0000:error:80000002:system library:file_ctrl:No such file or directory:crypto/bio/bss_file.c:297:calling fopen(testdata.dat, r) 40905DA8AF7F0000:error:10080002:BIO routines:file_ctrl:system lib:crypto/bio/bss_file.c:300: not ok 17 - GOST MAC parameters 2012 - size 6 bytes # Failed test 'GOST MAC parameters 2012 - size 6 bytes' # at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/02-mac.t line 204. # +-----+----+-------------------------------------------------------+ # | GOT | OP | CHECK | # +-----+----+-------------------------------------------------------+ # | | eq | GOST-MAC-12-gost-mac-12(testdata.dat)= be4453ec1ec3\n | # +-----+----+-------------------------------------------------------+ # Command was: openssl dgst -mac gost-mac-12 -macopt key:0123456789abcdef0123456789abcdef -sigopt size:6 testdata.dat testdata.dat: No such file or directory 4050FD22227F0000:error:80000002:system library:file_ctrl:No such file or directory:crypto/bio/bss_file.c:297:calling fopen(testdata.dat, r) 4050FD22227F0000:error:10080002:BIO routines:file_ctrl:system lib:crypto/bio/bss_file.c:300: not ok 18 - GOST MAC parameters 2012 - size 7 bytes # Failed test 'GOST MAC parameters 2012 - size 7 bytes' # at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/02-mac.t line 204. # +-----+----+---------------------------------------------------------+ # | GOT | OP | CHECK | # +-----+----+---------------------------------------------------------+ # | | eq | GOST-MAC-12-gost-mac-12(testdata.dat)= be4453ec1ec327\n | # +-----+----+---------------------------------------------------------+ # Command was: openssl dgst -mac gost-mac-12 -macopt key:0123456789abcdef0123456789abcdef -sigopt size:7 testdata.dat testdata.dat: No such file or directory 40104F3CDA7F0000:error:80000002:system library:file_ctrl:No such file or directory:crypto/bio/bss_file.c:297:calling fopen(testdata.dat, r) 40104F3CDA7F0000:error:10080002:BIO routines:file_ctrl:system lib:crypto/bio/bss_file.c:300: not ok 19 - GOST MAC parameters 2012 - size 8 bytes # Failed test 'GOST MAC parameters 2012 - size 8 bytes' # at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/02-mac.t line 204. # +-----+----+-----------------------------------------------------------+ # | GOT | OP | CHECK | # +-----+----+-----------------------------------------------------------+ # | | eq | GOST-MAC-12-gost-mac-12(testdata.dat)= be4453ec1ec327be\n | # +-----+----+-----------------------------------------------------------+ # Command was: openssl dgst -mac gost-mac-12 -macopt key:0123456789abcdef0123456789abcdef -sigopt size:8 testdata.dat Dubious, test returned 7 (wstat 1792, 0x700) Failed 7/19 subtests /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t ... # Seeded srand with seed '20230106' from local date. 1..48 # Running tests for test type conf Use of uninitialized value $test_type in concatenation (.) or string at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t line 81. ok 1 - CFB short text, paramset A - Trying to encrypt ok 2 - CFB short text, paramset A - Checking that it encrypted correctly ok 3 - CFB short text, paramset A - Trying to decrypt ok 4 - CFB short text, paramset A - Checking that it decrypted correctly Use of uninitialized value $test_type in concatenation (.) or string at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t line 81. ok 5 - CFB short text, paramset B - Trying to encrypt ok 6 - CFB short text, paramset B - Checking that it encrypted correctly Can't open "2.enc" for reading, No such file or directory 4060652E667F0000:error:80000002:system library:BIO_new_file:No such file or directory:crypto/bio/bss_file.c:67:calling fopen(2.enc, rb) 4060652E667F0000:error:10000080:BIO routines:BIO_new_file:no such file:crypto/bio/bss_file.c:75: not ok 7 - CFB short text, paramset B - Trying to decrypt # Failed test 'CFB short text, paramset B - Trying to decrypt' # at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t line 98. # +-----+----+-------+ # | GOT | OP | CHECK | # +-----+----+-------+ # | 256 | eq | 0 | # +-----+----+-------+ # Command was: openssl enc -d -gost89 -K 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF -iv 0000000000000000 -in 2.enc not ok 8 - CFB short text, paramset B - Checking that it decrypted correctly # Failed test 'CFB short text, paramset B - Checking that it decrypted correctly' # at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t line 101. # +-----+----+-----------------------------------------------+ # | GOT | OP | CHECK | # +-----+----+-----------------------------------------------+ # | | eq | The quick brown fox jumps over the lazy dog\n | # +-----+----+-----------------------------------------------+ Use of uninitialized value $test_type in concatenation (.) or string at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t line 81. Can't open "3.clear" for reading, No such file or directory 40D04788C57F0000:error:80000002:system library:BIO_new_file:No such file or directory:crypto/bio/bss_file.c:67:calling fopen(3.clear, rb) 40D04788C57F0000:error:10000080:BIO routines:BIO_new_file:no such file:crypto/bio/bss_file.c:75: not ok 9 - CFB short text, paramset C - Trying to encrypt # Failed test 'CFB short text, paramset C - Trying to encrypt' # at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t line 89. # +-----+----+-------+ # | GOT | OP | CHECK | # +-----+----+-------+ # | 256 | eq | 0 | # +-----+----+-------+ # Command was: openssl enc -e -gost89 -K 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF -iv 0000000000000000 -in 3.clear not ok 10 - CFB short text, paramset C - Checking that it encrypted correctly # Failed test 'CFB short text, paramset C - Checking that it encrypted correctly' # at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t line 92. # +-----+----+-------------------------------------------------------------+ # | GOT | OP | CHECK | # +-----+----+-------------------------------------------------------------+ # | | eq | 2f213b390c9b6ceb18de479686d23f4f03c76644a0aab8894b50b71a3bb | # | | | b3c027ec4c2d569ba0e6a873bd46e | # +-----+----+-------------------------------------------------------------+ ok 11 - CFB short text, paramset C - Trying to decrypt not ok 12 - CFB short text, paramset C - Checking that it decrypted correctly # Failed test 'CFB short text, paramset C - Checking that it decrypted correctly' # at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t line 101. # +-----+----+-----------------------------------------------+ # | GOT | OP | CHECK | # +-----+----+-----------------------------------------------+ # | | eq | The quick brown fox jumps over the lazy dog\n | # +-----+----+-----------------------------------------------+ Use of uninitialized value $test_type in concatenation (.) or string at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t line 81. Can't open "4.clear" for reading, No such file or directory 4070BD774B7F0000:error:80000002:system library:BIO_new_file:No such file or directory:crypto/bio/bss_file.c:67:calling fopen(4.clear, rb) 4070BD774B7F0000:error:10000080:BIO routines:BIO_new_file:no such file:crypto/bio/bss_file.c:75: not ok 13 - CFB short text, paramset D - Trying to encrypt # Failed test 'CFB short text, paramset D - Trying to encrypt' # at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t line 89. # +-----+----+-------+ # | GOT | OP | CHECK | # +-----+----+-------+ # | 256 | eq | 0 | # +-----+----+-------+ # Command was: openssl enc -e -gost89 -K 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF -iv 0000000000000000 -in 4.clear not ok 14 - CFB short text, paramset D - Checking that it encrypted correctly # Failed test 'CFB short text, paramset D - Checking that it encrypted correctly' # at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t line 92. # +-----+----+-------------------------------------------------------------+ # | GOT | OP | CHECK | # +-----+----+-------------------------------------------------------------+ # | | eq | e835f59a7fdfd84764efe1e987660327f5d0de187afea72f9cd040983a5 | # | | | e5bbeb4fe1aa5ff85d623ebc4d435 | # +-----+----+-------------------------------------------------------------+ ok 15 - CFB short text, paramset D - Trying to decrypt not ok 16 - CFB short text, paramset D - Checking that it decrypted correctly # Failed test 'CFB short text, paramset D - Checking that it decrypted correctly' # at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t line 101. # +-----+----+-----------------------------------------------+ # | GOT | OP | CHECK | # +-----+----+-----------------------------------------------+ # | | eq | The quick brown fox jumps over the lazy dog\n | # +-----+----+-----------------------------------------------+ Use of uninitialized value $test_type in concatenation (.) or string at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t line 81. ok 17 - CNT short text - Trying to encrypt ok 18 - CNT short text - Checking that it encrypted correctly ok 19 - CNT short text - Trying to decrypt ok 20 - CNT short text - Checking that it decrypted correctly Use of uninitialized value $test_type in concatenation (.) or string at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t line 81. ok 21 - CNT short text, paramset param doesnt affect cnt - Trying to encrypt ok 22 - CNT short text, paramset param doesnt affect cnt - Checking that it encrypted correctly ok 23 - CNT short text, paramset param doesnt affect cnt - Trying to decrypt ok 24 - CNT short text, paramset param doesnt affect cnt - Checking that it decrypted correctly Use of uninitialized value $test_type in concatenation (.) or string at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t line 81. ok 25 - CNT-12 short text - Trying to encrypt ok 26 - CNT-12 short text - Checking that it encrypted correctly ok 27 - CNT-12 short text - Trying to decrypt ok 28 - CNT-12 short text - Checking that it decrypted correctly Use of uninitialized value $test_type in concatenation (.) or string at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t line 81. ok 29 - CNT-12 short text, paramset param doesnt affect cnt - Trying to encrypt ok 30 - CNT-12 short text, paramset param doesnt affect cnt - Checking that it encrypted correctly ok 31 - CNT-12 short text, paramset param doesnt affect cnt - Trying to decrypt ok 32 - CNT-12 short text, paramset param doesnt affect cnt - Checking that it decrypted correctly Use of uninitialized value $test_type in concatenation (.) or string at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t line 81. Can't open "9.clear" for reading, No such file or directory 4050571D027F0000:error:80000002:system library:BIO_new_file:No such file or directory:crypto/bio/bss_file.c:67:calling fopen(9.clear, rb) 4050571D027F0000:error:10000080:BIO routines:BIO_new_file:no such file:crypto/bio/bss_file.c:75: not ok 33 - CBC short text, paramset A - Trying to encrypt # Failed test 'CBC short text, paramset A - Trying to encrypt' # at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t line 89. # +-----+----+-------+ # | GOT | OP | CHECK | # +-----+----+-------+ # | 256 | eq | 0 | # +-----+----+-------+ # Command was: openssl enc -e -gost89-cbc -K 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF -iv 0000000000000000 -in 9.clear not ok 34 - CBC short text, paramset A - Checking that it encrypted correctly # Failed test 'CBC short text, paramset A - Checking that it encrypted correctly' # at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t line 92. # +-----+----+-------------------------------------------------------------+ # | GOT | OP | CHECK | # +-----+----+-------------------------------------------------------------+ # | | eq | 3a3293e75089376572da44966cd1759c29d2f1e5e1c3fa9674909a63026 | # | | | da3dc51a4266bff37fb74a3a07155c9ca8fcf | # +-----+----+-------------------------------------------------------------+ bad decrypt 4090F4B8DD7F0000:error:0300006D:digital envelope routines:EVP_DecryptFinal_ex:wrong final block length:crypto/evp/evp_enc.c:963: not ok 35 - CBC short text, paramset A - Trying to decrypt # Failed test 'CBC short text, paramset A - Trying to decrypt' # at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t line 98. # +-----+----+-------+ # | GOT | OP | CHECK | # +-----+----+-------+ # | 256 | eq | 0 | # +-----+----+-------+ # Command was: openssl enc -d -gost89-cbc -K 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF -iv 0000000000000000 -in 9.enc not ok 36 - CBC short text, paramset A - Checking that it decrypted correctly # Failed test 'CBC short text, paramset A - Checking that it decrypted correctly' # at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t line 101. # +-----+----+-----------------------------------------------+ # | GOT | OP | CHECK | # +-----+----+-----------------------------------------------+ # | | eq | The quick brown fox jumps over the lazy dog\n | # +-----+----+-----------------------------------------------+ Use of uninitialized value $test_type in concatenation (.) or string at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t line 81. ok 37 - CBC short text, paramset B - Trying to encrypt ok 38 - CBC short text, paramset B - Checking that it encrypted correctly ok 39 - CBC short text, paramset B - Trying to decrypt ok 40 - CBC short text, paramset B - Checking that it decrypted correctly Use of uninitialized value $test_type in concatenation (.) or string at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t line 81. ok 41 - CBC short text, paramset C - Trying to encrypt ok 42 - CBC short text, paramset C - Checking that it encrypted correctly ok 43 - CBC short text, paramset C - Trying to decrypt ok 44 - CBC short text, paramset C - Checking that it decrypted correctly Use of uninitialized value $test_type in concatenation (.) or string at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t line 81. Can't open "12.clear" for reading, No such file or directory 40909053FA7F0000:error:80000002:system library:BIO_new_file:No such file or directory:crypto/bio/bss_file.c:67:calling fopen(12.clear, rb) 40909053FA7F0000:error:10000080:BIO routines:BIO_new_file:no such file:crypto/bio/bss_file.c:75: not ok 45 - CBC short text, paramset D - Trying to encrypt # Failed test 'CBC short text, paramset D - Trying to encrypt' # at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t line 89. # +-----+----+-------+ # | GOT | OP | CHECK | # +-----+----+-------+ # | 256 | eq | 0 | # +-----+----+-------+ # Command was: openssl enc -e -gost89-cbc -K 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF -iv 0000000000000000 -in 12.clear not ok 46 - CBC short text, paramset D - Checking that it encrypted correctly # Failed test 'CBC short text, paramset D - Checking that it encrypted correctly' # at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t line 92. # +-----+----+-------------------------------------------------------------+ # | GOT | OP | CHECK | # +-----+----+-------------------------------------------------------------+ # | | eq | e076b09822d4786a2863125d16594d765d8acd0f360e52df42e9d52c8e6 | # | | | c0e6595b5f6bbecb04a22c8ae5f4f87c1523b | # +-----+----+-------------------------------------------------------------+ bad decrypt 4010FE49567F0000:error:0300006D:digital envelope routines:EVP_DecryptFinal_ex:wrong final block length:crypto/evp/evp_enc.c:963: not ok 47 - CBC short text, paramset D - Trying to decrypt # Failed test 'CBC short text, paramset D - Trying to decrypt' # at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t line 98. # +-----+----+-------+ # | GOT | OP | CHECK | # +-----+----+-------+ # | 256 | eq | 0 | # +-----+----+-------+ # Command was: openssl enc -d -gost89-cbc -K 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF -iv 0000000000000000 -in 12.enc not ok 48 - CBC short text, paramset D - Checking that it decrypted correctly # Failed test 'CBC short text, paramset D - Checking that it decrypted correctly' # at /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t line 101. # +-----+----+-----------------------------------------------+ # | GOT | OP | CHECK | # +-----+----+-----------------------------------------------+ # | | eq | The quick brown fox jumps over the lazy dog\n | # +-----+----+-----------------------------------------------+ Dubious, test returned 16 (wstat 4096, 0x1000) Failed 16/48 subtests /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/04-pkey.t ...... # Seeded srand with seed '20230106' from local date. 1..2 ok 1 - keys { 1..15 ok 1 - Print key pair gost2001:A ok 2 - Compute public key gost2001:A ok 3 - Read and print public key gost2001:A ok 4 - Print key pair gost2001:B ok 5 - Compute public key gost2001:B ok 6 - Read and print public key gost2001:B ok 7 - Print key pair gost2001:C ok 8 - Compute public key gost2001:C ok 9 - Read and print public key gost2001:C ok 10 - Print key pair gost2001:XA ok 11 - Compute public key gost2001:XA ok 12 - Read and print public key gost2001:XA ok 13 - Print key pair gost2001:XB ok 14 - Compute public key gost2001:XB ok 15 - Read and print public key gost2001:XB } ok 2 - derive { 1..64 ok 1 - Compute public key:id-tc26-gost-3410-2012-512-paramSetB:Alice ok 2 - Compute public key:id-tc26-gost-3410-2012-512-paramSetB:Bob ok 3 - Compute shared key:id-tc26-gost-3410-2012-512-paramSetB:Alice:Bob ok 4 - Compute shared key:id-tc26-gost-3410-2012-512-paramSetB:Bob:Alice ok 5 - Compute public key:id-GostR3410-2001-CryptoPro-XchA-ParamSet:Alice ok 6 - Compute public key:id-GostR3410-2001-CryptoPro-XchA-ParamSet:Bob ok 7 - Compute shared key:id-GostR3410-2001-CryptoPro-XchA-ParamSet:Alice:Bob ok 8 - Compute shared key:id-GostR3410-2001-CryptoPro-XchA-ParamSet:Bob:Alice ok 9 - Compute public key:id-tc26-gost-3410-2012-512-paramSetC:Alice ok 10 - Compute public key:id-tc26-gost-3410-2012-512-paramSetC:Bob ok 11 - Compute shared key:id-tc26-gost-3410-2012-512-paramSetC:Alice:Bob ok 12 - Compute shared key:id-tc26-gost-3410-2012-512-paramSetC:Bob:Alice ok 13 - Compute shared key:id-tc26-gost-3410-2012-512-paramSetC:Alice:Malice ok 14 - Compute shared key:id-tc26-gost-3410-2012-512-paramSetC:Bob:Malice ok 15 - Compute public key:id-GostR3410-2001-CryptoPro-A-ParamSet:Alice ok 16 - Compute public key:id-GostR3410-2001-CryptoPro-A-ParamSet:Bob ok 17 - Compute shared key:id-GostR3410-2001-CryptoPro-A-ParamSet:Alice:Bob ok 18 - Compute shared key:id-GostR3410-2001-CryptoPro-A-ParamSet:Bob:Alice ok 19 - Compute public key:id-tc26-gost-3410-2012-256-paramSetC:Alice ok 20 - Compute public key:id-tc26-gost-3410-2012-256-paramSetC:Bob ok 21 - Compute shared key:id-tc26-gost-3410-2012-256-paramSetC:Alice:Bob ok 22 - Compute shared key:id-tc26-gost-3410-2012-256-paramSetC:Bob:Alice ok 23 - Compute public key:id-tc26-gost-3410-2012-256-paramSetD:Alice ok 24 - Compute public key:id-tc26-gost-3410-2012-256-paramSetD:Bob ok 25 - Compute shared key:id-tc26-gost-3410-2012-256-paramSetD:Alice:Bob ok 26 - Compute shared key:id-tc26-gost-3410-2012-256-paramSetD:Bob:Alice ok 27 - Compute public key:id-tc26-gost-3410-2012-512-paramSetC-rangetest:Alice ok 28 - Compute public key:id-tc26-gost-3410-2012-512-paramSetC-rangetest:Bob ok 29 - Compute shared key:id-tc26-gost-3410-2012-512-paramSetC-rangetest:Alice:Bob ok 30 - Compute shared key:id-tc26-gost-3410-2012-512-paramSetC-rangetest:Bob:Alice ok 31 - Compute public key:id-GostR3410-2001-TestParamSet:Alice ok 32 - Compute public key:id-GostR3410-2001-TestParamSet:Bob ok 33 - Compute shared key:id-GostR3410-2001-TestParamSet:Alice:Bob ok 34 - Compute shared key:id-GostR3410-2001-TestParamSet:Bob:Alice ok 35 - Compute public key:id-tc26-gost-3410-2012-512-paramSetA:Alice ok 36 - Compute public key:id-tc26-gost-3410-2012-512-paramSetA:Bob ok 37 - Compute shared key:id-tc26-gost-3410-2012-512-paramSetA:Alice:Bob ok 38 - Compute shared key:id-tc26-gost-3410-2012-512-paramSetA:Bob:Alice ok 39 - Compute public key:id-GostR3410-2001-CryptoPro-B-ParamSet:Alice ok 40 - Compute public key:id-GostR3410-2001-CryptoPro-B-ParamSet:Bob ok 41 - Compute shared key:id-GostR3410-2001-CryptoPro-B-ParamSet:Alice:Bob ok 42 - Compute shared key:id-GostR3410-2001-CryptoPro-B-ParamSet:Bob:Alice ok 43 - Compute public key:id-GostR3410-2001-CryptoPro-C-ParamSet:Alice ok 44 - Compute public key:id-GostR3410-2001-CryptoPro-C-ParamSet:Bob ok 45 - Compute shared key:id-GostR3410-2001-CryptoPro-C-ParamSet:Alice:Bob ok 46 - Compute shared key:id-GostR3410-2001-CryptoPro-C-ParamSet:Bob:Alice ok 47 - Compute public key:id-tc26-gost-3410-2012-256-paramSetA:Alice ok 48 - Compute public key:id-tc26-gost-3410-2012-256-paramSetA:Bob ok 49 - Compute shared key:id-tc26-gost-3410-2012-256-paramSetA:Alice:Bob ok 50 - Compute shared key:id-tc26-gost-3410-2012-256-paramSetA:Bob:Alice ok 51 - Compute shared key:id-tc26-gost-3410-2012-256-paramSetA:Alice:Malice ok 52 - Compute shared key:id-tc26-gost-3410-2012-256-paramSetA:Bob:Malice ok 53 - Compute public key:id-GostR3410-2001-CryptoPro-XchB-ParamSet:Alice ok 54 - Compute public key:id-GostR3410-2001-CryptoPro-XchB-ParamSet:Bob ok 55 - Compute shared key:id-GostR3410-2001-CryptoPro-XchB-ParamSet:Alice:Bob ok 56 - Compute shared key:id-GostR3410-2001-CryptoPro-XchB-ParamSet:Bob:Alice ok 57 - Compute public key:id-tc26-gost-3410-2012-256-paramSetA-rangetest:Alice ok 58 - Compute public key:id-tc26-gost-3410-2012-256-paramSetA-rangetest:Bob ok 59 - Compute shared key:id-tc26-gost-3410-2012-256-paramSetA-rangetest:Alice:Bob ok 60 - Compute shared key:id-tc26-gost-3410-2012-256-paramSetA-rangetest:Bob:Alice ok 61 - Compute public key:id-tc26-gost-3410-2012-256-paramSetB:Alice ok 62 - Compute public key:id-tc26-gost-3410-2012-256-paramSetB:Bob ok 63 - Compute shared key:id-tc26-gost-3410-2012-256-paramSetB:Alice:Bob ok 64 - Compute shared key:id-tc26-gost-3410-2012-256-paramSetB:Bob:Alice } ok Test Summary Report ------------------- /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/02-mac.t (Wstat: 1792 (exited 7) Tests: 19 Failed: 7) Failed tests: 13-19 Non-zero exit status: 7 /var/tmp/portage/dev-libs/gost-engine-3.0.1-r1/work/engine-3.0.1/test/03-encrypt.t (Wstat: 4096 (exited 16) Tests: 48 Failed: 16) Failed tests: 7-10, 12-14, 16, 33-36, 45-48 Non-zero exit status: 16 Files=6, Tests=92, 1 wallclock secs ( 0.03 usr 0.01 sys + 0.88 cusr 0.38 csys = 1.30 CPU) Result: FAIL Test time = 1.33 sec ---------------------------------------------------------- Test Failed. "engine" end time: Jan 06 16:04 UTC "engine" time elapsed: 00:00:01 ---------------------------------------------------------- End testing: Jan 06 16:04 UTC