Lines Matching refs:secret
427 int ceph_decrypt(struct ceph_crypto_key *secret, void *dst, size_t *dst_len, in ceph_decrypt() argument
430 switch (secret->type) { in ceph_decrypt()
439 return ceph_aes_decrypt(secret->key, secret->len, dst, in ceph_decrypt()
447 int ceph_decrypt2(struct ceph_crypto_key *secret, in ceph_decrypt2() argument
454 switch (secret->type) { in ceph_decrypt2()
471 return ceph_aes_decrypt2(secret->key, secret->len, in ceph_decrypt2()
480 int ceph_encrypt(struct ceph_crypto_key *secret, void *dst, size_t *dst_len, in ceph_encrypt() argument
483 switch (secret->type) { in ceph_encrypt()
492 return ceph_aes_encrypt(secret->key, secret->len, dst, in ceph_encrypt()
500 int ceph_encrypt2(struct ceph_crypto_key *secret, void *dst, size_t *dst_len, in ceph_encrypt2() argument
504 switch (secret->type) { in ceph_encrypt2()
514 return ceph_aes_encrypt2(secret->key, secret->len, dst, dst_len, in ceph_encrypt2()