summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Separated the direct session functions.Nikos Mavrogiannopoulos2010-07-254-379/+424
| |
* | Added the NCR-DIRECT to speed test.Nikos Mavrogiannopoulos2010-07-241-4/+89
| |
* | Added a support for reading session data directly from userspace.Nikos Mavrogiannopoulos2010-07-2416-228/+1246
| |
* | Simplified the session_op structure and combined the OP_SIGN with the OP_DIGESTNikos Mavrogiannopoulos2010-07-246-111/+97
| | | | | | | | for digest algorithms.
* | Use of algo_properties to avoid linear search on a table for each property.Miloslav Trmač2010-07-2423-350/+284
| |
* | Reformat for kernel's (make headers_install)Miloslav Trmač2010-07-241-1/+1
| | | | | | | | | | (make headers_install) automatically removes the __user annotations, but it doesn't recognize "__user*".
* | Allow parrallel build (make -j$$$$N)Miloslav Trmač2010-07-241-6/+6
|/ | | | | Using "$(MAKE)" instead of "make" allows make to recognize the subprocesses and manage the parallel build.
* No need for type of params.Nikos Mavrogiannopoulos2010-07-231-7/+3
|
* Splitted key from key_params structure. Also separated dsa from rsa ↵Nikos Mavrogiannopoulos2010-07-238-47/+86
| | | | structure in params.
* Minor fixes in example programs.Nikos Mavrogiannopoulos2010-07-232-9/+11
|
* Append_flag was removed.Nikos Mavrogiannopoulos2010-07-234-51/+6
|
* Revert "initial support for userspace data."Nikos Mavrogiannopoulos2010-07-2314-770/+187
| | | | This reverts commit e7828004e40592c8cffc9235f72440c802905e16.
* Revert "Modified NCR-USER API to "simplify" and allow setting of size of ↵Nikos Mavrogiannopoulos2010-07-2312-1242/+105
| | | | | | data structure without special system call." This reverts commit 5689c9734223fb349bba526d620823a803c3b67e.
* Fix error handling in cryptodev_hash_initMiloslav Trmač2010-07-211-1/+3
|
* Fix more incorrect copy_*_user error handlingMiloslav Trmač2010-07-211-5/+10
|
* Modified NCR-USER API to "simplify" and allow setting of size of data ↵Nikos Mavrogiannopoulos2010-07-2112-105/+1242
| | | | structure without special system call.
* der_en/decode_subject_public_key_info were moved to x509/ subdirectory.Nikos Mavrogiannopoulos2010-07-213-2/+2
|
* initial support for userspace data.Nikos Mavrogiannopoulos2010-07-2114-187/+770
|
* Public Keys are being exported to SubjectPublicKeyInfo format, instead of ↵Nikos Mavrogiannopoulos2010-07-1913-88/+437
| | | | custom formats. For RSA keys the PKCS #1 format can be used as well.
* hash_reset() was combined with hash_init() to avoid requiring two calls for ↵Nikos Mavrogiannopoulos2010-07-194-24/+7
| | | | hash initialization.
* Implemented RSA blinding.Nikos Mavrogiannopoulos2010-07-191-4/+38
|
* updated.Nikos Mavrogiannopoulos2010-07-191-0/+1
|
* Fixed RSA encryption and decryption.Nikos Mavrogiannopoulos2010-07-193-72/+232
|
* Added NULL cipher and a speed program to compare old cryptodev operations ↵Nikos Mavrogiannopoulos2010-07-193-7/+130
| | | | and ncr ones.
* Added CAMELLIA-ECB and AES-CTR as well as CAMELLIA-CTR.Nikos Mavrogiannopoulos2010-07-192-2/+10
|
* Backported zero copy /dev/crypto operations from master.Nikos Mavrogiannopoulos2010-07-193-107/+442
|
* Don't recompile cryptodev_main.o all the timeMiloslav Trmač2010-07-191-1/+4
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* Initialize hash name for NCR_OP_DIGESTMiloslav Trmač2010-07-191-0/+6
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* Only set [ch]data->init = 1 on success.Miloslav Trmač2010-07-191-5/+2
| | | | | | Otherwise other members would be freed twice. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* Free all data referenced by a session, in all casesMiloslav Trmač2010-07-191-7/+5
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* Report errors from update implied by session_finalMiloslav Trmač2010-07-191-3/+9
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* Remove unused variablesMiloslav Trmač2010-07-191-4/+0
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* Refuse non-digest algorithms for pubkey sign/verify operationsMiloslav Trmač2010-07-191-0/+5
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* Don't access key_item_st after freeing itMiloslav Trmač2010-07-191-2/+2
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* sparse: Fix signedness missmatch (especially in *_export)Miloslav Trmač2010-07-191-1/+1
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* sparse: Make one-bit bit fields explicitly unsignedMiloslav Trmač2010-07-191-6/+6
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* Represent ENOKEY as a negative valueMiloslav Trmač2010-07-191-2/+2
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* sparse: Avoid variable-length arraysMiloslav Trmač2010-07-191-4/+21
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* sparse: add missing 'static'Miloslav Trmač2010-07-193-12/+12
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* Add __init and __exit markersMiloslav Trmač2010-07-191-2/+2
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* sparse: Fix __user annotationsMiloslav Trmač2010-07-195-50/+52
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* Fix copy_{from,to}_user error handlingMiloslav Trmač2010-07-196-98/+98
| | | | | | These functions return a positive number, not an error code, on failure. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* Add missing error handling to {get,put}_userMiloslav Trmač2010-07-191-5/+11
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* Free data on error its descriptor to user-spaceMiloslav Trmač2010-07-194-13/+53
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* Fix error paths in ncr_key_storage_wrapMiloslav Trmač2010-07-191-1/+2
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* Fix error paths in ncr_key_wrapMiloslav Trmač2010-07-191-1/+2
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* On async request error report the request errorMiloslav Trmač2010-07-191-1/+1
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* Avoid overflows when unwrapping from storageMiloslav Trmač2010-07-191-1/+5
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* Use the supplied pid even if creating a new recordMiloslav Trmač2010-07-191-1/+1
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* Fix error paths in ncr_key_initMiloslav Trmač2010-07-191-1/+6
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>