summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | More copyright fixes.Nikos Mavrogiannopoulos2010-07-273-0/+19
| | |
* | | Corrected copyright notices.Nikos Mavrogiannopoulos2010-07-277-9/+23
| | |
* | | relicensed under GNU GPLv2.Nikos Mavrogiannopoulos2010-07-2710-689/+363
| | |
* | | Don't leak memory on realloc failure.Miloslav Trmač2010-07-262-31/+38
| | | | | | | | | | | | | | | This guarantees ses->sg and ses->pages are non-NULL, so drop no longer necessary checks for NULL.
* | | Don't duplicate expansion of session page pointersMiloslav Trmač2010-07-261-32/+23
| | |
* | | Set output size for symmetric encryption operationsMiloslav Trmač2010-07-261-2/+2
| | |
* | | Make sure there is space for encryption outputMiloslav Trmač2010-07-261-0/+6
| | |
* | | Fix an error path in _unwrap_aes_rfc5649Miloslav Trmač2010-07-261-1/+1
| | |
* | | Don't override the user-specified key algorithmMiloslav Trmač2010-07-261-2/+1
| | |
* | | sparse: Use "static"Miloslav Trmač2010-07-261-5/+5
| | |
* | | sparse: Fix __user annotationsMiloslav Trmač2010-07-262-3/+3
| |/ |/|
* | Added test case for hashing secret keys. Some corrections in independent ↵Nikos Mavrogiannopoulos2010-07-262-33/+141
| | | | | | | | session updates.
* | Added __user to userspace buffers.Nikos Mavrogiannopoulos2010-07-261-5/+5
| |
* | Corrected PSS signature generation and verification.Nikos Mavrogiannopoulos2010-07-262-2/+6
| |
* | Corrected issue when finalizing sessions that hashed keys.Nikos Mavrogiannopoulos2010-07-265-74/+41
| |
* | Added AES in CTR mode.Nikos Mavrogiannopoulos2010-07-261-0/+3
| |
* | removed the data type.Nikos Mavrogiannopoulos2010-07-2613-1027/+175
| |
* | No need for ncr-direct. All session operations are being done on keys or on ↵Nikos Mavrogiannopoulos2010-07-259-1141/+407
| | | | | | | | userspace data.
* | ncr_int.h -> ncr-int.hNikos Mavrogiannopoulos2010-07-2524-23/+23
| |
* | Key wrapping operates directly to userspace data. No need to involve the ↵Nikos Mavrogiannopoulos2010-07-255-93/+141
| | | | | | | | data_t structures.
* | 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>