Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Separated the direct session functions. | Nikos Mavrogiannopoulos | 2010-07-25 | 4 | -379/+424 | |
| | | ||||||
* | | Added the NCR-DIRECT to speed test. | Nikos Mavrogiannopoulos | 2010-07-24 | 1 | -4/+89 | |
| | | ||||||
* | | Added a support for reading session data directly from userspace. | Nikos Mavrogiannopoulos | 2010-07-24 | 16 | -228/+1246 | |
| | | ||||||
* | | Simplified the session_op structure and combined the OP_SIGN with the OP_DIGEST | Nikos Mavrogiannopoulos | 2010-07-24 | 6 | -111/+97 | |
| | | | | | | | | for digest algorithms. | |||||
* | | Use of algo_properties to avoid linear search on a table for each property. | Miloslav Trmač | 2010-07-24 | 23 | -350/+284 | |
| | | ||||||
* | | Reformat for kernel's (make headers_install) | Miloslav Trmač | 2010-07-24 | 1 | -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-24 | 1 | -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 Mavrogiannopoulos | 2010-07-23 | 1 | -7/+3 | |
| | ||||||
* | Splitted key from key_params structure. Also separated dsa from rsa ↵ | Nikos Mavrogiannopoulos | 2010-07-23 | 8 | -47/+86 | |
| | | | | structure in params. | |||||
* | Minor fixes in example programs. | Nikos Mavrogiannopoulos | 2010-07-23 | 2 | -9/+11 | |
| | ||||||
* | Append_flag was removed. | Nikos Mavrogiannopoulos | 2010-07-23 | 4 | -51/+6 | |
| | ||||||
* | Revert "initial support for userspace data." | Nikos Mavrogiannopoulos | 2010-07-23 | 14 | -770/+187 | |
| | | | | This reverts commit e7828004e40592c8cffc9235f72440c802905e16. | |||||
* | Revert "Modified NCR-USER API to "simplify" and allow setting of size of ↵ | Nikos Mavrogiannopoulos | 2010-07-23 | 12 | -1242/+105 | |
| | | | | | | data structure without special system call." This reverts commit 5689c9734223fb349bba526d620823a803c3b67e. | |||||
* | Fix error handling in cryptodev_hash_init | Miloslav Trmač | 2010-07-21 | 1 | -1/+3 | |
| | ||||||
* | Fix more incorrect copy_*_user error handling | Miloslav Trmač | 2010-07-21 | 1 | -5/+10 | |
| | ||||||
* | Modified NCR-USER API to "simplify" and allow setting of size of data ↵ | Nikos Mavrogiannopoulos | 2010-07-21 | 12 | -105/+1242 | |
| | | | | structure without special system call. | |||||
* | der_en/decode_subject_public_key_info were moved to x509/ subdirectory. | Nikos Mavrogiannopoulos | 2010-07-21 | 3 | -2/+2 | |
| | ||||||
* | initial support for userspace data. | Nikos Mavrogiannopoulos | 2010-07-21 | 14 | -187/+770 | |
| | ||||||
* | Public Keys are being exported to SubjectPublicKeyInfo format, instead of ↵ | Nikos Mavrogiannopoulos | 2010-07-19 | 13 | -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 Mavrogiannopoulos | 2010-07-19 | 4 | -24/+7 | |
| | | | | hash initialization. | |||||
* | Implemented RSA blinding. | Nikos Mavrogiannopoulos | 2010-07-19 | 1 | -4/+38 | |
| | ||||||
* | updated. | Nikos Mavrogiannopoulos | 2010-07-19 | 1 | -0/+1 | |
| | ||||||
* | Fixed RSA encryption and decryption. | Nikos Mavrogiannopoulos | 2010-07-19 | 3 | -72/+232 | |
| | ||||||
* | Added NULL cipher and a speed program to compare old cryptodev operations ↵ | Nikos Mavrogiannopoulos | 2010-07-19 | 3 | -7/+130 | |
| | | | | and ncr ones. | |||||
* | Added CAMELLIA-ECB and AES-CTR as well as CAMELLIA-CTR. | Nikos Mavrogiannopoulos | 2010-07-19 | 2 | -2/+10 | |
| | ||||||
* | Backported zero copy /dev/crypto operations from master. | Nikos Mavrogiannopoulos | 2010-07-19 | 3 | -107/+442 | |
| | ||||||
* | Don't recompile cryptodev_main.o all the time | Miloslav Trmač | 2010-07-19 | 1 | -1/+4 | |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> | |||||
* | Initialize hash name for NCR_OP_DIGEST | Miloslav Trmač | 2010-07-19 | 1 | -0/+6 | |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> | |||||
* | Only set [ch]data->init = 1 on success. | Miloslav Trmač | 2010-07-19 | 1 | -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 cases | Miloslav Trmač | 2010-07-19 | 1 | -7/+5 | |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> | |||||
* | Report errors from update implied by session_final | Miloslav Trmač | 2010-07-19 | 1 | -3/+9 | |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> | |||||
* | Remove unused variables | Miloslav Trmač | 2010-07-19 | 1 | -4/+0 | |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> | |||||
* | Refuse non-digest algorithms for pubkey sign/verify operations | Miloslav Trmač | 2010-07-19 | 1 | -0/+5 | |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> | |||||
* | Don't access key_item_st after freeing it | Miloslav Trmač | 2010-07-19 | 1 | -2/+2 | |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> | |||||
* | sparse: Fix signedness missmatch (especially in *_export) | Miloslav Trmač | 2010-07-19 | 1 | -1/+1 | |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> | |||||
* | sparse: Make one-bit bit fields explicitly unsigned | Miloslav Trmač | 2010-07-19 | 1 | -6/+6 | |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> | |||||
* | Represent ENOKEY as a negative value | Miloslav Trmač | 2010-07-19 | 1 | -2/+2 | |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> | |||||
* | sparse: Avoid variable-length arrays | Miloslav Trmač | 2010-07-19 | 1 | -4/+21 | |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> | |||||
* | sparse: add missing 'static' | Miloslav Trmač | 2010-07-19 | 3 | -12/+12 | |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> | |||||
* | Add __init and __exit markers | Miloslav Trmač | 2010-07-19 | 1 | -2/+2 | |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> | |||||
* | sparse: Fix __user annotations | Miloslav Trmač | 2010-07-19 | 5 | -50/+52 | |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> | |||||
* | Fix copy_{from,to}_user error handling | Miloslav Trmač | 2010-07-19 | 6 | -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}_user | Miloslav Trmač | 2010-07-19 | 1 | -5/+11 | |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> | |||||
* | Free data on error its descriptor to user-space | Miloslav Trmač | 2010-07-19 | 4 | -13/+53 | |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> | |||||
* | Fix error paths in ncr_key_storage_wrap | Miloslav Trmač | 2010-07-19 | 1 | -1/+2 | |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> | |||||
* | Fix error paths in ncr_key_wrap | Miloslav Trmač | 2010-07-19 | 1 | -1/+2 | |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> | |||||
* | On async request error report the request error | Miloslav Trmač | 2010-07-19 | 1 | -1/+1 | |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> | |||||
* | Avoid overflows when unwrapping from storage | Miloslav Trmač | 2010-07-19 | 1 | -1/+5 | |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> | |||||
* | Use the supplied pid even if creating a new record | Miloslav Trmač | 2010-07-19 | 1 | -1/+1 | |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> | |||||
* | Fix error paths in ncr_key_init | Miloslav Trmač | 2010-07-19 | 1 | -1/+6 | |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> |