Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename CONFIG_AS*YM*METRIC, push into headers | Miloslav Trmač | 2010-09-06 | 1 | -0/+24 |
| | |||||
* | Algorithm to OID discovery moved to a single place. | Nikos Mavrogiannopoulos | 2010-09-06 | 1 | -1/+1 |
| | |||||
* | run scripts/Lindent. | Nikos Mavrogiannopoulos | 2010-09-06 | 1 | -24/+27 |
| | |||||
* | Use the ncr_algorithm_t as an identifier for storage data. This will allow | Nikos Mavrogiannopoulos | 2010-09-05 | 1 | -6/+6 |
| | | | | | keys tied to RSA-transparent, to be used for RSA operations as well (once keys are made tied to an algorithm). | ||||
* | Added flag: NCR_KEY_FLAG_ALLOW_TRANSPARENT_HASH | Nikos Mavrogiannopoulos | 2010-09-05 | 1 | -1/+1 |
| | |||||
* | Rationalized the key wrapping format. It currently is: | Nikos Mavrogiannopoulos | 2010-09-05 | 1 | -3/+20 |
| | | | | | | | | | | | PackedData ::= SEQUENCE { version INTEGER { v1(0) } algorithm OBJECT IDENTIFIER, type INTEGER { secret_key(0), public(1), private(2) }, data OCTET STRING } Unfortunately there are not assigned OIDs for all algorithms we support. | ||||
* | Drop a redundant prototype. | Miloslav Trmač | 2010-09-02 | 1 | -2/+0 |
| | |||||
* | export ncr_key_clear(). And disallow key derivation from wrapping keys. | Nikos Mavrogiannopoulos | 2010-08-31 | 1 | -0/+2 |
| | |||||
* | Merge branch 'pk-transparent-hash' | Miloslav Trmač | 2010-08-27 | 1 | -1/+3 |
|\ | | | | | | | | | Conflicts: ncr-int.h | ||||
| * | Implement PK signatures with transparent hashes | Miloslav Trmač | 2010-08-27 | 1 | -1/+8 |
| | | |||||
* | | Move session_item_st definition to ncr-sessions.c | Miloslav Trmač | 2010-08-25 | 1 | -26/+0 |
| | | | | | | | | It is not used anywhere else. | ||||
* | | Make some session functions static | Miloslav Trmač | 2010-08-25 | 1 | -3/+0 |
| | | |||||
* | | Simplify key flag updates | Miloslav Trmač | 2010-08-25 | 1 | -1/+1 |
|/ | |||||
* | Merge branch 'bugfixes' into nlattr | Miloslav Trmač | 2010-08-25 | 1 | -2/+2 |
|\ | | | | | | | | | | | | | | | | | | | | | | | Conflicts: cryptodev_main.c examples/ncr.c examples/pk.c ncr-int.h ncr-key-wrap.c ncr-key.c ncr.c ncr.h | ||||
| * | Reject prohibited key flags immediately | Miloslav Trmač | 2010-08-24 | 1 | -1/+1 |
| | | | | | | | | Silently ignoring user's requests is unexpected. | ||||
| * | Provide file_operations::unlocked_ioctl. | Miloslav Trmač | 2010-08-24 | 1 | -1/+1 |
| | | | | | | | | | | | | 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 | 1 | -2/+1 |
| | | |||||
* | | Replace ncr_algorithm_t by NLA_NUL_STRING | Miloslav Trmač | 2010-08-24 | 1 | -2/+22 |
| | | |||||
* | | Convert *_SESSION_* | Miloslav Trmač | 2010-08-24 | 1 | -5/+37 |
| | | |||||
* | | Convert *_KEY_STORAGE_UNWRAP | Miloslav Trmač | 2010-08-24 | 1 | -1/+3 |
| | | |||||
* | | Convert *_KEY_STORAGE_WRAP | Miloslav Trmač | 2010-08-24 | 1 | -1/+3 |
| | | |||||
* | | Convert *_KEY_UNWRAP | Miloslav Trmač | 2010-08-24 | 1 | -1/+2 |
| | | |||||
* | | Convert *_KEY_WRAP | Miloslav Trmač | 2010-08-24 | 1 | -1/+2 |
| | | |||||
* | | Convert *_KEY_DEINIT | Miloslav Trmač | 2010-08-24 | 1 | -1/+1 |
| | | |||||
* | | Convert *_KEY_IMPORT | Miloslav Trmač | 2010-08-24 | 1 | -1/+2 |
| | | |||||
* | | Convert *_KEY_EXPORT | Miloslav Trmač | 2010-08-24 | 1 | -1/+2 |
| | | |||||
* | | Convert *_KEY_GET_INFO | Miloslav Trmač | 2010-08-24 | 1 | -1/+3 |
| | | |||||
* | | Convert *_KEY_DERIVE | Miloslav Trmač | 2010-08-24 | 1 | -1/+2 |
| | | |||||
* | | Convert *_KEY_GENERATE_PAIR | Miloslav Trmač | 2010-08-24 | 1 | -1/+3 |
| | | |||||
* | | Convert *_KEY_GENERATE | Miloslav Trmač | 2010-08-24 | 1 | -1/+2 |
| | | |||||
* | | Convert *_KEY_INIT | Miloslav Trmač | 2010-08-24 | 1 | -1/+1 |
| | | |||||
* | | Simplify algorithm lookup by nla | Miloslav Trmač | 2010-08-24 | 1 | -0/+3 |
| | | |||||
* | | Add compat_ioctl infrastructure | Miloslav Trmač | 2010-08-24 | 1 | -0/+2 |
| | | |||||
* | | Drop unnecessary "file *" argument to ncr_ioctl() | Miloslav Trmač | 2010-08-24 | 1 | -2/+1 |
|/ | |||||
* | Improvements in key wrapping. Allowed symmetric keys to wrap assymetric ones. | Nikos Mavrogiannopoulos | 2010-08-21 | 1 | -0/+1 |
| | |||||
* | export ncr_key_clear(). And disallow key derivation from wrapping keys. | Nikos Mavrogiannopoulos | 2010-08-21 | 1 | -0/+2 |
| | |||||
* | Added KEY_WRAPPING flag that allows a key to be used for wrapping other keys. | Nikos Mavrogiannopoulos | 2010-08-19 | 1 | -0/+1 |
| | | | | | Only superuser can enable this flag. Prevent short keys to wrap longer ones. Added initial stuff for supporting wrapping of private and public keys. | ||||
* | Merge branch 'bugfixes' | Miloslav Trmač | 2010-08-07 | 1 | -1/+1 |
|\ | | | | | | | | | Conflicts: ncr-int.h | ||||
| * | Use a struct mutex for session_item_st.mem_mutex | Miloslav Trmač | 2010-08-07 | 1 | -1/+2 |
| | | | | | | | | Suggested by scripts/checkpatch.pl | ||||
* | | Merge branch 'master' into replace-lists | Miloslav Trmač | 2010-07-30 | 1 | -1/+1 |
|\| | | | | | | | | | | | | | Conflicts: ncr-int.h ncr-key.c ncr.c | ||||
| * | NCR_CIPHER_MAX_KEY_LEN no longer exist in userspace API. | Nikos Mavrogiannopoulos | 2010-07-28 | 1 | -0/+1 |
| | | |||||
| * | Drop a duplicate prototype | Miloslav Trmač | 2010-07-28 | 1 | -1/+0 |
| | | |||||
| * | Drop left-over code for data objects | Miloslav Trmač | 2010-07-28 | 1 | -1/+0 |
| | | |||||
* | | Finally remove the unused list_sem_st. | Miloslav Trmač | 2010-07-28 | 1 | -5/+0 |
| | | |||||
* | | Merge branch 'bugfixes' into replace-lists | Miloslav Trmač | 2010-07-28 | 1 | -1/+0 |
|\ \ | | | | | | | | | | | | | | | | Conflicts: ncr-int.h ncr.c | ||||
| * | | Drop left-over code for data objects | Miloslav Trmač | 2010-07-27 | 1 | -1/+0 |
| |/ | |||||
* | | Store all types of limits together. | Miloslav Trmač | 2010-07-28 | 1 | -0/+1 |
| | | | | | | | | | | | | A process/user that uses one type of crypto primitive is likely to use other types as well. This saves memory and simplifies lookup in the common case. | ||||
* | | Use <linux/idr.h> for session ID allocation and lookup | Miloslav Trmač | 2010-07-28 | 1 | -3/+2 |
| | | |||||
* | | Use <linux/idr.h> for key ID allocation and lookup | Miloslav Trmač | 2010-07-28 | 1 | -2/+4 |
| | | |||||
* | | Use ncr_lists instead of list_sem_st in intefaces | Miloslav Trmač | 2010-07-27 | 1 | -23/+23 |
|/ | | | | | | | | | | | | | | Should result in no functionality change. This makes the code marginally more effective (reducing the number of "&lst->key" and "&lst->sessions" operations in the code, and moving them toward dereferences where they can be combined with member accesses), and more type-safe (prevents mixing the key and session list in most places because they the difference is only in the low-level accessor functions). Most importantly, this allows replacing list_sem_st without having to touch most of the functions again. |