commit | cbbfe499055f49c09210e04d9f88c2f483052384 | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@newdream.net> | Mon Aug 02 15:48:23 2010 -0700 |
committer | Sage Weil <sage@newdream.net> | Mon Aug 02 15:48:31 2010 -0700 |
tree | 055a42f950c68b6ecd47f61a80fa15e813fdb381 | |
parent | 73a7e693f9da464b0df07643af3f8ffc04dcc0b5 [diff] [blame] |
ceph: move AES iv definition to shared header Signed-off-by: Sage Weil <sage@newdream.net>
diff --git a/fs/ceph/crypto.c b/fs/ceph/crypto.c index c931827..a3e627f 100644 --- a/fs/ceph/crypto.c +++ b/fs/ceph/crypto.c
@@ -75,7 +75,7 @@ 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,