Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use SOCK_CLOEXEC to avoid leaking FDsHEADmaster | Miloslav Trmač | 2010-12-15 | 1 | -24/+24 |
| | | | | | This requires _GNU_SOURCE, which in turn requires renaming the "encrypt" identifier to avoid a conflict with a function from <crypt.h>. | ||||
* | Merge branch 'local' | Miloslav Trmač | 2010-12-02 | 1 | -24/+0 |
|\ | |||||
| * | Drop ncr_private_key_create ().local | Miloslav Trmač | 2010-12-02 | 1 | -24/+0 |
| | | | | | | | | | | The current API exposes NSS internal mechanisms, drop it for now. Perhaps a better interface can be added in the future. | ||||
* | | Merge branch 'local', drop openssl helper | Miloslav Trmač | 2010-12-02 | 2 | -20/+20 |
|\| | | | | | | | | | Conflicts: lib/ncrypto_local.c | ||||
| * | Add missing #include | Miloslav Trmač | 2010-12-02 | 1 | -0/+1 |
| | | |||||
| * | Use NSS for random number generation | Miloslav Trmač | 2010-12-02 | 2 | -11/+19 |
| | | |||||
* | | Merge branch 'local' | Miloslav Trmač | 2010-11-30 | 1 | -191/+545 |
|\| | |||||
| * | Add DSA | Miloslav Trmač | 2010-11-30 | 1 | -0/+347 |
| | | |||||
| * | Validate structure version and algorithm ID on export | Miloslav Trmač | 2010-11-30 | 1 | -0/+13 |
| | | |||||
| * | Use PKCS#8 privateKeyInfo for private keys in DER form | Miloslav Trmač | 2010-11-30 | 1 | -85/+92 |
| | | |||||
| * | Split rsa_validate_algorithm_id () | Miloslav Trmač | 2010-11-30 | 1 | -13/+19 |
| | | |||||
| * | Beautify | Miloslav Trmač | 2010-11-30 | 1 | -2/+2 |
| | | |||||
| * | Use subjectPublicKeyInfo for public keys in DER form | Miloslav Trmač | 2010-11-30 | 1 | -105/+86 |
| | | | | | | | | | | Also avoid subjectPublicKeyInfo encoding/decoding when handling RSA key details. | ||||
* | | Merge branch 'local' | Miloslav Trmač | 2010-11-29 | 1 | -104/+652 |
|\| | |||||
| * | Make private key sensitivity visible to NSS | Miloslav Trmač | 2010-11-29 | 1 | -5/+15 |
| | | |||||
| * | Add RSA key generation | Miloslav Trmač | 2010-11-29 | 1 | -0/+99 |
| | | |||||
| * | Pass MPIs around in arrays, not named parameters | Miloslav Trmač | 2010-11-26 | 1 | -134/+108 |
| | | |||||
| * | Use an arena better in private_key_export | Miloslav Trmač | 2010-11-26 | 1 | -37/+35 |
| | | | | | | | | | | Both allocate and free the arena in the caller. Use the arena to allocate der_info to make it invisible to the caller. | ||||
| * | Both allocate and free arena in public_key_export callers | Miloslav Trmač | 2010-11-26 | 1 | -38/+33 |
| | | |||||
| * | Add ncr_private_key_export_rsa () | Miloslav Trmač | 2010-11-26 | 1 | -95/+217 |
| | | |||||
| * | Report all required sizes if any one is too small | Miloslav Trmač | 2010-11-25 | 1 | -10/+4 |
| | | |||||
| * | Beautify | Miloslav Trmač | 2010-11-25 | 1 | -3/+3 |
| | | |||||
| * | Add private key extraction support | Miloslav Trmač | 2010-11-25 | 1 | -30/+193 |
| | | |||||
| * | Fix buffer size computation when importing keys | Miloslav Trmač | 2010-11-25 | 1 | -1/+1 |
| | | |||||
| * | Beautify | Miloslav Trmač | 2010-11-25 | 1 | -19/+19 |
| | | |||||
| * | Add ncr_public_key_export_rsa(). | Miloslav Trmač | 2010-11-25 | 1 | -44/+148 |
| | | |||||
| * | Add ncr_public_key_export | Miloslav Trmač | 2010-11-25 | 1 | -0/+86 |
| | | |||||
| * | Beautify | Miloslav Trmač | 2010-11-25 | 1 | -5/+6 |
| | | |||||
| * | Fix failures with enabled NSS assertions | Miloslav Trmač | 2010-11-25 | 1 | -0/+2 |
| | | |||||
* | | Merge branch 'local' | Miloslav Trmač | 2010-11-24 | 3 | -10/+0 |
|\| | | | | | | | | | Conflicts: lib/ncrypto_local.c | ||||
| * | Drop redundant destination pointer checks | Miloslav Trmač | 2010-11-24 | 2 | -10/+0 |
| | | |||||
| * | Change "original IV" in the OpenSSL context as well. | Miloslav Trmač | 2010-11-15 | 1 | -1/+3 |
| | | | | | | | | | | We don't use the "original IV" in libncrypt, this is just for consistency. | ||||
* | | Detect integer overflow in cmsg size computation | Miloslav Trmač | 2010-11-15 | 1 | -2/+3 |
| | | |||||
* | | Merge branch 'local', port IV change to AF_ALG | Miloslav Trmač | 2010-11-15 | 1 | -0/+44 |
|\| | | | | | | | | | Conflicts: lib/ncrypto_local.c | ||||
| * | Add ncr_symm_cipher_change_iv | Miloslav Trmač | 2010-11-15 | 1 | -0/+19 |
| | | |||||
* | | Port symmetric encryption to AF_ALG | Miloslav Trmač | 2010-11-11 | 2 | -289/+429 |
| | | |||||
* | | Merge branch 'local' | Miloslav Trmač | 2010-11-02 | 2 | -15/+44 |
|\| | |||||
| * | Drop support for the *_CBC_PAD mechanisms. | Miloslav Trmač | 2010-11-02 | 1 | -13/+3 |
| | | |||||
| * | Add symmetric key extraction support | Miloslav Trmač | 2010-11-02 | 2 | -2/+41 |
| | | | | | | | | | | Also allow marking keys as "sensitive" (= CKA_SENSITIVE = non-extractable), which is an API change. | ||||
* | | Merge branch 'local', port cloning to AF_ALG | Miloslav Trmač | 2010-10-29 | 1 | -19/+120 |
|\| | | | | | | | | | Conflicts: lib/ncrypto_local.c | ||||
| * | Add symmetric signature session cloning | Miloslav Trmač | 2010-10-29 | 1 | -0/+33 |
| | | |||||
| * | Add digest session cloning | Miloslav Trmač | 2010-10-29 | 1 | -0/+29 |
| | | |||||
* | | Merge branch 'local' | Miloslav Trmač | 2010-10-27 | 1 | -1/+0 |
|\| | |||||
| * | Drop obsolete FIXMEs | Miloslav Trmač | 2010-10-27 | 1 | -1/+0 |
| | | |||||
* | | Port symmetric signatures to AF_ALG | Miloslav Trmač | 2010-10-27 | 2 | -252/+372 |
| | | |||||
* | | Set state to NDS_FINISHED even on ncr_digest_final failure | Miloslav Trmač | 2010-10-27 | 1 | -3/+3 |
| | | |||||
* | | Merge branch 'local' | Miloslav Trmač | 2010-10-27 | 2 | -7/+44 |
|\| | | | | | | | | | Conflicts: Makefile.am | ||||
| * | Declare struct ncr_symm_key in an internal header | Miloslav Trmač | 2010-10-27 | 2 | -7/+44 |
| | | |||||
* | | Merge branch 'local' | Miloslav Trmač | 2010-10-27 | 1 | -7/+266 |
|\| | | | | | | | | | Conflicts: lib/ncrypto_local.c | ||||
| * | Add "symmetric signature" (really HMAC) support | Miloslav Trmač | 2010-10-27 | 1 | -0/+253 |
| | |