summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use SOCK_CLOEXEC to avoid leaking FDsHEADmasterMiloslav Trmač2010-12-152-24/+25
| | | | | 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-022-28/+2
|\
| * Drop ncr_private_key_create ().localMiloslav Trmač2010-12-022-28/+2
| | | | | | | | | | The current API exposes NSS internal mechanisms, drop it for now. Perhaps a better interface can be added in the future.
* | Stop linking with opensslMiloslav Trmač2010-12-022-4/+2
| | | | | | | | | | It is not needed any more, all functionality is provided either by the kernel or by NSS.
* | Merge branch 'local', drop openssl helperMiloslav Trmač2010-12-025-20/+33
|\| | | | | | | | | Conflicts: lib/ncrypto_local.c
| * Add missing #includeMiloslav Trmač2010-12-021-0/+1
| |
| * Use NSS for random number generationMiloslav Trmač2010-12-025-11/+32
| |
* | Merge branch 'local'Miloslav Trmač2010-11-304-195/+796
|\|
| * Add DSAMiloslav Trmač2010-11-304-1/+593
| |
| * Validate structure version and algorithm ID on exportMiloslav Trmač2010-11-301-0/+13
| |
| * Use PKCS#8 privateKeyInfo for private keys in DER formMiloslav Trmač2010-11-302-86/+94
| |
| * Split rsa_validate_algorithm_id ()Miloslav Trmač2010-11-301-13/+19
| |
| * BeautifyMiloslav Trmač2010-11-301-2/+2
| |
| * Use subjectPublicKeyInfo for public keys in DER formMiloslav Trmač2010-11-302-107/+89
| | | | | | | | | | Also avoid subjectPublicKeyInfo encoding/decoding when handling RSA key details.
* | Merge branch 'local'Miloslav Trmač2010-11-295-151/+983
|\|
| * Make private key sensitivity visible to NSSMiloslav Trmač2010-11-291-5/+15
| |
| * Add private key sensitivity testMiloslav Trmač2010-11-292-2/+167
| |
| * Add RSA key generationMiloslav Trmač2010-11-293-23/+168
| |
| * Pass MPIs around in arrays, not named parametersMiloslav Trmač2010-11-263-228/+204
| |
| * Use an arena better in private_key_exportMiloslav Trmač2010-11-261-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 callersMiloslav Trmač2010-11-261-38/+33
| |
| * Add ncr_private_key_export_rsa ()Miloslav Trmač2010-11-263-115/+286
| |
| * Report all required sizes if any one is too smallMiloslav Trmač2010-11-251-10/+4
| |
| * BeautifyMiloslav Trmač2010-11-251-3/+3
| |
| * Add private key extraction supportMiloslav Trmač2010-11-252-32/+199
| |
| * Fix buffer size computation when importing keysMiloslav Trmač2010-11-251-1/+1
| |
| * BeautifyMiloslav Trmač2010-11-251-19/+19
| |
| * Add ncr_public_key_export_rsa().Miloslav Trmač2010-11-253-46/+166
| |
| * Add ncr_public_key_exportMiloslav Trmač2010-11-252-0/+88
| |
| * BeautifyMiloslav Trmač2010-11-251-5/+6
| |
| * Fix failures with enabled NSS assertionsMiloslav Trmač2010-11-251-0/+2
| |
* | Merge branch 'local'Miloslav Trmač2010-11-243-10/+0
|\| | | | | | | | | Conflicts: lib/ncrypto_local.c
| * Drop redundant destination pointer checksMiloslav Trmač2010-11-242-10/+0
| |
* | Detect integer overflow in cmsg size computationMiloslav Trmač2010-11-151-2/+3
| |
* | Merge branch 'local'Miloslav Trmač2010-11-150-0/+0
|\| | | | | | | | | Conflicts: lib/ncrypto_local.c
| * Change "original IV" in the OpenSSL context as well.Miloslav Trmač2010-11-151-1/+3
| | | | | | | | | | We don't use the "original IV" in libncrypt, this is just for consistency.
* | Merge branch 'local', port IV change to AF_ALGMiloslav Trmač2010-11-157-1/+125
|\| | | | | | | | | Conflicts: lib/ncrypto_local.c
| * Add comments to tests.Miloslav Trmač2010-11-155-1/+23
| |
| * Add ncr_symm_cipher_change_ivMiloslav Trmač2010-11-153-0/+77
| |
* | Merge branch 'local'Miloslav Trmač2010-11-112-0/+67
|\|
| * Add tests of handling very large data at onceMiloslav Trmač2010-11-112-0/+67
| |
* | Port symmetric encryption to AF_ALGMiloslav Trmač2010-11-112-289/+429
| |
* | Merge branch 'local'Miloslav Trmač2010-11-027-30/+205
|\|
| * Drop support for the *_CBC_PAD mechanisms.Miloslav Trmač2010-11-023-16/+4
| |
| * Add symmetric key extraction supportMiloslav Trmač2010-11-027-14/+201
| | | | | | | | | | Also allow marking keys as "sensitive" (= CKA_SENSITIVE = non-extractable), which is an API change.
* | Merge branch 'local', port cloning to AF_ALGMiloslav Trmač2010-10-294-19/+260
|\| | | | | | | | | Conflicts: lib/ncrypto_local.c
| * Add symmetric signature session cloningMiloslav Trmač2010-10-293-0/+128
| |
| * Add digest session cloningMiloslav Trmač2010-10-293-0/+74
| |
* | Merge branch 'local'Miloslav Trmač2010-10-272-3/+0
|\|
| * Drop obsolete FIXMEsMiloslav Trmač2010-10-272-3/+0
| |