aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto
AgeCommit message (Collapse)Author
2019-06-14crypto: White space removed at line endsHans Nilsson
2019-06-14crypto: Use dirty schedulers for mac_updateHans Nilsson
2019-06-14crypto: Implement NIFs for the new mac_init, mac_update and mac_finalHans Nilsson
Use them for old HMAC functions. Also simplify hmac and cmac on the Erlang level
2019-06-14crypto: Use new mac_nif for hmac, cmac and poly1305Hans Nilsson
2019-06-14crypto: Refactor for readabilityHans Nilsson
2019-06-14crypto: Use dirty schedulers for the new mac_nif if large dataHans Nilsson
2019-06-14crypto: MAC nif unifying HMAC, CMAC and POLY1305Hans Nilsson
into one nif using the EVP_DigestSign interface. This enables acceleration if available in lower layers, that is, in cryptolib and lower. However, for older cryptolibs the old HMAC and CMAC low-level interfaces are used, but moved from hmac.c and cmac.c into mac.c.
2019-06-14crypto: Re-structure cmac and hmac test vector handlingHans Nilsson
as a preparation for a unified cmac and hmac test case.
2019-06-14crypto: Enable CMAC tests for aes-128-cbc and aes-256-cbcHans Nilsson
2019-06-14crypto: Remove warnings when linking with LibreSSLHans Nilsson
got warning for unused function.
2019-06-14crypto: Adjust code for spec conflictHans Nilsson
2019-05-29Prepare releaseErlang/OTP
2019-05-22crypto: Re-enable aes_ctr for openssl cryptolib < 1.0.1Hans Nilsson
It was accidently disabled in the crypto:supports/0 and /1. It worked however in the encrypt/decrypt functions.
2019-05-10Prepare releaseErlang/OTP
2019-05-03crypto: Doc link fixesHans Nilsson
2019-05-03Merge branch 'hans/crypto/new_supports_1/OTP-15771'Hans Nilsson
* hans/crypto/new_supports_1/OTP-15771: crypto: Document supports/1
2019-04-30crypto: Document supports/1Hans Nilsson
2019-04-24Revert "Prepare release"Rickard Green
This reverts commit 425889ba69b69a9b6fb14bfbef121d51b78e853a.
2019-04-23Prepare releaseErlang/OTP
2019-04-18Merge branches 'hans/crypto/new_supports_1/OTP-15771', ↵Hans Nilsson
'hans/ssh/new_supports', 'hans/crypto/remove_warnings' and 'hans/ssh/remove_warnings' * hans/crypto/new_supports_1/OTP-15771: crypto: New function supports/1 * hans/ssh/new_supports: ssh: Use new api for aead ciphers ssh: Use correct names of ciphers * hans/crypto/remove_warnings: ssh: Fix deprecation warnings in tests crypto: Remove unused var warning in tests * hans/ssh/remove_warnings: ssh: Fix deprecation warnings in tests ssh: Remove unused function warning in tests ssh: Remove unused var warning in tests ssh: Remove unused var warning
2019-04-17ssh: Fix deprecation warnings in testsHans Nilsson
2019-04-17crypto: Remove unused var warning in testsHans Nilsson
2019-04-17crypto: New function supports/1Hans Nilsson
Takes argument hashs, public_keys, ciphers, macs, curves or rsa_opts. Returns the algorithm names, but ONLY the openssl names. supports/0 still returns aliases and misspellings.
2019-04-12Merge branch 'maint'Hans Nilsson
* maint: Updated OTP version Prepare release # Conflicts: # OTP_VERSION # make/otp_version_tickets_in_merge
2019-04-12Prepare releaseErlang/OTP
2019-04-12Merge branch 'sverker/crypto/bcmp-memcmp-fix/OTP-15750' into maint-21Erlang/OTP
* sverker/crypto/bcmp-memcmp-fix/OTP-15750: crypto: Fix link error on windows
2019-04-11crypto: Rename 'crypto_(init|update)_dyn_iv' to 'crypto_dyn_iv_(init|update)'Hans Nilsson
2019-04-11crypto: Rename crypto_aead to crypto_one_time_aeadHans Nilsson
2019-04-11crypto: Doc review commentsHans Nilsson
This reverts commit c207d2438017d15e32f47f5ff7168759b3d123fc.
2019-04-10crypto: Obey compile flags for no DSA, BF, DES, DHHans Nilsson
2019-04-10crypto: Remove compiler warning on an fprintf in the otp test engineHans Nilsson
The otp_test_engine is only used in some of the test cases.
2019-04-10crypto: Fix valgrind error in api_ng.c ng_crypto_one_time for OpenSSL<1.0.1Hans Nilsson
2019-04-08Merge branch 'sverker/master/crypto/bcmp-memcmp-fix/OTP-15750'Sverker Eriksson
* sverker/master/crypto/bcmp-memcmp-fix/OTP-15750: crypto: Fix link error on windows
2019-04-05Merge branch 'sverker/crypto/bcmp-memcmp-fix/OTP-15750'Sverker Eriksson
into sverker/master/crypto/bcmp-memcmp-fix/OTP-15750
2019-04-05crypto: Fix link error on windowsSverker Eriksson
Replace deprecated 'bcmp' with 'memcmp'.
2019-04-05crypto: User's Guide and Reference Manual for the new apiHans Nilsson
2019-04-05crypto: Fix valgrind error for api_ng.cHans Nilsson
2019-04-05crypto: Fixup lots of testsHans Nilsson
2019-04-05crypto: Rename new api and rework the typingHans Nilsson
Split conceptually into an OLD and a NEW api with separate typing. The NEW api will in general not provide types for ciphers without key length like aes_ctr. Use aes_128_ctr etc. Later the C-code will not accept them either.
2019-04-05crypto: Misc C-changes,Hans Nilsson
error fixes, better error reporting (file and line), make aead more robust and like the _ng api.
2019-03-26Revert "Prepare release"Henrik Nord
This reverts commit 0118046f9bda8dcf3594184fa439b79267db8017.
2019-03-25Prepare releaseErlang/OTP
2019-03-22crypto: New error schema in aead.cHans Nilsson
2019-03-22crypto: Move new error macros to common.hHans Nilsson
2019-03-22crypto: Use key length in alias/2Hans Nilsson
2019-03-22crypto: Remove old commentHans Nilsson
2019-03-22crypto: Restore 'error' as result of failed aead decryptionHans Nilsson
2019-03-22crypto: Update types of hash algorithmsHans Nilsson
2019-03-22crypto: Cuddle error types and documentation of themHans Nilsson
2019-03-22crypto: Note about key lengths for cipher_info/1Hans Nilsson