Searched refs:krb5_tfms (Results 1 – 2 of 2) sorted by relevance
49 if (WARN_ON_ONCE(key_usage_cnt > ARRAY_SIZE(key->krb5_tfms))) in set_krb5_tfms()63 key->krb5_tfms[i] = crypto_krb5_prepare_encryption( in set_krb5_tfms()66 if (IS_ERR(key->krb5_tfms[i])) { in set_krb5_tfms()67 ret = PTR_ERR(key->krb5_tfms[i]); in set_krb5_tfms()68 key->krb5_tfms[i] = NULL; in set_krb5_tfms()183 for (i = 0; i < ARRAY_SIZE(key->krb5_tfms); i++) { in ceph_crypto_key_destroy()184 if (key->krb5_tfms[i]) { in ceph_crypto_key_destroy()185 crypto_free_aead(key->krb5_tfms[i]); in ceph_crypto_key_destroy()186 key->krb5_tfms[i] = NULL; in ceph_crypto_key_destroy()335 if (WARN_ON_ONCE(usage_slot >= ARRAY_SIZE(key->krb5_tfms))) in ceph_krb5_encrypt()[all …]
26 struct crypto_aead *krb5_tfms[3]; member