Lines Matching defs:key
20 static int set_aes_tfm(struct ceph_crypto_key *key) in set_aes_tfm()
41 static int set_krb5_tfms(struct ceph_crypto_key *key, const u32 *key_usages, in set_krb5_tfms()
78 int ceph_crypto_key_prepare(struct ceph_crypto_key *key, in ceph_crypto_key_prepare()
114 int ceph_crypto_key_decode(struct ceph_crypto_key *key, void **p, void *end) in ceph_crypto_key_decode()
139 int ceph_crypto_key_unarmor(struct ceph_crypto_key *key, const char *inkey) in ceph_crypto_key_unarmor()
166 void ceph_crypto_key_destroy(struct ceph_crypto_key *key) in ceph_crypto_key_destroy()
264 static int ceph_aes_crypt(const struct ceph_crypto_key *key, bool encrypt, in ceph_aes_crypt()
328 static int ceph_krb5_encrypt(const struct ceph_crypto_key *key, int usage_slot, in ceph_krb5_encrypt()
358 static int ceph_krb5_decrypt(const struct ceph_crypto_key *key, int usage_slot, in ceph_krb5_decrypt()
389 int ceph_crypt(const struct ceph_crypto_key *key, int usage_slot, bool encrypt, in ceph_crypt()
410 int ceph_crypt_data_offset(const struct ceph_crypto_key *key) in ceph_crypt_data_offset()
424 int ceph_crypt_buflen(const struct ceph_crypto_key *key, int data_len) in ceph_crypt_buflen()
441 void ceph_hmac_sha256(const struct ceph_crypto_key *key, const void *buf, in ceph_hmac_sha256()
496 static void ceph_key_destroy(struct key *key) in ceph_key_destroy()