Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| | | * | | | 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 | |
| | | | | | ||||||
| | | * | | key generation must be done interruptible. | Nikos Mavrogiannopoulos | 2010-08-21 | 1 | -0/+1 | |
| | | | | | ||||||
| | | * | | Fix in export of DH keys. | Nikos Mavrogiannopoulos | 2010-08-21 | 1 | -1/+2 | |
| | | | | | ||||||
| | | * | | Corrected bug in importing RSA private keys. | Nikos Mavrogiannopoulos | 2010-08-21 | 1 | -1/+1 | |
| | | | | | ||||||
| | | * | | export ncr_key_clear(). And disallow key derivation from wrapping keys. | Nikos Mavrogiannopoulos | 2010-08-21 | 2 | -3/+11 | |
| | | | | | ||||||
| | | * | | Prevent usage of wrapping keys for anything else except wrapping. | Nikos Mavrogiannopoulos | 2010-08-21 | 1 | -0/+17 | |
| | | | | | ||||||
| | | * | | Increased RSA size to 8192. Return error on wrong arguments. | Nikos Mavrogiannopoulos | 2010-08-20 | 3 | -5/+5 | |
| | | | | | ||||||
| | | * | | Added KEY_WRAPPING flag that allows a key to be used for wrapping other keys. | Nikos Mavrogiannopoulos | 2010-08-19 | 10 | -19/+428 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | Only superuser can enable this flag. Prevent short keys to wrap longer ones. Added initial stuff for supporting wrapping of private and public keys. | |||||
* | | | | | Reserve ioctl range for <linux/ncr.h> | Miloslav Trmač | 2010-08-23 | 1 | -0/+1 | |
| | | | | | ||||||
* | | | | | Merge branch 'standalone-rename' into userspace-crypto | Miloslav Trmač | 2010-08-23 | 30 | -28/+24 | |
|\| | | | | ||||||
| * | | | | Merge branch 'standalone-master' into standalone-rename | Miloslav Trmač | 2010-08-23 | 30 | -28/+24 | |
| |\| | | | ||||||
| | * | | | Merge remote branch 'standalone/master' into standalone-master | Miloslav Trmač | 2010-08-23 | 30 | -28/+24 | |
| | |\ \ \ | ||||||
| | | * | | | Drop unnecessary "file *" argument to ncr_ioctl() | Miloslav Trmač | 2010-08-23 | 3 | -5/+3 | |
| | | |/ / | ||||||
| | | * | | Do not include linux headers to libtom files. This will allow easier ↵ | Nikos Mavrogiannopoulos | 2010-08-19 | 30 | -28/+24 | |
| | | | | | | | | | | | | | | | | | | | | replacement of them. | |||||
* | | | | | Merge branch 'standalone-rename' into userspace-crypto | Miloslav Trmač | 2010-08-20 | 4 | -6/+4 | |
|\| | | | | ||||||
| * | | | | Merge branch 'standalone-master' into standalone-rename | Miloslav Trmač | 2010-08-20 | 4 | -6/+4 | |
| |\| | | | ||||||
| | * | | | Merge branch 'bugfixes' | Miloslav Trmač | 2010-08-20 | 3 | -5/+3 | |
| | |\ \ \ | | | |/ / | | |/| | | ||||||
| | | * | | Drop unnecessary "file *" argument to ncr_ioctl() | Miloslav Trmač | 2010-08-17 | 3 | -5/+3 | |
| | | | | | ||||||
| | * | | | Merge branch 'bugfixes' | Miloslav Trmač | 2010-08-12 | 1 | -1/+1 | |
| | |\| | | ||||||
| | | * | | Fix prime testing | Miloslav Trmač | 2010-08-12 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | Upstream commit a53ea341274300323cd2e664440d8bc0c4d8328a | |||||
* | | | | | Merge branch 'standalone-rename' into userspace-crypto | Miloslav Trmač | 2010-08-08 | 0 | -0/+0 | |
|\| | | | | ||||||
| * | | | | Merge branch 'standalone-master' into standalone-rename | Miloslav Trmač | 2010-08-08 | 0 | -0/+0 | |
| |\| | | | ||||||
| | * | | | Merge branch 'replace-lists' | Miloslav Trmač | 2010-08-08 | 0 | -0/+0 | |
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ncr-key.c | |||||
| | | * | | | Finally remove the unused list_sem_st. | Miloslav Trmač | 2010-08-08 | 1 | -5/+0 | |
| | | | | | | ||||||
| | | * | | | Stop looking in the hash table after the first match. | Miloslav Trmač | 2010-08-08 | 1 | -1/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There should be only one entry anyway. This reduces the average lookup time when there are hash collisions roughly by half. | |||||
| | | * | | | Use hash tables to speed up limit lookup | Miloslav Trmač | 2010-08-08 | 1 | -45/+80 | |
| | | | | | | ||||||
| | | * | | | Store all types of limits together. | Miloslav Trmač | 2010-08-08 | 2 | -18/+25 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-08-08 | 3 | -69/+52 | |
| | | | | | | ||||||
| | | * | | | Use <linux/idr.h> for key ID allocation and lookup | Miloslav Trmač | 2010-08-08 | 3 | -110/+88 | |
| | | | | | | ||||||
| | | * | | | Change NCR_{KEY,SESSION}_INVALID | Miloslav Trmač | 2010-08-08 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | We will be able allocate ID 0. Note that this is an ABI change. | |||||
| | | * | | | Use ncr_lists instead of list_sem_st in intefaces | Miloslav Trmač | 2010-08-08 | 5 | -92/+105 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
| | * | | | | Merge branch 'bugfixes' | Miloslav Trmač | 2010-08-08 | 0 | -0/+0 | |
| | |\ \ \ \ | | | | |/ / | | | |/| | | ||||||
| | | * | | | Ensure sign_hash is valid in RSA sign/verify | Miloslav Trmač | 2010-08-08 | 1 | -0/+8 | |
| | | | | | | ||||||
* | | | | | | Merge branch 'standalone-rename' into userspace-crypto | Miloslav Trmač | 2010-08-08 | 12 | -76/+71 | |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: crypto/userspace/cryptodev_main.c crypto/userspace/ncr-dh.c crypto/userspace/ncr-key-storage.c crypto/userspace/ncr-key-wrap.c crypto/userspace/ncr-key.c crypto/userspace/ncr-pk.c crypto/userspace/ncr-sessions.c crypto/userspace/ncr.c include/linux/cryptodev.h include/linux/ncr.h | |||||
| * | | | | | Merge branch 'standalone-master' into standalone-rename | Miloslav Trmač | 2010-08-08 | 12 | -71/+73 | |
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: examples/cipher.c examples/hmac.c examples/ncr.c examples/pk.c userspace/setkey.c |