summaryrefslogtreecommitdiffstats
path: root/ncr-sessions.c
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* sparse: Use "static"Miloslav Trmač2010-07-261-5/+5
|
* Added test case for hashing secret keys. Some corrections in independent ↵Nikos Mavrogiannopoulos2010-07-261-33/+25
| | | | session updates.
* Corrected issue when finalizing sessions that hashed keys.Nikos Mavrogiannopoulos2010-07-261-24/+38
|
* removed the data type.Nikos Mavrogiannopoulos2010-07-261-5/+9
|
* No need for ncr-direct. All session operations are being done on keys or on ↵Nikos Mavrogiannopoulos2010-07-251-94/+318
| | | | userspace data.
* ncr_int.h -> ncr-int.hNikos Mavrogiannopoulos2010-07-251-1/+1
|
* Separated the direct session functions.Nikos Mavrogiannopoulos2010-07-251-379/+2
|
* Added a support for reading session data directly from userspace.Nikos Mavrogiannopoulos2010-07-241-126/+541
|
* Simplified the session_op structure and combined the OP_SIGN with the OP_DIGESTNikos Mavrogiannopoulos2010-07-241-75/+71
| | | | for digest algorithms.
* Use of algo_properties to avoid linear search on a table for each property.Miloslav Trmač2010-07-241-176/+86
|
* Splitted key from key_params structure. Also separated dsa from rsa ↵Nikos Mavrogiannopoulos2010-07-231-4/+12
| | | | structure in params.
* Revert "initial support for userspace data."Nikos Mavrogiannopoulos2010-07-231-120/+23
| | | | This reverts commit e7828004e40592c8cffc9235f72440c802905e16.
* Revert "Modified NCR-USER API to "simplify" and allow setting of size of ↵Nikos Mavrogiannopoulos2010-07-231-72/+17
| | | | | | data structure without special system call." This reverts commit 5689c9734223fb349bba526d620823a803c3b67e.
* Modified NCR-USER API to "simplify" and allow setting of size of data ↵Nikos Mavrogiannopoulos2010-07-211-17/+72
| | | | structure without special system call.
* initial support for userspace data.Nikos Mavrogiannopoulos2010-07-211-23/+120
|
* hash_reset() was combined with hash_init() to avoid requiring two calls for ↵Nikos Mavrogiannopoulos2010-07-191-12/+0
| | | | hash initialization.
* Fixed RSA encryption and decryption.Nikos Mavrogiannopoulos2010-07-191-7/+19
|
* Added NULL cipher and a speed program to compare old cryptodev operations ↵Nikos Mavrogiannopoulos2010-07-191-1/+8
| | | | and ncr ones.
* Added CAMELLIA-ECB and AES-CTR as well as CAMELLIA-CTR.Nikos Mavrogiannopoulos2010-07-191-1/+7
|
* Initialize hash name for NCR_OP_DIGESTMiloslav Trmač2010-07-191-0/+6
| | | | 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>
* sparse: Make one-bit bit fields explicitly unsignedMiloslav Trmač2010-07-191-6/+6
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* Fix copy_{from,to}_user error handlingMiloslav Trmač2010-07-191-16/+17
| | | | | | These functions return a positive number, not an error code, on failure. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* Free data on error its descriptor to user-spaceMiloslav Trmač2010-07-191-1/+7
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* Corrected RSA signature generation/verification.Nikos Mavrogiannopoulos2010-07-141-25/+32
| | | | Added Test for RSA and DSA signature generation and verification.
* Added signature generation and verification.Nikos Mavrogiannopoulos2010-07-121-55/+295
|
* Initial additions to have PK encryption/decryption. Separated operationsNikos Mavrogiannopoulos2010-07-121-40/+44
| | | | | on keys to read/write to prevent overwriting a key while using it. Several other cleanups.
* Corrected permissions.Nikos Mavrogiannopoulos2010-07-071-0/+0
|
* exported _ncr_algo_to_str and _ncr_algo_digest_sizeNikos Mavrogiannopoulos2010-07-061-4/+4
|
* Several fixes related to checks with copy_from/to_user.Nikos Mavrogiannopoulos2010-06-171-0/+1
|
* Added checking in copy_from_user and copy_to_user.Nikos Mavrogiannopoulos2010-06-171-47/+85
|
* Corrected hash algorithms initialization. Test vectors pass.Nikos Mavrogiannopoulos2010-06-171-4/+23
|
* corrected the digest size of SHA224.Nikos Mavrogiannopoulos2010-06-171-1/+1
|
* AES self tests now pass.Nikos Mavrogiannopoulos2010-06-171-5/+13
|
* Some fix in _once.Nikos Mavrogiannopoulos2010-06-171-0/+8
|
* Added generic sessions to allow encryption/decryption hash and HMAC.Nikos Mavrogiannopoulos2010-06-171-2/+374
| | | | Removed the ncr-cipher.c.
* Added initial wrapping and unwrapping key API. Adds an implementation of the ↵Nikos Mavrogiannopoulos2010-06-171-0/+125
AES-WRAP (untested yet).