diff options
| author | Jiri Kosina <jkosina@suse.cz> | 2011-04-26 04:22:15 -0400 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.cz> | 2011-04-26 04:22:59 -0400 |
| commit | 07f9479a40cc778bc1462ada11f95b01360ae4ff (patch) | |
| tree | 0676cf38df3844004bb3ebfd99dfa67a4a8998f5 /net/ceph/crypto.h | |
| parent | 9d5e6bdb3013acfb311ab407eeca0b6a6a3dedbf (diff) | |
| parent | cd2e49e90f1cae7726c9a2c54488d881d7f1cd1c (diff) | |
Merge branch 'master' into for-next
Fast-forwarded to current state of Linus' tree as there are patches to be
applied for files that didn't exist on the old branch.
Diffstat (limited to 'net/ceph/crypto.h')
| -rw-r--r-- | net/ceph/crypto.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/ceph/crypto.h b/net/ceph/crypto.h index f9eccace592b..1919d1550d75 100644 --- a/net/ceph/crypto.h +++ b/net/ceph/crypto.h | |||
| @@ -19,6 +19,8 @@ static inline void ceph_crypto_key_destroy(struct ceph_crypto_key *key) | |||
| 19 | kfree(key->key); | 19 | kfree(key->key); |
| 20 | } | 20 | } |
| 21 | 21 | ||
| 22 | extern int ceph_crypto_key_clone(struct ceph_crypto_key *dst, | ||
| 23 | const struct ceph_crypto_key *src); | ||
| 22 | extern int ceph_crypto_key_encode(struct ceph_crypto_key *key, | 24 | extern int ceph_crypto_key_encode(struct ceph_crypto_key *key, |
| 23 | void **p, void *end); | 25 | void **p, void *end); |
| 24 | extern int ceph_crypto_key_decode(struct ceph_crypto_key *key, | 26 | extern int ceph_crypto_key_decode(struct ceph_crypto_key *key, |
| @@ -40,6 +42,8 @@ extern int ceph_encrypt2(struct ceph_crypto_key *secret, | |||
| 40 | void *dst, size_t *dst_len, | 42 | void *dst, size_t *dst_len, |
| 41 | const void *src1, size_t src1_len, | 43 | const void *src1, size_t src1_len, |
| 42 | const void *src2, size_t src2_len); | 44 | const void *src2, size_t src2_len); |
| 45 | extern int ceph_crypto_init(void); | ||
| 46 | extern void ceph_crypto_shutdown(void); | ||
| 43 | 47 | ||
| 44 | /* armor.c */ | 48 | /* armor.c */ |
| 45 | extern int ceph_armor(char *dst, const char *src, const char *end); | 49 | extern int ceph_armor(char *dst, const char *src, const char *end); |
