| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
Only superuser can enable this flag. Prevent short keys to wrap longer ones. Added initial stuff
for supporting wrapping of private and public keys.
|
|
|
|
| |
replacement of them.
|
|\ |
|
| |
| |
| |
| | |
Upstream commit a53ea341274300323cd2e664440d8bc0c4d8328a
|
|\ \
| | |
| | |
| | |
| | | |
Conflicts:
ncr-key.c
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
There should be only one entry anyway. This reduces the average lookup
time when there are hash collisions roughly by half.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
We will be able allocate ID 0. Note that this is an ABI change.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|\ \ \
| | |/
| |/| |
|
| | | |
|
|\| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When included in the kernel tree, <inttypes.h> is not available, so
<linux/types.h> has to be used. <linux/types.h> does not provide the
uintNN_t and size_t types when installed to /usr/include/linux (package
kernel-headers on Fedora).
Therefore, use the types from <linux/types.h> that are available in
userspace.
Also fix user-space users of the headers not to assume that they provide
the <stdint.h> types.
|
|\| |
| | |
| | |
| | |
| | | |
Conflicts:
ncr-int.h
|
| | |
| | |
| | |
| | | |
Suggested by scripts/checkpatch.pl.
|
| | |
| | |
| | |
| | | |
Suggested by scripts/checkpatch.pl.
|
| | |
| | |
| | |
| | | |
Suggested by scripts/checkpatch.pl.
|
| | |
| | |
| | |
| | | |
Suggested by scripts/checkpatch.pl
|
|\| | |
|
| | | |
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
We can allocate ID 0 now. Note that this is an ABI change.
|
|\ \ \ \
| | |/ /
| |/| | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Originally motivated by debugobject.c reports about using INIT_WORK
instead of INIT_WORK_ON_STACK and destroy_work_on_stack. In fact the
work queue is completely unnecessary, and this commit removes it.
|
|\ \ \ \ |
|
| | |_|/
| |/| | |
|
|\ \ \ \
| | |/ /
| |/| | |
|
| | | | |
|
|\ \ \ \
| | |_|/
| |/| | |
|
| |\ \ \
| | | |/
| | |/|
| | | |
| | | |
| | | |
| | | | |
Conflicts:
ncr-int.h
ncr-key.c
ncr.c
|
| | | | |
|
| |\ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Conflicts:
ncr-int.h
ncr.c
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
There should be only one entry anyway. This reduces the average lookup
time when there are hash collisions roughly by half.
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
| | | | | |
|
| | | | | |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
|\ \ \ \
| | |_|/
| |/| | |
|
| | |/
| |/| |
|
|\ \ \
| |/ /
|/| | |
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
libtomcrypt/pk/pkcs1/pkcs_1_pss_decode.c
libtomcrypt/pk/pkcs1/pkcs_1_pss_encode.c
libtomcrypt/pk/rsa/rsa_decrypt_key.c
libtomcrypt/pk/rsa/rsa_encrypt_key.c
libtomcrypt/pk/rsa/rsa_sign_hash.c
libtomcrypt/pk/rsa/rsa_verify_hash.c
ncr-int.h
ncr-key.c
ncr-pk.c
ncr-sessions.c
|
| | | | |
|
| | | | |
|
| | | | |
|