Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

These are the commands supported by the modctl system call #12901

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
ef1c363
module: icp: spi: remove crypto_{provider,op}_notification()
nabijaczleweli Dec 22, 2021
280b1ce
module: icp: spi: remove crypto_control_ops_t
nabijaczleweli Dec 22, 2021
4245184
module: icp: spi: flatten struct crypto_ops, crypto_provider_info
nabijaczleweli Dec 22, 2021
40dc1ea
module: icp: spi: crypto_ops_t: remove unused op types
nabijaczleweli Dec 22, 2021
facc4a7
module: icp: have a static 8 providers
nabijaczleweli Dec 23, 2021
db534ed
module: icp: guarantee the ops vector is persistent
nabijaczleweli Dec 23, 2021
3d694aa
module: icp: use original description
nabijaczleweli Dec 23, 2021
7d0f30b
module: icp: use original mechanisms
nabijaczleweli Dec 23, 2021
ba36379
module: icp: remove other provider types
nabijaczleweli Dec 23, 2021
167c64b
module: icp: remove unused kcf_cipher operations
nabijaczleweli Dec 23, 2021
342b68b
module: icp: remove unused kcf_mac operations
nabijaczleweli Dec 23, 2021
40f0875
module: icp: drop software provider generation numbers
nabijaczleweli Dec 24, 2021
3898649
module: icp: remove unused kcf_digest.c
nabijaczleweli Dec 24, 2021
b056ac1
module: icp: remove unused CRYPTO_ALWAYS_QUEUE
nabijaczleweli Dec 24, 2021
d95c406
module: icp: remove unused CRYPTO_{NOTIFY_OPDONE,SKIP_REQID,RESTRICTED}
nabijaczleweli Dec 24, 2021
bf3ac8e
module: icp: remove unused p[di]_flags
nabijaczleweli Dec 24, 2021
e36ec49
module: icp: remove unused kcf_op_{group,type}, req_params, ...
nabijaczleweli Dec 24, 2021
4944a91
module: icp: remove unused notification framework
nabijaczleweli Dec 24, 2021
101001f
module: icp: remove unused gswq, kcfpool, [as]req_cache, reqid_table,…
nabijaczleweli Dec 24, 2021
0606786
module: icp: remove unused struct crypto_ctx::cc_{session,flags,opstate}
nabijaczleweli Dec 24, 2021
b5f0c8d
module: icp: remove unused me_threshold
nabijaczleweli Dec 25, 2021
70992fe
module: icp: remove unused me_mutex
nabijaczleweli Dec 25, 2021
962d9bf
module: icp: rip out modhash. Replace the one user with AVL
nabijaczleweli Dec 25, 2021
8df68c5
module: icp: remove unused CRYPTO_* error codes
nabijaczleweli Dec 25, 2021
6ea45cd
module: icp: fold away all key formats except CRYPTO_KEY_RAW
nabijaczleweli Dec 25, 2021
fbd829e
module: icp: remove set-but-unused cd_miscdata
nabijaczleweli Dec 25, 2021
fe81f16
include: crypto: remove unused algorithm name defines
nabijaczleweli Dec 25, 2021
622a871
module: icp: remove algorithm name defines used only in the default m…
nabijaczleweli Dec 25, 2021
ca76115
include: crypto: clean out unused SYSCALL32 and flags
nabijaczleweli Dec 25, 2021
e7919dd
module: icp: remove unused headers. Migrate {ops => sched}_impl
nabijaczleweli Dec 25, 2021
02af443
include: crypto: clean out api.h
nabijaczleweli Dec 25, 2021
71a9483
module: icp: rip out insane crypto_req_handle_t mechanism, inline KM_…
nabijaczleweli Dec 25, 2021
0318106
module: icp: remove pre-set entries from mechtabs
nabijaczleweli Dec 25, 2021
4981143
module: icp: remove unused crypto_provider_handle_t
nabijaczleweli Dec 27, 2021
8cc04e7
module: icp: remove unused (and mostly faked) cm_{{min,max}_key_lengt…
nabijaczleweli Dec 27, 2021
3123ddd
module: icp: remove vestigia of crypto sessions
nabijaczleweli Dec 27, 2021
2ce9406
module: icp: remove unused pd_{remove_cv,hash_limit}
nabijaczleweli Dec 27, 2021
911d841
module: icp: enforce KCF_{OPS_CLASSSIZE,MAXMECHTAB}
nabijaczleweli Jan 7, 2022
dd9adae
module: icp: remove provider stats
nabijaczleweli Feb 2, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions include/os/freebsd/zfs/sys/freebsd_crypto.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@
#define SUN_CKM_AES_GCM "CKM_AES_GCM"
#define SUN_CKM_SHA512_HMAC "CKM_SHA512_HMAC"

#define CRYPTO_KEY_RAW 1

#define CRYPTO_BITS2BYTES(n) ((n) == 0 ? 0 : (((n) - 1) >> 3) + 1)
#define CRYPTO_BYTES2BITS(n) ((n) << 3)

Expand All @@ -61,12 +59,11 @@ typedef struct freebsd_crypt_session {
typedef void *crypto_mechanism_t;
typedef void *crypto_ctx_template_t;
/*
* Unlike the ICP crypto_key type, this only
* Like the ICP crypto_key type, this only
* supports <data, length> (the equivalent of
* CRYPTO_KEY_RAW).
* the former CRYPTO_KEY_RAW).
*/
typedef struct crypto_key {
int ck_format; /* Unused, but minimizes code diff */
void *ck_data;
size_t ck_length;
} crypto_key_t;
Expand Down
3 changes: 0 additions & 3 deletions include/os/freebsd/zfs/sys/sha2.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@
extern "C" {
#endif

#define SHA2_HMAC_MIN_KEY_LEN 1 /* SHA2-HMAC min key length in bytes */
#define SHA2_HMAC_MAX_KEY_LEN INT_MAX /* SHA2-HMAC max key length in bytes */

#define SHA256_DIGEST_LENGTH 32 /* SHA256 digest length in bytes */
#define SHA384_DIGEST_LENGTH 48 /* SHA384 digest length in bytes */
#define SHA512_DIGEST_LENGTH 64 /* SHA512 digest length in bytes */
Expand Down
2 changes: 0 additions & 2 deletions include/os/linux/spl/sys/taskq.h
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,6 @@ extern taskq_t *taskq_of_curthread(void);
((void) sizeof (dc), \
taskq_create(name, nthreads, maxclsyspri, min, max, flags))

extern boolean_t taskq_empty(taskq_t *);

int spl_taskq_init(void);
void spl_taskq_fini(void);

Expand Down
3 changes: 0 additions & 3 deletions include/os/linux/zfs/sys/sha2.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@
extern "C" {
#endif

#define SHA2_HMAC_MIN_KEY_LEN 1 /* SHA2-HMAC min key length in bytes */
#define SHA2_HMAC_MAX_KEY_LEN INT_MAX /* SHA2-HMAC max key length in bytes */

#define SHA256_DIGEST_LENGTH 32 /* SHA256 digest length in bytes */
#define SHA384_DIGEST_LENGTH 48 /* SHA384 digest length in bytes */
#define SHA512_DIGEST_LENGTH 64 /* SHA512 digest length in bytes */
Expand Down
367 changes: 8 additions & 359 deletions include/sys/crypto/api.h

Large diffs are not rendered by default.

Loading