aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/c_src
AgeCommit message (Collapse)Author
2019-06-27Merge pull request #2296 from grisp/sylane/crypto-fix-static-nifs-buildHans Nilsson
crypto: Fix the build of static crypto nifs OTP-15928
2019-06-26crypto: Adjust VALGRIND declsHans Nilsson
Seem to detect false positives
2019-06-26crypto: Fix mem leak detected by valgrindHans Nilsson
2019-06-26crypto: Fix the build of static crypto nifsSebastien Merle
2019-06-19crypto: Fix FIPS flags for MACsHans Nilsson
2019-06-19crypto: Fix FIPS flags for digests in HMACHans Nilsson
2019-06-19crypto: Fix FIPS flags for digestsHans Nilsson
2019-06-19crypto: Rename cipher fips macroHans Nilsson
FORBIDDEN_IN_FIPS -> CIPHER_FORBIDDEN_IN_FIPS
2019-06-14crypto: Enable MAC key length checking in mac-tableHans 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: 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: Remove warnings when linking with LibreSSLHans Nilsson
got warning for unused function.
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-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-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-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: Fix valgrind error for api_ng.cHans Nilsson
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-22crypto: New error schema in aead.cHans Nilsson
2019-03-22crypto: Move new error macros to common.hHans 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: 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-19Add missing cipher modes to crypto:cipher_info/1 resultLoïc Hoguin
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: New function for SSL appHans Nilsson
2019-03-19crypto: Exceptions as error return in api_ngHans Nilsson
2019-03-19crypto: Cleaning of comments + spec fixingHans Nilsson
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: 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