Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-12-03 | crypto: Fix bug in change_basename | Sverker Eriksson | |
strrchr used on non null-terminated string. | |||
2013-12-03 | Merge branch 'sverk/yb/aes_ige_crypt' | Sverker Eriksson | |
* sverk/yb/aes_ige_crypt: crypto: Update supports/0 for des3_cbf and aes_ige256 crypto: Throw notsup for AES IGE if openssl older than 0.9.8c crypto: Add IGE mode for AES OTP-11522 | |||
2013-12-02 | Merge branch 'maint' | Henrik Nord | |
2013-11-27 | crypto: Update supports/0 for des3_cbf and aes_ige256 | Sverker Eriksson | |
2013-11-27 | crypto: Throw notsup for AES IGE if openssl older than 0.9.8c | Sverker Eriksson | |
2013-11-21 | Fix some uninitialized pointers in crypto | Anthony Ramine | |
crypto.c:2748:9: warning: variable 'bn_prime' is used uninitialized whenever '||' condition is true [-Wsometimes-uninitialized] if (!get_bn_from_bin(env, argv[0], &bn_verifier) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:2758:6: note: uninitialized use occurs here if (bn_prime) BN_free(bn_prime); ^~~~~~~~ crypto.c:2748:9: note: remove the '||' if its condition is always false if (!get_bn_from_bin(env, argv[0], &bn_verifier) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |||
2013-09-30 | crypto: Add IGE mode for AES | Yura Beznos | |
2013-09-19 | erts, crypto: Support NIF library with unicode filename on windows | Sverker Eriksson | |
2013-06-12 | crypto: Supress some false positives from valgrind | Sverker Eriksson | |
2013-06-12 | crypto: Refactor remove resource for EC_KEY | Sverker Eriksson | |
The resource was not needed as it was never kept between external crypto calls. | |||
2013-06-12 | crypto: Fix some compiler warnings | Sverker Eriksson | |
2013-06-11 | crypto: Fix bug with takover of EC resource type | Sverker Eriksson | |
enif_open_resource_type() must be called even during repeated loading of same library. Otherwise the resource type will be deallocated when the old module instance is purged. | |||
2013-06-07 | Teach crypto.c not to call enif_compute_timeslice with 0 | Patrik Nyblom | |
2013-06-05 | Add enif_consume_timeslice to appropriate crypto NIFs | Patrik Nyblom | |
2013-06-04 | crypto: Avoid big binaries in nifs | Ingela Anderton Andin | |
2013-05-24 | crypto, public_key & ssl: Make more functions accept integer keys | Sverker Eriksson | |
2013-05-08 | crypto: Remove debug printouts | Sverker Eriksson | |
2013-05-08 | ssl & crypto: Generalize the remaining crypto API | Ingela Anderton Andin | |
2013-05-08 | crypto: Add generic functions generate_key and compute_key | Sverker Eriksson | |
and remove corresponding specific functions for srp and ecdh but leave dh_ functions for backward compatibility. | |||
2013-05-08 | crypto: Fix ec_key resource to be upgradeable | Ingela Anderton Andin | |
2013-05-08 | crypto: Combine ec_key_new into ecdh_generate_key | Sverker Eriksson | |
and remove curve from the returned tuple. | |||
2013-05-08 | crypto, public_key: Switch places of ecdh_compute_key arguments | Sverker Eriksson | |
2013-05-08 | crypto, public_key & ssl: Change API to hide resource format for EC KEY | Sverker Eriksson | |
2013-05-08 | crypto: Allow integer keys for rsa_private/public_en/decrypt | Sverker Eriksson | |
as well as mpint's for backward compatibility. | |||
2013-05-08 | crypto: Introduce generic sign() and verify() functions | Sverker Eriksson | |
for rsa, dss, and new ecdsa. No mpint's accepted. | |||
2013-05-08 | crypto: Replaced all mpint's with normal binaries | Sverker Eriksson | |
2013-05-08 | CRYPTO: add support for Elliptic Curves to crypto app | Andreas Schultz | |
Conflicts: lib/crypto/src/crypto.erl | |||
2013-04-03 | crypto: New SRP API | Ingela Anderton Andin | |
Adjust API to better fit in with similar funtions in crypto | |||
2013-04-03 | CRYPTO: add algorithms/0 function that returns a list off compiled in crypto ↵ | Andreas Schultz | |
algorithms add algorithms/0 function that returns a list off compiled in crypto algorithms and make tests suites with SHA226, SHA256, SHA384 and SHA512 conditional based on that | |||
2013-03-28 | CRYPTO: add support for RFC-2945 SRP-3 and RFC-5054 SRP-6a authentication | Andreas Schultz | |
2013-03-28 | crypto: Refactor mod_exp_nif | Sverker Eriksson | |
As a preparation for the new mod_exp_prime and in the quest to reduce to use of the old mpint format. | |||
2012-12-19 | fix missing defines for RIPEMD160_CTX_LEN and RIPEMD160_LEN | Michael Loftis | |
A couple of #defines were missed in my previous patch. | |||
2012-12-18 | add ripemd160 support to crypto | Michael Loftis | |
add ripemd160 message digest support to the crypto app, includes some test cases. | |||
2012-12-04 | crypto: Let info_lib return header version instead of lib version | Sverker Eriksson | |
2012-12-04 | crypto: Throw notsup for DES3 CFB encryption for old openssl | Sverker Eriksson | |
An attempt to enable the use of openssl 0.9.7 | |||
2012-10-22 | crypto: Link crypto_callback statically | Sverker Eriksson | |
if static linking of openssl is used. | |||
2012-10-22 | crypto: Add debug print macros | Sverker Eriksson | |
2012-10-16 | crypto: Enable runtime upgrade of crypto | Sverker Eriksson | |
2012-10-09 | crypto: Make unloading of crypto safer | Sverker Eriksson | |
Facts: crypto nif-lib registers callback functions that openssl uses for memory management and thread synchronization. The callback functions can only be set once, openssl does not allow changing the callback functions. Problem: If openssl is dynamicly linked to crypto, you might get s scenario where the crypto lib is unloaded while leaving openssl loaded with its old pointers to the unloaded crypto code intact. If crypto is then reloaded (by init:restart() for example), the crypto nif-lib might get relocated at a different address. crypto calls openssl which in turn calls the old invalid callback functions...kaboom. Solution: Break apart the callback functions into a separate dynamic lib that crypto loads with dlopen. When crypto is unloaded the callback lib is left in place to be reused if/when crypto is loaded again. | |||
2012-08-29 | crypto: Fix buffer overflow bug in rsa_sign | Sverker Eriksson | |
2012-08-23 | Merge branch 'ia/ssl/tls1.1and1.2' into maint | Ingela Anderton Andin | |
* ia/ssl/tls1.1and1.2: (46 commits) ssl: Clean up of code thanks to dialyzer ssl: Test suite adjustments ssl & public_key: Prepare for release ssl: Use crypto:strong_rand_bytes if possible ssl & public_key: Add use of more "sha-rsa oids" ssl: Fix inet header option to behave as in inet ssl: TLS 1.2: fix hash and signature handling ssl: TLS 1.2: fix Certificate Request list of Accepted Signatur/Hash combinations ssl: Add Signature Algorithms hello extension from TLS 1.2 ssl: Fix rizzo tests to run as intended ssl: TLS-1.1 and TLS-1.2 support should not be default until R16 ssl: Signture type bug ssl: Add crypto support check (TLS 1.2 require sha256 support) ssl: Dialyzer fixes ssl: IDEA cipher is deprecated by TLS 1.2 ssl: Run relevant tests for all SSL/TLS versions ssl: Add TLS version switches to openssl tests ssl: Enable TLS 1.2 ssl: Enable mac_hash for TLS 1.2 ssl: Implement TLS 1.2 signature support ... | |||
2012-08-22 | crypto: Add sha224 for rsa sign/verify | Sverker Eriksson | |
2012-08-22 | crypto: Add sha224 | Sverker Eriksson | |
2012-08-22 | crypto: fix hmac_sha384 and add hmac test cases from RFC-4231 | Andreas Schultz | |
2012-08-22 | crypto: Add sha384 | Sverker Eriksson | |
2012-08-22 | crypto: Cleanup code for sha256 and sha512 | Sverker Eriksson | |
2012-08-22 | crypto: Add SHA256 and SHA512 based MACs | Andreas Schultz | |
2012-08-22 | crypto: Redo interface for rsa and dss hash signing | Sverker Eriksson | |
Replace _hash functions with {digest,_} argument to existing sign/verify functions. | |||
2012-08-22 | crypto: Add rsa and dss hash signing support | Andreas Schultz | |
2012-07-04 | crypto: Allow aes_cfb_128_{en|de}crypt to accept unaligned data | Sverker Eriksson | |
Remove the need for padding up to 16-byte multiple. |