Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-12-01 | Merge branch 'maint' | Hans Nilsson | |
* maint: crypto: engine_SUITE update crypto: fix pubkey_to_privkey | |||
2017-12-01 | crypto: fix pubkey_to_privkey | Hans Nilsson | |
2017-11-23 | Merge branch 'maint' | Hans Nilsson | |
2017-11-23 | Merge branch 'hans/crypto/doc_engine_keys/OTP-14735' into maint | Hans Nilsson | |
2017-11-22 | Merge branch 'maint' | Hans Nilsson | |
2017-11-21 | crypto: Fixes to make privkey_to_pubkey behave similar to other functions | Hans Nilsson | |
2017-11-20 | crypto: Engine stored keys doc | Hans Nilsson | |
2017-11-10 | Merge branch 'maint' | Hans Nilsson | |
2017-11-10 | crypto: Doc privkey_to_pubkey/2 | Hans Nilsson | |
2017-11-10 | Merge branch 'maint' | Hans Nilsson | |
2017-11-10 | crypto: Documentation for pkey engine loading | Hans Nilsson | |
2017-11-10 | Merge branch 'maint' | Lars Thorsen | |
2017-11-10 | [crypto] Add support for loading an alternative Engine | Lars Thorsen | |
Add support to plug in alternative implementations for some or all of the cryptographic operations supported by the OpenSSL Engine API. When configured appropriately, OpenSSL calls the engine's implementation of these operations instead of its own. | |||
2017-10-05 | Merge pull request #1573 from RaimoNiskanen/raimo/crypto/rand-cached | Raimo Niskanen | |
Rand plugin for cached strong crypto bytes OTP-13370 | |||
2017-09-28 | Make cache size configurable | Raimo Niskanen | |
2017-09-24 | Document crypto rand cache | Raimo Niskanen | |
2017-07-07 | crypto: doc sign/5 and verify/6 | Hans Nilsson | |
2017-07-07 | crypto: added a 'macs' entry to proplist in crypto:supports/0 | Hans Nilsson | |
2017-05-04 | Update copyright year | Raimo Niskanen | |
2017-04-12 | Merge branch 'ingela/openssl-version' | Ingela Anderton Andin | |
* ingela/openssl-version: crypto: Update documentation to reflect new version policy erts: Update configure check for OpenSSL | |||
2017-04-07 | crypto: Update documentation to reflect new version policy | Ingela Anderton Andin | |
2017-04-04 | Clean up documentation and test cases | Raimo Niskanen | |
2017-03-22 | fixup! Support cryptographically strong rand plugin | Guilherme Andrade | |
Fix documented range (interval is half-open.) | |||
2017-03-22 | fixup! Support cryptographically strong rand plugin | Guilherme Andrade | |
Be friendlier to Dialyzer | |||
2017-03-18 | No longer expose strong_rand_(range|float) | Guilherme Andrade | |
2017-03-18 | Support cryptographically strong rand plugin | Guilherme Andrade | |
2017-03-18 | Restyle crypto strong numeric generators | Guilherme Andrade | |
for usage in rand | |||
2017-03-14 | Support generation of strong random numbers | Guilherme Andrade | |
2017-03-13 | Merge branch 'wiml/crypto/rsa-generate-key/ERL-165/PR-1299/OTP-14140' | Hans Nilsson | |
2017-03-09 | crypto: Document exceptions thrown in crypto:generate_key | Hans Nilsson | |
2017-02-03 | Merge branch 'maint' | Hans Nilsson | |
2017-02-02 | ssh: document crypto:genarate_key(dh, [P,G,L]) | Hans Nilsson | |
2017-01-18 | Minor punctuation fixes in the crypto documentation. | Wim Lewis | |
2017-01-18 | Update the documentation for RSA key generation | Wim Lewis | |
to reflect that dirty schedulers are no longer considered "experimental", per a comment from sverker. | |||
2017-01-08 | Add RSA key generation | Wim Lewis | |
Support RSA key generation using generate_key(rsa, {bits, e}). This depends on the currently-experimental "dirty scheduler" support because key generation is a potentially lengthy process. | |||
2016-09-28 | Document FIPS mode support | Dániel Szoboszlay | |
2016-09-07 | Merge branch 'maint' | Raimo Niskanen | |
2016-09-02 | Add '_cfb' alias for misspelled '_cbf' cipher | Raimo Niskanen | |
2016-08-12 | Added a reference to cmac RFC in the description part of the man page | Petr Gotthard | |
2016-07-30 | crypto:cmac calculating the Cipher-based Message Authentication Code | Petr Gotthard | |
The ERL-82 issue requests a way to calculate a CMAC in Erlang. The AES128 CMAC is standartized in RFC 4493 and used e.g. for message authentication in the LoRaWAN networks. The CMAC is implemented by OpenSSL since v1.0.1, but as @IngelaAndin stated in response to the ERL-82, the current crypto implementation does not include functions that call those OpenSSL cryptolib functions. This commit introduces a new function `crypto:cmac` that calls the corresponding OpenSSL functions and calculates the CMAC. Only the cmac_nif is implemented. The incremental functions (init, update, final) are not provided because the current OpenSSL does not allow custom memory allocators like `enif_alloc_resource`. The Erlang user guide states that at least OpenSSL 0.9.8 is required, so I added few #ifdefs so the code is compatible with all versions. However, the OpenSSL pages say that the pre-1.0.1 versions (0.9.8 and 1.0.0) are no longer maintained. Even the 1.0.1 will be retired by Dec 2016. Hence I believe that adding a 1.0.1-only function like CMAC should be OK. | |||
2016-04-25 | crypto: Deprecate rand_bytes/1 | Ingela Anderton Andin | |
OpenSSL has deprecated the function RAND_pseudo_bytes used by crypto:rand_bytes/1, so this function is now deprecated in OTP too. rand_bytes/3 also used this function, but was not documented so we can remove it right away. This commit also removes the fallback in generate_key to use rand_bytes/1 if strong_rand_bytes/1 throws low entropy. This is a potential incompatibility but we think it is desirable as crypto should provide cryptographically secure functions. | |||
2016-04-18 | Merge branch 'mururu/crypto/aes-gcm-tag-len.PR-998.OTP-13483' | Sverker Eriksson | |
2016-03-26 | crypto: Enable AES-GCM tag length to change | Yuki Ito | |
This commit enables AES-GCM encryption/decryption to change its tag length between 1 to 16 bytes. | |||
2016-03-15 | update copyright-year | Henrik Nord | |
2015-12-11 | crypto: Support 192-bit keys for AES CBC | Sverker Eriksson | |
and deprecate aes_cbc128 and aes_cbc256 in favor of aes_cbc. This commit is pr 832 squashed, rebased and made work on master https://github.com/erlang/otp/pull/832/commits | |||
2015-11-20 | Merge branch 'riverrun/maint' into maint | Zandra | |
* riverrun/maint: Recommend against using crypto:rand_bytes | |||
2015-11-17 | [crypto] Correct documentation | Hans Bolinder | |
Fix mistakes found by 'xmllint'. | |||
2015-11-06 | Recommend against using crypto:rand_bytes | David Whitlock | |
2015-09-25 | Fix typos in crypto documentation | Magnus Henoch | |
s/stong_rand_bytes/strong_rand_bytes/, s/bts/bits/ | |||
2015-06-18 | Change license text to APLv2 | Bruce Yinhe | |