Lines Matching refs:gk5e
150 static int krb5_DK(const struct gss_krb5_enctype *gk5e, in krb5_DK() argument
160 keybytes = gk5e->keybytes; in krb5_DK()
161 keylength = gk5e->keylength; in krb5_DK()
166 cipher = crypto_alloc_sync_skcipher(gk5e->encrypt_name, 0, 0); in krb5_DK()
228 static int krb5_random_to_key_v2(const struct gss_krb5_enctype *gk5e, in krb5_random_to_key_v2() argument
267 int krb5_derive_key_v2(const struct gss_krb5_enctype *gk5e, in krb5_derive_key_v2() argument
276 inblock.len = gk5e->keybytes; in krb5_derive_key_v2()
281 ret = krb5_DK(gk5e, inkey, inblock.data, label, gfp_mask); in krb5_derive_key_v2()
283 ret = krb5_random_to_key_v2(gk5e, &inblock, outkey); in krb5_derive_key_v2()
368 krb5_kdf_feedback_cmac(const struct gss_krb5_enctype *gk5e, in krb5_kdf_feedback_cmac() argument
386 tfm = crypto_alloc_shash(gk5e->cksum_name, 0, 0); in krb5_kdf_feedback_cmac()
500 krb5_kdf_hmac_sha2(const struct gss_krb5_enctype *gk5e, in krb5_kdf_hmac_sha2() argument
518 tfm = crypto_alloc_shash(gk5e->cksum_name, 0, 0); in krb5_kdf_hmac_sha2()