summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Rename ncr_sessions_item_get() to session_get_ref()Miloslav Trmač2010-08-251-4/+4
| | | | | | | | | | | | | | | | | | | | ... for consistency with the other session ID handlers.
| * | | | Simplify refcount handling in session_initMiloslav Trmač2010-08-251-5/+4
| | | | |
| * | | | Don't allocate session IDs for *_ONCE.Miloslav Trmač2010-08-251-19/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Also skip locking the mutex - the session is private to the calling thread, nothing else can access it.
| * | | | Move ID handling out of _ncr_session_initMiloslav Trmač2010-08-251-22/+35
| | | | |
| * | | | Move session lookup and locking out of _ncr_session_finalMiloslav Trmač2010-08-251-28/+46
| | | | |
| * | | | Remove redundant deinitializations.Miloslav Trmač2010-08-251-7/+0
| | | | | | | | | | | | | | | | | | | | _ncr_sessions_item_put() clears this all on last put.
| * | | | Avoid duplicit lookup and locking in _try_session_updateMiloslav Trmač2010-08-251-31/+11
| | | | |
| * | | | Move session lookup and locking out of low-level functionsMiloslav Trmač2010-08-251-34/+49
| | | | | | | | | | | | | | | | | | | | While doing this, also lock mem_mutex during _ncr_session_update_key.
| * | | | Publish sessions only after initializationMiloslav Trmač2010-08-251-2/+2
| | | | |
| * | | | Separate session ID allocation from object creationMiloslav Trmač2010-08-251-15/+57
| | | | |
| * | | | Make some session functions staticMiloslav Trmač2010-08-252-6/+5
| | |_|/ | |/| |
* | | | Don't duplicate the list of example programsMiloslav Trmač2010-08-251-1/+1
| | | |
* | | | Move session_item_st definition to ncr-sessions.cMiloslav Trmač2010-08-252-26/+26
| | | | | | | | | | | | | | | | It is not used anywhere else.
* | | | Remove redundant deinitializations.Miloslav Trmač2010-08-251-7/+0
| | | | | | | | | | | | | | | | _ncr_sessions_item_put() clears this all on last put.
* | | | Make some session functions staticMiloslav Trmač2010-08-252-6/+5
| | | |
* | | | Simplify key flag updatesMiloslav Trmač2010-08-253-51/+36
|/ / /
* | | Fix wrapping test conversionsMiloslav Trmač2010-08-252-6/+11
| | |
* | | Merge branch 'bugfixes' into nlattrMiloslav Trmač2010-08-258-37/+93
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: cryptodev_main.c examples/ncr.c examples/pk.c ncr-int.h ncr-key-wrap.c ncr-key.c ncr.c ncr.h
| * | Make it possible to import private keysMiloslav Trmač2010-08-244-7/+19
| | |
| * | Base access decisions only on capable(), not euidMiloslav Trmač2010-08-242-2/+2
| | |
| * | Reject prohibited key flags immediatelyMiloslav Trmač2010-08-244-24/+50
| | | | | | | | | | | | Silently ignoring user's requests is unexpected.
| * | Provide file_operations::unlocked_ioctl.Miloslav Trmač2010-08-243-7/+6
| | | | | | | | | | | | | | | | | | file_operations::ioctl is no longer supported in recent kernels. compat_ioctl is not running under the BKL, so the code has to do its own locking anyway (although not everything currently does).
| * | Drop unnecessary "file *" argument to ncr_ioctl()Miloslav Trmač2010-08-243-5/+3
| |/
* | Renumber ioctlsMiloslav Trmač2010-08-251-18/+17
| | | | | | | | | | | | | | - The ranges in Documentation/ioctl/ioctl-number.txt are allocated in hexadecimal digits - The operation identifer must be <= 255 - Leave smaller spaces to give other drivers a chance
* | Fix ioctl directionMiloslav Trmač2010-08-251-1/+1
| |
* | Update ioctl interface documentation.Miloslav Trmač2010-08-251-247/+430
| |
* | Replace ncr_wrap_algorithm_t by NLA_NUL_STRINGMiloslav Trmač2010-08-255-40/+29
| |
* | Replace ncr_derive_t by NLA_NUL_STRINGMiloslav Trmač2010-08-244-29/+24
| |
* | Replace ncr_algorithm_t by NLA_NUL_STRINGMiloslav Trmač2010-08-2410-199/+227
| |
* | Add version ID to key storage wrapping formatMiloslav Trmač2010-08-241-1/+6
| |
* | Update TODO: ioctl_compat is doneMiloslav Trmač2010-08-241-1/+0
| |
* | Convert *_MASTER_KEY_SETMiloslav Trmač2010-08-243-24/+41
| |
* | Convert *_SESSION_*Miloslav Trmač2010-08-2410-650/+937
| |
* | Convert *_KEY_STORAGE_UNWRAPMiloslav Trmač2010-08-245-27/+42
| |
* | Convert *_KEY_STORAGE_WRAPMiloslav Trmač2010-08-245-28/+55
| |
* | Convert *_KEY_UNWRAPMiloslav Trmač2010-08-246-69/+128
| |
* | Convert *_KEY_WRAPMiloslav Trmač2010-08-247-84/+153
| |
* | Convert *_KEY_DEINITMiloslav Trmač2010-08-243-12/+13
| |
* | Convert *_KEY_IMPORTMiloslav Trmač2010-08-247-169/+365
| |
* | Convert *_KEY_EXPORTMiloslav Trmač2010-08-247-119/+149
| |
* | Convert *_KEY_GET_INFOMiloslav Trmač2010-08-246-26/+157
| |
* | Convert *_KEY_DERIVEMiloslav Trmač2010-08-248-77/+86
| |
* | Convert *_KEY_GENERATE_PAIRMiloslav Trmač2010-08-248-145/+225
| |
* | Convert *_KEY_GENERATEMiloslav Trmač2010-08-246-37/+115
| |
* | Convert *_KEY_INITMiloslav Trmač2010-08-247-33/+52
| |
* | Simplify algorithm lookup by nlaMiloslav Trmač2010-08-242-0/+11
| |
* | Add input argument and attribute handling infrastructureMiloslav Trmač2010-08-244-1/+378
| |
* | Use more specific types to avoid compat_ioctlMiloslav Trmač2010-08-241-2/+2
| | | | | | | | Using "int" would require conversions from compat_int_t.
* | Add compat_ioctl infrastructureMiloslav Trmač2010-08-243-4/+18
| |
* | Drop unnecessary "file *" argument to ncr_ioctl()Miloslav Trmač2010-08-243-5/+3
| |