summaryrefslogtreecommitdiffstats
path: root/lib/ncrypto_nss.c
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.
* Use NSS for random number generationMiloslav Trmač2010-12-021-0/+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-241-2/+0
|
* 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