aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto
AgeCommit message (Collapse)Author
2019-03-22crypto: Update CipherModes for PR/2186Hans Nilsson
2019-03-22crypto: Declare *_info return map and other review-commentsHans Nilsson
2019-03-22crypto: Declare *_info return map and other review-commentsHans Nilsson
Conflicts: lib/crypto/doc/src/crypto.xml
2019-03-22crypto: Document hash_info/1 and cipher_info/1Hans Nilsson
2019-03-22crypto: Rename block_crypto_with/without to match stream_cipher namesHans Nilsson
2019-03-22crypto: New types (block_cipher)Hans Nilsson
2019-03-22Merge pull request #2186 from essen/improve-cipher-infoHans Nilsson
Make crypto:cipher_info work for all ciphers and aliases OTP-15655
2019-03-21crypto: Fixup unused label warningHans Nilsson
2019-03-21crypto: Fixup 'break strict-aliasing rules' warningHans Nilsson
2019-03-21crypto: Fixup 'break strict-aliasing rules' warningHans Nilsson
2019-03-21crypto: Fixup the ripemd160 macro chaosHans Nilsson
2019-03-21crypto: Test suite fix for unavailable CMACHans Nilsson
2019-03-21crypto: Handle additional OPENSSL_NO_* flagsHans Nilsson
OPENSSL_NO_MD4 OPENSSL_NO_MD5 OPENSSL_NO_RC2 OPENSSL_NO_RC4 OPENSSL_NO_RMD160 OPENSSL_NO_CMAC OPENSSL_NO_CHACHA
2019-03-21Hardcode aes_ctr cipher infos to support older cryptolibsLoïc Hoguin
2019-03-19Add missing cipher modes to crypto:cipher_info/1 resultLoïc Hoguin
2019-03-19Make crypto:cipher_info work for all ciphers and aliasesLoïc Hoguin
2019-03-19crypto: Add FIPS testing for a couple of algorithmsHans Nilsson
in crypto_SUITE.
2019-03-19crypto: Sort ciphers in alphabetic order in testsuiteHans Nilsson
2019-03-19crypto: Better error report in crypto_SUITEHans Nilsson
2019-03-19crypto: Wrong ifdef symbol used for ENGINEHans Nilsson
2019-03-19crypto: Handle EVP_CIPHER_CTX copying correctlyHans Nilsson
2019-03-19crypto: Fix bug in ng_apiHans Nilsson
2019-03-19crypto: Better error descriptionsHans Nilsson
2019-03-19crypto: Fix bug for older cryptolibHans Nilsson
2019-03-19crypto: Fix leak for eddsa detected by ValgrindHans Nilsson
2019-03-19crypto: Testcase for TLS using new APIHans Nilsson
2019-03-19crypto: Rename SSL special functionsHans Nilsson
to crypto_init_dyn_iv/3 and crypto_update_dyn_iv/3
2019-03-19crypto: New function for SSL appHans Nilsson
2019-03-19crypto: Remove compat specials from crypto_initHans Nilsson
2019-03-19crypto: Exceptions as error return in api_ngHans Nilsson
2019-03-19crypto: Relocate the new api code inside the crypto.erl fileHans Nilsson
2019-03-19crypto: Cleaning of comments + spec fixingHans Nilsson
2019-03-19crypto: Remove unused variables in test caseHans Nilsson
2019-03-19crypto: Test fixes for stream api emulated by the new apiHans Nilsson
The test case for the stream api creates one initial state with stream_init/3 That initial state is then used for a series of encrypts, and for a series of decrypts. That is not possible any more since the changes are saved in the nif reference.
2019-03-19crypto: Shrink aes.c,h (remove aes_ctr_stream_* funcs)Hans Nilsson
2019-03-19crypto: Remove chacha20.c,h and rc4.c,hHans Nilsson
Replaced by api_ng.c
2019-03-19crypto: Use/implement new funcs for stream-apiHans Nilsson
2019-03-19crypto: Test the new apiHans Nilsson
2019-03-19crypto: Remove block.c and block.hHans Nilsson
Replaced by api_ng.c
2019-03-19crypto: Fix syntax error in ASSERTHans Nilsson
2019-03-19crypto: Implement crypto one-shotHans Nilsson
Also: Compatibility functions for aes_ctr in historic crypto libs
2019-03-19crypto: Remove condition of block sizeHans Nilsson
Unnecessary, because the underlying crypto libraries handles this case. Also: - Relax the condition of binary Key and IV -Fix bug for empty data on historic cryptolibs because tests fails for empty data on at least aes_cfb8 on OpenSSL 0.9.8h. It does not fail on OpenSSL 0.9.8zh.
2019-03-18Merge branch 'hans/crypto/fix_chacha20_bug/OTP-15678'Hans Nilsson
* hans/crypto/fix_chacha20_bug/OTP-15678: crypto: Disable chacha20 if OpenSSL 1.1.0-1.1.0c
2019-03-15crypto: Disable chacha20 if OpenSSL 1.1.0-1.1.0cHans Nilsson
due to a bug. The cipher first appeared in 1.1.0
2019-03-15crypto: Fix bug in error return for crypto:poly1305/2Hans Nilsson
Returned the atom notsup instead of the exception notsup.
2019-03-12Merge branch 'maint'Henrik Nord
* maint: Updated OTP version Prepare release
2019-03-11Prepare releaseErlang/OTP
2019-03-06Add crypto:cipher_info/1 and crypto:hash_info/1Loïc Hoguin
Also adds some more aliases that contain the key length in their name.
2019-02-28Merge branch 'hans/crypto/bad_ret_fips/OTP-15634' into maintHans Nilsson
* hans/crypto/bad_ret_fips/OTP-15634: crypto: Fix bad return value for aes_cfb8 and aes_cfb128 if FIPS_SUPPORT crypto: Fix bad return code for eddsa if FIPS_SUPPORT
2019-02-27crypto: Fix FIPS modeHans Nilsson
There were some bad values returned if FIPS mode was enabled. The exclusion of algorithms were not completly correct either.