summaryrefslogtreecommitdiff
path: root/lib/crypto/c_src
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright yearErlang/OTP2023-05-151-1/+1
|
* Merge branch 'maint'Sverker Eriksson2023-05-021-0/+9
|\
| * Merge branch 'sverker/crypto/libre-ssl-fixing/OTP-18571' into maintSverker Eriksson2023-05-021-0/+9
| |\
| | * crypto: Fix cmac_update aes_128_cbc for LibreSSLSverker Eriksson2023-04-251-0/+9
| | |
* | | Merge branch 'maint' into masterJakub Witczak2023-04-271-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | * maint: Updated OTP version Prepare release Update copyright year
| * | Update copyright yearErlang/OTP2023-04-251-1/+1
| | |
* | | Merge pull request #7124 from u3s/kuba/crypto/fix_len_var_type/OTP-18555Jakub Witczak2023-04-191-2/+2
|\ \ \ | |/ / | | | crypto: dh.c change len type to ErlNifUInt64
| * | crypto: dh.c change len type to ErlNifUInt64Jakub Witczak2023-04-171-2/+2
| |/ | | | | | | | | - fix for "Can't do fromdata" observed on Windows builds - and ssh tests
* | Update copyright yearErlang/OTP2023-02-143-3/+3
| |
* | Merge branch 'maint'Lars Thorsen2022-12-011-11/+13
|\ \ | |/
| * Update the engine test suiteLars Thorsen2022-10-141-11/+13
| | | | | | | | | | - Add a test case for sign/verify with edsca - Add some printout from the test engine
* | crypto: Fix bad assert and err msgHans Nilsson2022-08-261-3/+1
| |
* | Merge branch 'maint'Hans Nilsson2022-08-241-1/+1
|\ \ | |/ | | | | | | * maint: crypto: Don't fail loading if the legacy provider is missing
| * crypto: Don't fail loading if the legacy provider is missingHans Nilsson2022-08-191-1/+1
| |
* | Merge branch 'maint'Hans Nilsson2022-08-191-4/+3
|\ \ | |/ | | | | | | | | * maint: public_key: Add test case crypto: Make sign/verify for eddsa skip the Type arg
| * crypto: Make sign/verify for eddsa skip the Type argHans Nilsson2022-08-191-4/+3
| | | | | | | | it was so in versions < OTP-25
* | Merge branch 'maint' into masterLars Thorsen2022-08-181-1/+1
|\ \ | |/ | | | | | | | | | | * maint: Updated OTP version Prepare release Update copyright year
| * Merge branch 'maint-24' into maintLars Thorsen2022-08-181-1/+1
| |\ | | | | | | | | | | | | | | | | | | * maint-24: Updated OTP version Prepare release Update copyright year
| | * Update copyright yearErlang/OTP2022-08-171-1/+1
| | |
* | | Merge pull request #6167 from neheb/1Hans Nilsson2022-08-173-2/+13
|\ \ \ | | | | | | | | | | | | | | | | otp: fix compilation - deprecated OpenSSL APIs OTP-18206
| * | | otp: fix compilation - deprecated OpenSSL APIsRosen Penev2022-08-133-2/+13
| | | | | | | | | | | | | | | | Signed-off-by: Rosen Penev <rosenp@gmail.com>
* | | | Merge pull request #6203 from ↵Hans Nilsson2022-08-177-3/+75
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | marcellanz/crypto/4871_support_for_SHAKE128_and_SHAKE256 [crypto/4871] Add support for SHAKE128 and SHAKE256. OTP-18204
| * | | [crypto/4871] code review: hash_final_xof_nif implenentations depend on ↵Marcel Lanz2022-08-113-42/+43
| | | | | | | | | | | | | | | | SHAKExxx flags set by openssl_config.h.
| * | | [crypto/4871] code review: return EXCP_NOTSUP for OPENSSL_VERSION_NUMBER < 1.0Marcel Lanz2022-08-091-0/+5
| | | |
| * | | [crypto/4871] code review: remove superfluous line left and align with ↵Marcel Lanz2022-08-091-3/+2
| | | | | | | | | | | | | | | | formatted code.
| * | | [crypto/4871] Add support for SHAKE128 and SHAKE256.Marcel Lanz2022-08-087-3/+70
| | | |
* | | | Merge pull request #6196 from dmitrivereshchagin/crypto/v3-cipher-namesHans Nilsson2022-08-151-11/+11
|\ \ \ \ | |/ / / |/| | | | | | | | | | | crypto: Fix AES and Blowfish names for OpenSSL 3.0 OTP-18200
| * | | crypto: Fix AES and Blowfish names for OpenSSL 3.0Dmitri Vereshchagin2022-08-031-11/+11
| | | | | | | | | | | | | | | | | | | | Before this change AES in 128 bit CFB mode and Blowfish in CFB/OFB modes are always reported as unsupported when linked with OpenSSL 3.0.
* | | | Merge branch 'lars/crypto/engine_load_rewrite_24/OTP-18172/ERIERL-826' into ↵Lars Thorsen2022-08-053-206/+43
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| | | | | | | maint * lars/crypto/engine_load_rewrite_24/OTP-18172/ERIERL-826: Changed the behaviour of the engine load functions
| * | Changed the behaviour of the engine load functionsLars Thorsen2022-08-043-206/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The engine load/unload functions have got changed semantics to get a more consistent behaviour and work correct when variables are garbage collected. The load functions now don't register the methods for the engine to replace. That will now be handled with the new functions engine_register/engine_unregister if needed. Some functions functions are removed from the documentation and therefor the API, but they are left in the code for compatibility. engine_load/4: is now the same as engine_load/3 engine_unload/2: is now the same as engine_unload/1 ensure_engine_loaded/3: is now the same as ensure_engine_loaded/2 ensure_engine_unloaded/1, ensure_engine_unloaded/2: is now the same as engine_unload/1
* | | crypto: ECDSA/ECDH curve as a 2-tuple {{..old def..}, Name} from erl to nifHans Nilsson2022-06-172-3/+14
| |/ |/| | | | | | | To enable EC selection by name that is a requirement for FIPS in OpenSSL 3.0
* | Merge branch 'maint-25' into maintIngela Anderton Andin2022-06-091-1/+1
|\ \ | | | | | | | | | | | | | | | | | | * maint-25: Updated OTP version Prepare release Update copyright year
| * | Update copyright yearErlang/OTP2022-06-081-1/+1
| | |
* | | crypto: Remove --disable-deprecated-warnings config flagHans Nilsson2022-06-031-1/+6
|/ / | | | | | | Not needed anymore. Permanently applied to dh.c and otp_test_engine.c in the Makefile
* | crypto: mac.c for 3.0Hans Nilsson2022-05-251-49/+177
| | | | | | | | mac, mac_init, mac_update, mac_final
* | Update copyright yearErlang/OTP2022-05-171-1/+1
| |
* | Merge branch 'maint'Lars Thorsen2022-05-131-10/+0
|\ \ | |/
| * Update documentation and remove printoutLars Thorsen2022-05-121-10/+0
| |
* | Merge branch 'maint'Lars Thorsen2022-05-123-209/+584
|\ \ | |/
| * Fix timing bug in ensure_engine_loadedLars Thorsen2022-05-113-210/+585
| | | | | | | | | | | | | | | | | | When two ensure_engine_loaded() calls were done in parallell there was a possibility that a crypto lib function was called by both instead of just one of them. This is solved by moving the implementation from erlang down into a nif function that uses a mutex to protect the sensitive part.
* | crypto: ec_generate_key_nif - use old code for the failing caseHans Nilsson2022-05-092-67/+219
| |
* | crypto: ecdh_compute_key_nif for 3.0Hans Nilsson2022-05-091-1/+107
| |
* | crypto: get_ec_public_key and get_ec_private_key for 3.0Hans Nilsson2022-05-091-0/+97
| |
* | crypto: introduce helper get_curve_definitionHans Nilsson2022-05-092-0/+191
| |
* | crypto: Extend bn.*Hans Nilsson2022-05-093-7/+26
| |
* | crypto: Prepare: Re-arrange if-defsHans Nilsson2022-05-091-8/+9
| |
* | Merge pull request #5866 from ausimian/add_aes_ofb_modeHans Nilsson2022-04-211-0/+4
|\ \ | | | | | | | | | | | | Add OFB mode support for AES OTP-18067
| * | Add OFB mode support for AESausimian2022-04-071-0/+4
| | | | | | | | | | | | | | | Add Output Feedback mode support for AES encryption / decryption for key sizes of 128, 192 and 256 bits.
* | | Update copyright yearErlang/OTP2022-04-111-1/+1
|/ /
* | crypto: Replace BN_pseudo_rand_range deprecated in 3.0Hans Nilsson2022-03-311-0/+4
| | | | | | | | with BN_rand_range