Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-06-18 | Update copyright year | Henrik Nord | |
2018-06-14 | crypto: Remove EVP_PKEY from dh_compute_key_nif | Hans Nilsson | |
According to valgrind, there is a memory leak. When fixing that there is a core-dump instead. Since generate_key is the part that is important for the quality of the key we keep the old compute_key part to avoid memory leakage. | |||
2018-06-14 | crypto: Try fix valgrind errors | Hans Nilsson | |
Re-structure dh_compute_key_nif and dh_generate_key_nif to see variable scoping and alloc/dealloc pairs better | |||
2018-06-12 | crypto: Remove comments | Hans Nilsson | |
2018-06-11 | crypto: Add experimental x25519 and x448 | Hans Nilsson | |
Not to be used. Uses not yet released functions in OpenSSL 1.1.1-pre8-dev | |||
2018-06-11 | crypto: Extend crypto:supports with 'curves' | Hans Nilsson | |
"curves" in crypto:supports returns list of actually supported ec_curves | |||
2018-06-04 | crypto: Valgrind suggestions | Hans Nilsson | |
2018-05-18 | Merge branch 'sverker/crypto-upgrade-bug/OTP-15088' | Sverker Eriksson | |
* sverker/crypto-upgrade-bug/OTP-15088: crypto: Robustify the do-once-initialization crypto: Fix upgrade bug when engine support is missing | |||
2018-05-17 | crypto: Robustify the do-once-initialization | Sverker Eriksson | |
Introduce boolean 'library_initialized' that is set once and never cleared as that is how initialization must be done. Kept 'library_refc' as it may be interesting for debugging. Moved the three init_*_types() functions last as those must only be called once and there were error cases bailing out after them. | |||
2018-05-17 | crypto: Fix upgrade bug when engine support is missing | Sverker Eriksson | |
library_refc was not checked causing crash when init_digest_types() was called a second time. | |||
2018-05-08 | Merge branch 'maint' | Hans Nilsson | |
* maint: Updated OTP version Prepare release ssh: Renegotiation -> renegotiate ssh: Fix DH group exchange server bug for PuTTY and others following draft-draft-00 from 2001 and not the rfc4419 crypto: get_engine_load_cmd_list excluded if no engine support crypto: Fix compilation for LibreSSL 2.7.x crypto: Disable test_engine if engine is disabled crypto: disable engine if OPENSSL_NO_EC* is set If that flag is set, and openssl/engine.h is included, there will be an erro further down in files included by engine.h Conflicts: OTP_VERSION | |||
2018-05-07 | Merge branch 'hans/crypto/OPENSSL_NO_EC/OTP-15073' into maint-20 | Erlang/OTP | |
* hans/crypto/OPENSSL_NO_EC/OTP-15073: crypto: Disable test_engine if engine is disabled crypto: disable engine if OPENSSL_NO_EC* is set If that flag is set, and openssl/engine.h is included, there will be an erro further down in files included by engine.h | |||
2018-05-04 | crypto: get_engine_load_cmd_list excluded if no engine support | Hans Nilsson | |
2018-05-04 | crypto: Fix compilation for LibreSSL 2.7.x | Hans Nilsson | |
2018-05-04 | crypto: Disable test_engine if engine is disabled | Hans Nilsson | |
2018-05-04 | crypto: disable engine if OPENSSL_NO_EC* is set | Hans Nilsson | |
If that flag is set, and openssl/engine.h is included, there will be an erro further down in files included by engine.h | |||
2018-04-26 | crypto: Use EVP-api in dh_compute_key_nif and dh_generate_key_nif | Hans Nilsson | |
2018-03-09 | crypto: Remove undocumented, unused and erroneous functions | Hans Nilsson | |
crypto:dh_generate_parameters and crypto:dh_check | |||
2018-01-12 | crypto: Disable RSA sslv23 padding for LibreSSL >= 2.6.1 | Hans Nilsson | |
Not supported in newer LibreSSL. | |||
2017-12-04 | [crypto] Add engine_ctrl_cmd_string() to API | Lars Thorsen | |
2017-12-01 | crypto: fix pubkey_to_privkey | Hans Nilsson | |
2017-12-01 | [crypto] Fix memory leak | Lars Thorsen | |
Fix memory leak in engine load code found by valgrind. | |||
2017-11-22 | Merge branch 'hans/crypto/cuddle_tests' into maint | Hans Nilsson | |
2017-11-21 | Merge branch 'sverker/crypto/fix-valgrind-assert' into maint | Sverker Eriksson | |
2017-11-20 | Remove core dump risk in crypto.c | Hans Nilsson | |
2017-11-20 | crypto: Printout polishing | Hans Nilsson | |
2017-11-10 | crypto: Remove faulty valgrind assertion | Sverker Eriksson | |
2017-11-10 | crypto: Add privkey_to_pubkey/2 to get the public key from a priv key in an ↵ | Hans Nilsson | |
Engine Only RSA and DSA so far. | |||
2017-11-10 | crypto: Remove unused 'atom_bad_engine' | Hans Nilsson | |
2017-11-10 | crypto: Update the OTP test engine with pub/priv key storage | Hans Nilsson | |
2017-11-10 | crypto: Enable using pub/priv PKCS8 keys stored in an Engine | Hans Nilsson | |
2017-11-10 | [crypto] Add support for loading an alternative Engine | Lars Thorsen | |
Add support to plug in alternative implementations for some or all of the cryptographic operations supported by the OpenSSL Engine API. When configured appropriately, OpenSSL calls the engine's implementation of these operations instead of its own. | |||
2017-11-01 | Merge branch 'hans/crypto/DH_generate_parameters_deprecated/OTP-14639' into ↵ | Hans Nilsson | |
maint | |||
2017-11-01 | crypto: replaced deprecated DH_generate_parameters | Hans Nilsson | |
2017-11-01 | crypto: Remove returnvalue from void C-fn | Hans Nilsson | |
2017-10-04 | crypto: ifdef of EVP for old cryptolibs (< 1.0.0) | Hans Nilsson | |
2017-10-04 | crypto: Added pkey_crypt_nif from PR838 | Hans Nilsson | |
Testcases for ECDSA and DSA encrypt/decrypt and some other adaptions | |||
2017-07-12 | crypto: Fix compile errors for make target 'valgrind' | Sverker Eriksson | |
introduced in 03f3ec41f5468413235e3923a542a11cfd631089 | |||
2017-07-07 | crypto: Fix compatibility problems with openssl 1.0.0 cryptolib | Hans Nilsson | |
2017-07-07 | crypto: introduced preproc symbol HAS_EVP_PKEY_CTX | Hans Nilsson | |
2017-07-07 | crypto: pk verify with new function from PR838 | Hans Nilsson | |
Same comment as previous commit applies. | |||
2017-07-07 | crypto: pk sign with new function from PR838 | Hans Nilsson | |
The function pkey_verify_nif handles pk signing with a general approach that is enabled by EVP api in OpenSSL 1.0.0 The rejected PR838 introduced that function and lots of other stuff so far neglected. It also made some different rsa padding methods possible (included). Since the crypto code base has changed significantly, it was an overhelming work to try a git merge. Therefore this commit is a manual move of the source code from the PR into current maint. This commit concentrates to use the new function compatible with the old functions. This includes some #if:s for different versions, compatibility code for 0.9.8. Lacking: test cases, exporting the more general erlang api, documentation... | |||
2017-07-07 | crypto: Made {rsa,dss,ecdsa}_{sign,verify}_nif similar and all with evp api | Hans Nilsson | |
2017-07-07 | crypto: added a 'macs' entry to proplist in crypto:supports/0 | Hans Nilsson | |
2017-06-02 | Merge pull request #1473 from SalikhovDinislam/static_code | Lukas Larsson | |
Make some C code static | |||
2017-05-29 | Merge pull request #1462 from Vagabond/adt-fix-aes-cfb128 | Hans Nilsson | |
Fix backwards equality check in aes cfb128 function OTP-14435 | |||
2017-05-21 | crypto: Make internal arrays static | Salikhov Dinislam | |
2017-05-15 | Fix backwards equality check in aes cfb128 function | Andrew Thompson | |
2017-05-09 | Remove duplicate aes_gcm from a list of ciphers | Daniil Fedotov | |
2017-05-04 | Update copyright year | Raimo Niskanen | |