Lines Matching defs:secret
319 int ceph_decrypt(struct ceph_crypto_key *secret, void *dst, size_t *dst_len,
322 switch (secret->type) {
331 return ceph_aes_decrypt(secret->key, secret->len, dst,
339 int ceph_decrypt2(struct ceph_crypto_key *secret,
346 switch (secret->type) {
363 return ceph_aes_decrypt2(secret->key, secret->len,
372 int ceph_encrypt(struct ceph_crypto_key *secret, void *dst, size_t *dst_len,
375 switch (secret->type) {
384 return ceph_aes_encrypt(secret->key, secret->len, dst,
392 int ceph_encrypt2(struct ceph_crypto_key *secret, void *dst, size_t *dst_len,
396 switch (secret->type) {
406 return ceph_aes_encrypt2(secret->key, secret->len, dst, dst_len,