diff options
author | наб <[email protected]> | 2021-12-25 04:34:29 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2022-02-15 16:25:37 -0800 |
commit | df7b54f1d983ca41e7b2add09664b1da128f3424 (patch) | |
tree | 867a3ba405a08eb81c848408b8fe11b3444576fb /module/icp/include/modes/modes.h | |
parent | 15ec0863963a12f698e0318d6cac76c48b9770d5 (diff) |
module: icp: rip out insane crypto_req_handle_t mechanism, inline KM_SLEEP
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes #12901
Diffstat (limited to 'module/icp/include/modes/modes.h')
-rw-r--r-- | module/icp/include/modes/modes.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/module/icp/include/modes/modes.h b/module/icp/include/modes/modes.h index ab7119754..aa88ea97e 100644 --- a/module/icp/include/modes/modes.h +++ b/module/icp/include/modes/modes.h @@ -207,10 +207,6 @@ typedef struct ccm_ctx { * * gcm_len_a_len_c: 64-bit representations of the bit lengths of * AAD and ciphertext. - * - * gcm_kmflag: Current value of kmflag. Used for allocating - * the plaintext buffer during decryption and a - * gcm_avx_chunk_size'd buffer for avx enabled encryption. */ typedef struct gcm_ctx { struct common_ctx gcm_common; @@ -231,7 +227,6 @@ typedef struct gcm_ctx { uint64_t gcm_J0[2]; uint64_t gcm_len_a_len_c[2]; uint8_t *gcm_pt_buf; - int gcm_kmflag; #ifdef CAN_USE_GCM_ASM boolean_t gcm_use_avx; #endif @@ -402,7 +397,6 @@ extern void *ccm_alloc_ctx(int); extern void *gcm_alloc_ctx(int); extern void *gmac_alloc_ctx(int); extern void crypto_free_mode_ctx(void *); -extern void gcm_set_kmflag(gcm_ctx_t *, int); #ifdef __cplusplus } |