10000 clarify trace message for raw key · devstator82/sqlcipher@3a68b1b · GitHub
[go: up one dir, main page]

Skip to content

Commit 3a68b1b

Browse files
committed
clarify trace message for raw key
1 parent 8ce46cd commit 3a68b1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/crypto_impl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ int sqlcipher_cipher_ctx_key_derive(codec_ctx *ctx, cipher_ctx *c_ctx) {
568568
if (c_ctx->pass_sz == ((c_ctx->key_sz*2)+3) && sqlite3StrNICmp(c_ctx->pass ,"x'", 2) == 0) {
569569
int n = c_ctx->pass_sz - 3; /* adjust for leading x' and tailing ' */
570570
const char *z = c_ctx->pass + 2; /* adjust lead offset of x' */
571-
CODEC_TRACE(("codec_key_derive: deriving key from hex\n"));
571+
CODEC_TRACE(("codec_key_derive: using raw key from hex\n"));
572572
cipher_hex2bin(z, n, c_ctx->key);
573573
} else {
574574
CODEC_TRACE(("codec_key_derive: deriving key using full PBKDF2 with %d iterations\n", c_ctx->kdf_iter));

0 commit comments

Comments
 (0)
0