Home
last modified time | relevance | path

Searched refs:ckey (Results 1 – 2 of 2) sorted by relevance

/net/ceph/
A Dcrypto.c288 struct ceph_crypto_key *ckey; in ceph_key_preparse() local
298 ckey = kmalloc(sizeof(*ckey), GFP_KERNEL); in ceph_key_preparse()
299 if (!ckey) in ceph_key_preparse()
308 prep->payload.data[0] = ckey; in ceph_key_preparse()
313 kfree(ckey); in ceph_key_preparse()
320 struct ceph_crypto_key *ckey = prep->payload.data[0]; in ceph_key_free_preparse() local
321 ceph_crypto_key_destroy(ckey); in ceph_key_free_preparse()
322 kfree(ckey); in ceph_key_free_preparse()
327 struct ceph_crypto_key *ckey = key->payload.data[0]; in ceph_key_destroy() local
329 ceph_crypto_key_destroy(ckey); in ceph_key_destroy()
[all …]
A Dceph_common.c360 struct ceph_crypto_key *ckey; in get_secret() local
388 ckey = ukey->payload.data[0]; in get_secret()
389 err = ceph_crypto_key_clone(dst, ckey); in get_secret()

Completed in 5 milliseconds