Lines Matching refs:cksumlength
222 if (cksumout->len < kctx->gk5e->cksumlength) { in make_checksum()
275 checksumdata + checksumlen - kctx->gk5e->cksumlength, in make_checksum()
276 kctx->gk5e->cksumlength); in make_checksum()
279 memcpy(cksumout->data, checksumdata, kctx->gk5e->cksumlength); in make_checksum()
285 cksumout->len = kctx->gk5e->cksumlength; in make_checksum()
824 hmac.len = kctx->gk5e->cksumlength; in gss_krb5_aes_encrypt()
850 buf->tail[0].iov_len += kctx->gk5e->cksumlength; in gss_krb5_aes_encrypt()
851 buf->len += kctx->gk5e->cksumlength; in gss_krb5_aes_encrypt()
881 kctx->gk5e->cksumlength)); in gss_krb5_aes_decrypt()
887 our_hmac_obj.len = kctx->gk5e->cksumlength; in gss_krb5_aes_decrypt()
894 ret = read_bytes_from_xdr_buf(buf, len - kctx->gk5e->cksumlength, in gss_krb5_aes_decrypt()
895 pkt_hmac, kctx->gk5e->cksumlength); in gss_krb5_aes_decrypt()
899 if (crypto_memneq(pkt_hmac, our_hmac, kctx->gk5e->cksumlength) != 0) { in gss_krb5_aes_decrypt()
904 *tailskip = kctx->gk5e->cksumlength; in gss_krb5_aes_decrypt()
1059 hmac.len = kctx->gk5e->cksumlength; in krb5_etm_encrypt()
1064 buf->tail[0].iov_len += kctx->gk5e->cksumlength; in krb5_etm_encrypt()
1065 buf->len += kctx->gk5e->cksumlength; in krb5_etm_encrypt()
1124 kctx->gk5e->cksumlength)); in krb5_etm_decrypt()
1127 our_hmac_obj.len = kctx->gk5e->cksumlength; in krb5_etm_decrypt()
1131 ret = read_bytes_from_xdr_buf(buf, len - kctx->gk5e->cksumlength, in krb5_etm_decrypt()
1132 pkt_hmac, kctx->gk5e->cksumlength); in krb5_etm_decrypt()
1135 if (crypto_memneq(pkt_hmac, our_hmac, kctx->gk5e->cksumlength) != 0) { in krb5_etm_decrypt()
1147 *tailskip = kctx->gk5e->cksumlength; in krb5_etm_decrypt()