diff options
Diffstat (limited to 'xlators/encryption/crypt/src/keys.c')
-rw-r--r-- | xlators/encryption/crypt/src/keys.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xlators/encryption/crypt/src/keys.c b/xlators/encryption/crypt/src/keys.c index 05f9e75362a..0b243d3e827 100644 --- a/xlators/encryption/crypt/src/keys.c +++ b/xlators/encryption/crypt/src/keys.c @@ -13,7 +13,7 @@ #include "crypt.h" /* Key hierarchy - + +----------------+ | MASTER_VOL_KEY | +-------+--------+ @@ -63,7 +63,7 @@ static int32_t kderive_init(struct kderive_context *ctx, crypt_key_type type /* type of child key */) { unsigned char *pos; - uint32_t llen = strlen(crypt_keys[type].label); + uint32_t llen = strlen(crypt_keys[type].label); /* * Compoud the fixed input data for KDF: * [i]_2 || Label || 0x00 || Id-Context || [L]_2), @@ -111,7 +111,7 @@ static int32_t kderive_init(struct kderive_context *ctx, } static void kderive_update(struct kderive_context *ctx) -{ +{ uint32_t i; HMAC_CTX hctx; unsigned char *pos = ctx->out; |