Lines Matching refs:checksumdata
219 u8 *checksumdata; in make_checksum() local
228 checksumdata = kmalloc(GSS_KRB5_MAX_CKSUM_LEN, GFP_KERNEL); in make_checksum()
229 if (checksumdata == NULL) in make_checksum()
263 ahash_request_set_crypt(req, NULL, checksumdata, 0); in make_checksum()
270 err = krb5_encrypt(kctx->seq, NULL, checksumdata, in make_checksum()
271 checksumdata, checksumlen); in make_checksum()
275 checksumdata + checksumlen - kctx->gk5e->cksumlength, in make_checksum()
279 memcpy(cksumout->data, checksumdata, kctx->gk5e->cksumlength); in make_checksum()
291 kfree(checksumdata); in make_checksum()
320 u8 *checksumdata; in gss_krb5_checksum() local
322 checksumdata = kmalloc(crypto_ahash_digestsize(tfm), GFP_KERNEL); in gss_krb5_checksum()
323 if (!checksumdata) in gss_krb5_checksum()
352 ahash_request_set_crypt(req, NULL, checksumdata, 0); in gss_krb5_checksum()
357 memcpy(cksumout->data, checksumdata, in gss_krb5_checksum()
363 kfree_sensitive(checksumdata); in gss_krb5_checksum()
936 u8 *iv, *checksumdata; in krb5_etm_checksum() local
939 checksumdata = kmalloc(crypto_ahash_digestsize(tfm), GFP_KERNEL); in krb5_etm_checksum()
940 if (!checksumdata) in krb5_etm_checksum()
965 ahash_request_set_crypt(req, NULL, checksumdata, 0); in krb5_etm_checksum()
969 memcpy(cksumout->data, checksumdata, cksumout->len); in krb5_etm_checksum()
975 kfree_sensitive(checksumdata); in krb5_etm_checksum()