Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| | * | | | | Move session lookup and locking out of low-level functions | Miloslav Trmač | 2010-08-25 | 1 | -34/+49 | |
| | | | | | | | | | | | | | | | | | | | | | | | | While doing this, also lock mem_mutex during _ncr_session_update_key. | |||||
| | * | | | | Publish sessions only after initialization | Miloslav Trmač | 2010-08-25 | 1 | -2/+2 | |
| | | | | | | ||||||
| | * | | | | Separate session ID allocation from object creation | Miloslav Trmač | 2010-08-25 | 1 | -15/+57 | |
| | | | | | | ||||||
| | * | | | | Make some session functions static | Miloslav Trmač | 2010-08-25 | 2 | -6/+5 | |
| | | |_|/ | | |/| | | ||||||
| * | | | | Don't duplicate the list of example programs | Miloslav Trmač | 2010-08-25 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | Move session_item_st definition to ncr-sessions.c | Miloslav Trmač | 2010-08-25 | 2 | -26/+26 | |
| | | | | | | | | | | | | | | | | | | | | It is not used anywhere else. | |||||
| * | | | | Remove redundant deinitializations. | Miloslav Trmač | 2010-08-25 | 1 | -7/+0 | |
| | | | | | | | | | | | | | | | | | | | | _ncr_sessions_item_put() clears this all on last put. | |||||
| * | | | | Make some session functions static | Miloslav Trmač | 2010-08-25 | 2 | -6/+5 | |
| | | | | | ||||||
| * | | | | Simplify key flag updates | Miloslav Trmač | 2010-08-25 | 3 | -51/+36 | |
| |/ / / | ||||||
| * | | | Fix wrapping test conversions | Miloslav Trmač | 2010-08-25 | 2 | -6/+11 | |
| | | | | ||||||
| * | | | Merge branch 'bugfixes' into nlattr | Miloslav Trmač | 2010-08-25 | 8 | -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 keys | Miloslav Trmač | 2010-08-24 | 4 | -7/+19 | |
| | | | | ||||||
| | * | | Base access decisions only on capable(), not euid | Miloslav Trmač | 2010-08-24 | 2 | -2/+2 | |
| | | | | ||||||
| | * | | Reject prohibited key flags immediately | Miloslav Trmač | 2010-08-24 | 4 | -24/+50 | |
| | | | | | | | | | | | | | | | | Silently ignoring user's requests is unexpected. | |||||
| | * | | Provide file_operations::unlocked_ioctl. | Miloslav Trmač | 2010-08-24 | 3 | -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-24 | 3 | -5/+3 | |
| | |/ | ||||||
| * | | Renumber ioctls | Miloslav Trmač | 2010-08-25 | 1 | -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 direction | Miloslav Trmač | 2010-08-25 | 1 | -1/+1 | |
| | | | ||||||
| * | | Update ioctl interface documentation. | Miloslav Trmač | 2010-08-25 | 1 | -247/+430 | |
| | | | ||||||
| * | | Replace ncr_wrap_algorithm_t by NLA_NUL_STRING | Miloslav Trmač | 2010-08-25 | 5 | -40/+29 | |
| | | | ||||||
| * | | Replace ncr_derive_t by NLA_NUL_STRING | Miloslav Trmač | 2010-08-24 | 4 | -29/+24 | |
| | | | ||||||
| * | | Replace ncr_algorithm_t by NLA_NUL_STRING | Miloslav Trmač | 2010-08-24 | 10 | -199/+227 | |
| | | | ||||||
| * | | Add version ID to key storage wrapping format | Miloslav Trmač | 2010-08-24 | 1 | -1/+6 | |
| | | | ||||||
| * | | Update TODO: ioctl_compat is done | Miloslav Trmač | 2010-08-24 | 1 | -1/+0 | |
| | | | ||||||
| * | | Convert *_MASTER_KEY_SET | Miloslav Trmač | 2010-08-24 | 3 | -24/+41 | |
| | | | ||||||
| * | | Convert *_SESSION_* | Miloslav Trmač | 2010-08-24 | 10 | -650/+937 | |
| | | | ||||||
| * | | Convert *_KEY_STORAGE_UNWRAP | Miloslav Trmač | 2010-08-24 | 5 | -27/+42 | |
| | | | ||||||
| * | | Convert *_KEY_STORAGE_WRAP | Miloslav Trmač | 2010-08-24 | 5 | -28/+55 | |
| | | | ||||||
| * | | Convert *_KEY_UNWRAP | Miloslav Trmač | 2010-08-24 | 6 | -69/+128 | |
| | | | ||||||
| * | | Convert *_KEY_WRAP | Miloslav Trmač | 2010-08-24 | 7 | -84/+153 | |
| | | | ||||||
| * | | Convert *_KEY_DEINIT | Miloslav Trmač | 2010-08-24 | 3 | -12/+13 | |
| | | | ||||||
| * | | Convert *_KEY_IMPORT | Miloslav Trmač | 2010-08-24 | 7 | -169/+365 | |
| | | | ||||||
| * | | Convert *_KEY_EXPORT | Miloslav Trmač | 2010-08-24 | 7 | -119/+149 | |
| | | | ||||||
| * | | Convert *_KEY_GET_INFO | Miloslav Trmač | 2010-08-24 | 6 | -26/+157 | |
| | | | ||||||
| * | | Convert *_KEY_DERIVE | Miloslav Trmač | 2010-08-24 | 8 | -77/+86 | |
| | | | ||||||
| * | | Convert *_KEY_GENERATE_PAIR | Miloslav Trmač | 2010-08-24 | 8 | -145/+225 | |
| | | | ||||||
| * | | Convert *_KEY_GENERATE | Miloslav Trmač | 2010-08-24 | 6 | -37/+115 | |
| | | | ||||||
| * | | Convert *_KEY_INIT | Miloslav Trmač | 2010-08-24 | 7 | -33/+52 | |
| | | | ||||||
| * | | Simplify algorithm lookup by nla | Miloslav Trmač | 2010-08-24 | 2 | -0/+11 | |
| | | | ||||||
| * | | Add input argument and attribute handling infrastructure | Miloslav Trmač | 2010-08-24 | 4 | -1/+378 | |
| | | | ||||||
| * | | Use more specific types to avoid compat_ioctl | Miloslav Trmač | 2010-08-24 | 1 | -2/+2 | |
| | | | | | | | | | | | | Using "int" would require conversions from compat_int_t. | |||||
| * | | Add compat_ioctl infrastructure | Miloslav Trmač | 2010-08-24 | 3 | -4/+18 | |
| | | | ||||||
| * | | Drop unnecessary "file *" argument to ncr_ioctl() | Miloslav Trmač | 2010-08-24 | 3 | -5/+3 | |
| | | | ||||||
| * | | Drop <cryptodev.h> | Miloslav Trmač | 2010-08-24 | 20 | -1742/+22 | |
| | | | | | | | | | | | | Also drop implementation of its ioctls, examples, openssl patch. | |||||
| * | | Support IV size as large as <ncr.h> does | Miloslav Trmač | 2010-08-24 | 1 | -1/+2 | |
| |/ | | | | | | | (removing the last dependency on <cryptodev.h> in the process). | |||||
| * | Compare cryptodev to NCR on a fair basis. | Nikos Mavrogiannopoulos | 2010-08-23 | 1 | -24/+24 | |
| | | ||||||
| * | When calculating algorithm strength consider 3DES as 112 bit cipher. | Nikos Mavrogiannopoulos | 2010-08-22 | 1 | -0/+5 | |
| | | ||||||
| * | more text | Nikos Mavrogiannopoulos | 2010-08-21 | 1 | -1/+4 | |
| | | ||||||
| * | Document that assymetric keys cannot wrap symmetric ones. | Nikos Mavrogiannopoulos | 2010-08-21 | 1 | -0/+1 | |
| | | ||||||
| * | Improvements in key wrapping. Allowed symmetric keys to wrap assymetric ones. | Nikos Mavrogiannopoulos | 2010-08-21 | 5 | -24/+188 | |
| | |