- Dec 31, 2019
-
-
Andrey Bondrov authored
-
- Aug 09, 2018
-
-
Vitaly Chikunov authored
-
Vitaly Chikunov authored
-
Vitaly Chikunov authored
Reported-by:Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
-
Vitaly Chikunov authored
Openssl is already have output result size in EVP_MD.md_size We should not exceed its value when writing digest output. This should be fixed more consistently, probably, by removing dgst_size from OMAC_CTX.
-
- Aug 02, 2018
-
-
Vitaly Chikunov authored
Openssl copies a state between valid contexts. But, EVP_MD_CTX_copy_ex just memcpy-s private data (md_data), which points to OMAC_CTX), which have pointer to CMAC_CTX. Copying pointer makes CMAC context just the same on the both sides. As a consequence, we can not do normal copy of a state between CMAC contexts. As a fix, we just clone it if it's equal between copy sides. Reported-by:Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
-
- Jul 31, 2018
-
-
Vitaly Chikunov authored
ACPKM-Master is from R 23565.1.017-2018, it will be required for ACPKM-OMAC for TLS 1.2.
-
- Jul 26, 2018
-
-
Vitaly Chikunov authored
-
Vitaly Chikunov authored
Default limit for Kuznyechik is 4KiB, from TLS 1.2 recommendations. As a consequence it does not need to be configured via EVP_CTRL_KEY_MESH. Also, explicitly set ACPKM limit in tests.
-
Vitaly Chikunov authored
-
Vitaly Chikunov authored
-
- Jul 25, 2018
-
-
Vitaly Chikunov authored
-
Vitaly Chikunov authored
Two reasons: to match GOST R test vector size, just make it bigger.
-
Vitaly Chikunov authored
openssl-1.1.0 made ctx opaque and does not allow it on stack anymore.
-
Vitaly Chikunov authored
Previously, we had shim layer in our openssl branch Could be squashed with 01d26132
-
Vitaly Chikunov authored
-
Gleb Fotengauer-Malinovskiy authored
Co-authored-by:Mikhail Gordeev <obirvalger@altlinux.org>
-
Vitaly Chikunov authored
-
Gleb Fotengauer-Malinovskiy authored
-
Vitaly Chikunov authored
-
Gleb Fotengauer-Malinovskiy authored
Also, document why CTR IV size is now set to 16, so user is noted to set IV appropriately to full extent (including counter). Basically, it's for openssh (and alike) to make it copy IV from privilege separated process.
-
- Jul 23, 2018
-
-
Vitaly Chikunov authored
Encrypt with small chunks to verify that internal state is handled correctly between calls.
-
Vitaly Chikunov authored
These tests are with generated test vectors from canonical TC26 implementation with truncated IVs.
-
Vitaly Chikunov authored
-
Vitaly Chikunov authored
Previous implementation was not OFB at all, and fail tests. Note: This implementation is for fixed width 128-bit IV which makes shift regiser redundant.
-
Vitaly Chikunov authored
Full test of OFB to match GOST R 34.13-2015 test vectors is impossible, due to test IVs are having size (256-bits) over the maximum openssl can allow (128-bits). I generated new test vectors from canonical implementation from `PR_GOSTR_bch_v9.zip` (revision of 2016-10-28) by truncating test IVs in half.
-
- Jul 22, 2018
-
-
Vitaly Chikunov authored
Make sure stream modes can encrypt any block size.
-
Vitaly Chikunov authored
Previously CTR did not continue unfinished block on the next cipher iteration.
-
Vitaly Chikunov authored
-
Vitaly Chikunov authored
test_grasshopper: test modes to match GOST vectors Only ECB and CTR modes are tested. OBF, CBC, CFB modes is not testable under openssl.
-
- Jul 20, 2018
-
-
Vitaly Chikunov authored
-
Vitaly Chikunov authored
Offset commit 7f572e958b13041056f377a62d3219633cfb1e8a Old openssl still needs EVP_MD_FLAG_PKEY_METHOD_SIGNATURE flag to be set.
-
- Jul 19, 2018
-
-
Vitaly Chikunov authored
-
- Jul 17, 2018
-
-
Dmitry Belyavskiy authored
Fix a mem leak
-
Matt Caswell authored
Ensure the grasshopper ciphers are destroyed on engine destroy.
-
- Jul 13, 2018
-
-
Dmitry Belyavskiy authored
-
-
Dmitry Belyavskiy authored
-
Dmitry Belyavskiy authored
-
- Jun 28, 2018
-
-
Dmitry Belyavskiy authored
modernize ci
-