summaryrefslogtreecommitdiffstats
path: root/include/sys/zio_crypt.h
diff options
context:
space:
mode:
authorAndrea Gelmini <[email protected]>2019-08-30 18:53:15 +0200
committerBrian Behlendorf <[email protected]>2019-08-30 09:53:15 -0700
commitcf7c5a030e505451e0cbadc49e33e41f5219c44b (patch)
treeff7d12d4b31739ea8fe625991d6283284443c0a3 /include/sys/zio_crypt.h
parent0463c955011fc3913f9aaad6c686f48f118d2fef (diff)
Fix typos in include/
Reviewed-by: Ryan Moeller <[email protected]> Reviewed-by: Richard Laager <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Andrea Gelmini <[email protected]> Closes #9238
Diffstat (limited to 'include/sys/zio_crypt.h')
-rw-r--r--include/sys/zio_crypt.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/sys/zio_crypt.h b/include/sys/zio_crypt.h
index d54e2fe19..a02912791 100644
--- a/include/sys/zio_crypt.h
+++ b/include/sys/zio_crypt.h
@@ -55,7 +55,7 @@ typedef struct zio_crypt_info {
/* length of the encryption key */
size_t ci_keylen;
- /* human-readable name of the encryption alforithm */
+ /* human-readable name of the encryption algorithm */
char *ci_name;
} zio_crypt_info_t;
@@ -78,7 +78,7 @@ typedef struct zio_crypt_key {
/* buffer for hmac key */
uint8_t zk_hmac_keydata[SHA512_HMAC_KEYLEN];
- /* buffer for currrent encryption key derived from master key */
+ /* buffer for current encryption key derived from master key */
uint8_t zk_current_keydata[MASTER_KEY_MAX_LEN];
/* current 64 bit salt for deriving an encryption key */
@@ -99,7 +99,7 @@ typedef struct zio_crypt_key {
/* template of hmac key for illumos crypto api */
crypto_ctx_template_t zk_hmac_tmpl;
- /* lock for changing the salt and dependant values */
+ /* lock for changing the salt and dependent values */
krwlock_t zk_salt_lock;
} zio_crypt_key_t;