summaryrefslogtreecommitdiffstats
path: root/fs/ceph/crypto.c
diff options
context:
space:
mode:
authorSage Weil2010-08-03 00:48:23 +0200
committerSage Weil2010-08-03 00:48:31 +0200
commitcbbfe499055f49c09210e04d9f88c2f483052384 (patch)
tree055a42f950c68b6ecd47f61a80fa15e813fdb381 /fs/ceph/crypto.c
parentceph: fix decoding of pool snap info (diff)
downloadkernel-qcow2-linux-cbbfe499055f49c09210e04d9f88c2f483052384.tar.gz
kernel-qcow2-linux-cbbfe499055f49c09210e04d9f88c2f483052384.tar.xz
kernel-qcow2-linux-cbbfe499055f49c09210e04d9f88c2f483052384.zip
ceph: move AES iv definition to shared header
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/crypto.c')
-rw-r--r--fs/ceph/crypto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/crypto.c b/fs/ceph/crypto.c
index c9318278f419..a3e627f63293 100644
--- a/fs/ceph/crypto.c
+++ b/fs/ceph/crypto.c
@@ -75,7 +75,7 @@ static struct crypto_blkcipher *ceph_crypto_alloc_cipher(void)
return crypto_alloc_blkcipher("cbc(aes)", 0, CRYPTO_ALG_ASYNC);
}
-static const u8 *aes_iv = "cephsageyudagreg";
+static const u8 *aes_iv = (u8 *)CEPH_AES_IV;
static int ceph_aes_encrypt(const void *key, int key_len,
void *dst, size_t *dst_len,