]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/ceph/crypto.c
ceph: move AES iv definition to shared header
[net-next-2.6.git] / fs / ceph / crypto.c
index c9318278f419c7162bd648e7bd9706a4cc01907f..a3e627f63293b2d329f620525328280a9ae15291 100644 (file)
@@ -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,