aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2019-06-17Merge branch 'maint'Hans Nilsson
* maint: crypto: Modernized 'Algorithms' section in User's Guide
2019-06-17crypto: Modernized 'Algorithms' section in User's GuideHans Nilsson
Adapted to the "New API" introduced in 22.0
2019-06-17Merge branch 'john/kernel/fix-io-proto-user-drv/OTP-15805'John Högberg
* john/kernel/fix-io-proto-user-drv/OTP-15805: kernel: Force synchronous port_commands in user/user_drv
2019-06-17Merge branch 'maint'Péter Dimitrov
* maint: ssl: Add interop test ssl: Improve handling of signature algorithms
2019-06-17Merge branch 'peterdmv/ssl/tls12-java11-interop/ERL-973/OTP-15887' into maintPéter Dimitrov
* peterdmv/ssl/tls12-java11-interop/ERL-973/OTP-15887: ssl: Add interop test ssl: Improve handling of signature algorithms
2019-06-17Merge branch 'maint'John Högberg
* maint: Updated OTP version Prepare release
2019-06-17Merge branch 'maint-20' into maintJohn Högberg
* maint-20: Updated OTP version Prepare release # Conflicts: # OTP_VERSION # erts/doc/src/notes.xml # erts/vsn.mk # lib/common_test/doc/src/notes.xml # lib/common_test/vsn.mk # lib/tools/doc/src/notes.xml # lib/tools/vsn.mk # make/otp_version_tickets # otp_versions.table
2019-06-14ssl: Add interop testPéter Dimitrov
Add interoperability test for TLS 1.2 server and TLS 1.3 client.
2019-06-14ssl: Improve handling of signature algorithmsPéter Dimitrov
TLS 1.2 ClientHello caused handshake failure in the TLS 1.2 server if the signature_algorithms_cert extension contained legacy algorithms. Update TLS 1.2 server to properly handle legacy signature algorithms in the signature_algorithms_cert extension. Update TLS 1.3 client so that it can send legacy algorithms in its signature_algorithms_cert extension.
2019-06-14Merge branch 'maint'Hans Nilsson
* maint: crypto: Documentation crypto: Enable MAC key length checking in mac-table crypto: Renaming, typing and some polishing crypto: Begin test of the new mac interface directly. crypto: Move mac compatibility functions to hmac.c and cmac.c crypto: Move functions around for better readability crypto: White space removed at line ends crypto: Use dirty schedulers for mac_update crypto: Implement NIFs for the new mac_init, mac_update and mac_final crypto: Use new mac_nif for hmac, cmac and poly1305 crypto: Refactor for readability crypto: Use dirty schedulers for the new mac_nif if large data crypto: MAC nif unifying HMAC, CMAC and POLY1305 crypto: Re-structure cmac and hmac test vector handling crypto: Enable CMAC tests for aes-128-cbc and aes-256-cbc crypto: Remove warnings when linking with LibreSSL
2019-06-14crypto: DocumentationHans Nilsson
2019-06-14crypto: Enable MAC key length checking in mac-tableHans Nilsson
2019-06-14crypto: Renaming, typing and some polishingHans Nilsson
2019-06-14crypto: Begin test of the new mac interface directly.Hans Nilsson
2019-06-14crypto: Move mac compatibility functions to hmac.c and cmac.cHans Nilsson
The ultimate goal is to get rid of compatibility with old cryptolib versions so we could remove those compatibility files permanently.
2019-06-14crypto: Move functions around for better readabilityHans Nilsson
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-14Merge branch 'maint'Hans Nilsson
* maint: crypto: Adjust code for spec conflict
2019-06-14crypto: Adjust code for spec conflictHans Nilsson
2019-06-14Merge branch 'maint'Hans Bolinder
* maint: Allow native compilation when calling Dialyzer from Erlang
2019-06-14Merge branch 'legoscia/dialyzer/native_erlang_mode/OTP-15880/PR-2283' into maintHans Bolinder
* legoscia/dialyzer/native_erlang_mode/OTP-15880/PR-2283: Allow native compilation when calling Dialyzer from Erlang
2019-06-14Prepare releaseErlang/OTP
2019-06-14Merge branch ↵Erlang/OTP
'siri/ct/fail-after-failed-init_per_testcase/ERIERL-350/OTP-15869' into maint-20 * siri/ct/fail-after-failed-init_per_testcase/ERIERL-350/OTP-15869: [ct] Allow post_init_per_testcase to change skip to fail
2019-06-14Merge branch 'siri/ct/hook-terminated-not-initiated/ERIERL-370/OTP-15863' ↵Erlang/OTP
into maint-20 * siri/ct/hook-terminated-not-initiated/ERIERL-370/OTP-15863: [ct] Fix bug where Hook:terminate/1 was called before Hook:init/2
2019-06-14Merge branch 'john/tools/fix-cover-register-race/ERL-943/OTP-15813' into ↵Erlang/OTP
maint-20 * john/tools/fix-cover-register-race/ERL-943/OTP-15813: cover: Fix register/2 race on startup
2019-06-14Merge branch 'maint'Siri Hansen
2019-06-14Merge branch ↵Siri Hansen
'siri/ct/fail-after-failed-init_per_testcase/ERIERL-350/OTP-15869' into maint * siri/ct/fail-after-failed-init_per_testcase/ERIERL-350/OTP-15869: [ct] Allow post_init_per_testcase to change skip to fail
2019-06-13Merge pull request #2285 from kostis/erts_debug-lc_graphSverker Eriksson
Add lc_graph in the allowed arguments of get_internal_state/1
2019-06-13Merge branch 'maint'Dan Gudmundsson
* maint: Fix wxe_driver improper realloc call
2019-06-13Merge pull request #2261 from michael-swan/fix_wxe_driver_reallocDan Gudmundsson
OTP-15883
2019-06-13Merge branch 'maint'Ingela Anderton Andin
2019-06-13Merge branch 'john/compiler/common-type-representation/OTP-15792'John Högberg
* john/compiler/common-type-representation/OTP-15792: beam_validator: Replace old type representation with beam_types beam_validator: Subtract types when inferring type test BIFs beam_call_types: Improve type handling of lists:zip/2 and friends compiler: Move "known functions" to beam_types compiler: Break out SSA/beam type definitions into a separate module beam_ssa_type: Fix meet/join inconsistency beam_ssa_type: Fix 'band' type determination beam_validator: Reduce literals to their types beam_validator: Refactor local call validation beam_validator: Simplify the match context type beam_validator: Use integers as tuple element keys
2019-06-13Merge branch 'ingela/ssl/handshake-handling/ERL-968/OTP-15879' into maintIngela Anderton Andin
* ingela/ssl/handshake-handling/ERL-968/OTP-15879: ssl: Correct handshake handling
2019-06-13ssl: Correct handshake handlingIngela Anderton Andin
Solves ERL-968, a refactoring bug could cause part of a server key exchange message to be appended, to an incorrectly duplicated, certificate handshake message. In the end causing an ASN1 decoding error. That in turn did not end up the correct error handling branch.
2019-06-13Merge branch 'maint'Péter Dimitrov
* maint: ssl: Fix run_client_error/1 in ssl_test_lib
2019-06-13Merge branch 'peterdmv/ssl/fix-testcases' into maintPéter Dimitrov
* peterdmv/ssl/fix-testcases: ssl: Fix run_client_error/1 in ssl_test_lib
2019-06-13Merge branch 'maint'John Högberg
* maint: Updated OTP version Prepare release # Conflicts: # OTP_VERSION
2019-06-13Merge branch 'maint-22' into maintJohn Högberg
* maint-22: Updated OTP version Prepare release # Conflicts: # make/otp_version_tickets
2019-06-13Merge pull request #2279 from lyrra/specs_genHans Bolinder
[trivial] specs_gen script fix error message
2019-06-12Add lc_graph in the allowed arguments of get_internal_state/1Kostis Sagonas
The code contains a call to the erts_debug:get_internal_state/1 BIF with an atom that is not specified in the allowed arguments of this BIF.
2019-06-12Allow native compilation when calling Dialyzer from ErlangMagnus Henoch
Invoking Dialyzer through the function dialyzer:run/1 instead of from the command line activates "Erlang mode", meaning that warnings are returned instead of printed, and that HiPE compilation of modules does not take place. With this change, HiPE compilation can optionally be enabled in this situation by passing the option {native, true}. Caching of natively compiled modules is enabled by default, but can be turned off using the option {native_cache, false}.