| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |\| | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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
|
|\| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Conflicts:
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-limits.c
crypto/userspace/ncr-pk.c
|
| |\| | | | |
|
| | |\| | | |
|
| | | | | | |
|
| | |\ \ \ \ |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
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.
|
| | |\ \ \ \ \ |
|
| | | | |_|/ /
| | | |/| | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This is necessary for in-tree builds, where this path is not added by
default. The alternative of using #include "..." is inconvenient for
libtomcrypt headers nested several subdirectories deep that need to
refer to ncr-int.h.
|
|\| | | | | | |
|
| |\| | | | | |
|
| | |\ \ \ \ \
| | | | |/ / /
| | | |/| | | |
|
| | | | | | | |
|
|\| | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Conflicts:
crypto/userspace/ncr-int.h
crypto/userspace/ncr-limits.c
|
| |\| | | | | |
|
| | |\ \ \ \ \
| | | | |_|/ /
| | | |/| | | |
|
| | | |\ \ \ \
| | | | | |/ /
| | | | |/| |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
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
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|