Lines Matching refs:keyspec_sz
21606 int keyspec_sz; member
23308 sqlcipher_free(c_ctx->keyspec, ctx->keyspec_sz); in sqlcipher_cipher_ctx_free()
23386 sqlcipher_free(target->keyspec, ctx->keyspec_sz); in sqlcipher_cipher_ctx_copy()
23401 target->keyspec = sqlcipher_malloc(ctx->keyspec_sz); in sqlcipher_cipher_ctx_copy()
23403 memcpy(target->keyspec, source->keyspec, ctx->keyspec_sz); in sqlcipher_cipher_ctx_copy()
23416 sqlcipher_free(c_ctx->keyspec, ctx->keyspec_sz); in sqlcipher_cipher_ctx_set_keyspec()
23419 c_ctx->keyspec = sqlcipher_malloc(ctx->keyspec_sz); in sqlcipher_cipher_ctx_set_keyspec()
23426 c_ctx->keyspec[ctx->keyspec_sz - 1] = '\''; in sqlcipher_cipher_ctx_set_keyspec()
23679 *nKey = ctx->keyspec_sz; in sqlcipher_codec_get_keyspec()
23783 ctx->keyspec_sz = ((ctx->key_sz + ctx->kdf_salt_sz) * 2) + 3; in sqlcipher_codec_ctx_init()
24217 int i, pass_sz, keyspec_sz, nRes, user_version, rc, oflags; in sqlcipher_codec_ctx_migrate() local
24228 pass_sz = keyspec_sz = rc = user_version = 0; in sqlcipher_codec_ctx_migrate()
24329 sqlite3CodecGetKey(db, db->nDb - 1, (void**)&keyspec, &keyspec_sz); in sqlcipher_codec_ctx_migrate()
24330 sqlite3CodecAttach(db, 0, keyspec, keyspec_sz); in sqlcipher_codec_ctx_migrate()