Lines Matching refs:secret
423 int ceph_decrypt(struct ceph_crypto_key *secret, void *dst, size_t *dst_len, in ceph_decrypt() argument
426 switch (secret->type) { in ceph_decrypt()
435 return ceph_aes_decrypt(secret->key, secret->len, dst, in ceph_decrypt()
443 int ceph_decrypt2(struct ceph_crypto_key *secret, in ceph_decrypt2() argument
450 switch (secret->type) { in ceph_decrypt2()
467 return ceph_aes_decrypt2(secret->key, secret->len, in ceph_decrypt2()
476 int ceph_encrypt(struct ceph_crypto_key *secret, void *dst, size_t *dst_len, in ceph_encrypt() argument
479 switch (secret->type) { in ceph_encrypt()
488 return ceph_aes_encrypt(secret->key, secret->len, dst, in ceph_encrypt()
496 int ceph_encrypt2(struct ceph_crypto_key *secret, void *dst, size_t *dst_len, in ceph_encrypt2() argument
500 switch (secret->type) { in ceph_encrypt2()
510 return ceph_aes_encrypt2(secret->key, secret->len, dst, dst_len, in ceph_encrypt2()