summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Drop ncr_private_key_create ().localMiloslav Trmač2010-12-021-24/+0
| | | | | The current API exposes NSS internal mechanisms, drop it for now. Perhaps a better interface can be added in the future.
* Add missing #includeMiloslav Trmač2010-12-021-0/+1
|
* Use NSS for random number generationMiloslav Trmač2010-12-022-11/+19
|
* Add DSAMiloslav Trmač2010-11-301-0/+347
|
* 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-301-85/+92
|
* 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-301-105/+86
| | | | | Also avoid subjectPublicKeyInfo encoding/decoding when handling RSA key details.
* Make private key sensitivity visible to NSSMiloslav Trmač2010-11-291-5/+15
|
* Add RSA key generationMiloslav Trmač2010-11-291-0/+99
|
* Pass MPIs around in arrays, not named parametersMiloslav Trmač2010-11-261-134/+108
|
* 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-261-95/+217
|
* 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-251-30/+193
|
* 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-251-44/+148
|
* Add ncr_public_key_exportMiloslav Trmač2010-11-251-0/+86
|
* BeautifyMiloslav Trmač2010-11-251-5/+6
|
* Fix failures with enabled NSS assertionsMiloslav Trmač2010-11-251-0/+2
|
* Drop redundant destination pointer checksMiloslav Trmač2010-11-242-10/+0
|
* 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.
* Add ncr_symm_cipher_change_ivMiloslav Trmač2010-11-151-0/+19
|
* Drop support for the *_CBC_PAD mechanisms.Miloslav Trmač2010-11-021-13/+3
|
* Add symmetric key extraction supportMiloslav Trmač2010-11-022-2/+41
| | | | | Also allow marking keys as "sensitive" (= CKA_SENSITIVE = non-extractable), which is an API change.
* Add symmetric signature session cloningMiloslav Trmač2010-10-291-0/+33
|
* Add digest session cloningMiloslav Trmač2010-10-291-0/+29
|
* Drop obsolete FIXMEsMiloslav Trmač2010-10-271-1/+0
|
* Declare struct ncr_symm_key in an internal headerMiloslav Trmač2010-10-272-7/+44
|
* Add "symmetric signature" (really HMAC) supportMiloslav Trmač2010-10-271-0/+253
|
* Add CKM_GENERIC_KEY_GENMiloslav Trmač2010-10-271-0/+6
|
* BeautifyMiloslav Trmač2010-10-271-3/+3
|
* s/_Bool/bool/gMiloslav Trmač2010-10-261-7/+7
| | | | <stdbool.h> provides "bool".
* Add symmetric key generationMiloslav Trmač2010-10-211-0/+106
|
* BeautifyMiloslav Trmač2010-10-211-2/+2
|
* Add random data generationMiloslav Trmač2010-10-211-0/+11
|
* Automatically initialize NSS on first use.Miloslav Trmač2010-10-131-15/+91
|
* Add RSA key import and one-shot operationsMiloslav Trmač2010-10-131-0/+586
|
* Consider CKR_BUFFER_TOO_SMALL non-exceptionalMiloslav Trmač2010-10-131-5/+5
| | | | meaning, don't complain about it on stderr.
* Use CKR_KEY_HANDLE_INVALID.Miloslav Trmač2010-10-131-2/+2
|
* Add symmetric ciphersMiloslav Trmač2010-10-051-0/+342
|
* Mark session as finished even on failure, per PKCS#11Miloslav Trmač2010-10-051-9/+7
|
* Add argument checkMiloslav Trmač2010-10-051-0/+1
|
* Fix memory leakMiloslav Trmač2010-10-051-0/+1
|
* Cache digest size in sessionMiloslav Trmač2010-10-051-12/+10
|
* Use more precise error codes if sess == NULLMiloslav Trmač2010-10-041-5/+5
|