Searched refs:cklen (Results 1 – 8 of 8) sorted by relevance
/freebsd/sys/kgssapi/krb5/ |
H A D | krb5_mech.c | 863 size_t tlen, mlen, cklen; in krb5_get_mic_old() local 886 cklen = kc->kc_checksumkey->ks_class->ec_checksumlen; in krb5_get_mic_old() 891 tm->m_len = cklen; in krb5_get_mic_old() 895 8 + mlen, cklen); in krb5_get_mic_old() 896 bcopy(tm->m_data, p + 8, cklen); in krb5_get_mic_old() 937 mic->m_len += 8 + cklen; in krb5_get_mic_old() 938 krb5_encrypt(kc->kc_tokenkey, mic, mic->m_len - cklen - 8, 8, buf, 8); in krb5_get_mic_old() 952 size_t mlen, cklen; in krb5_get_mic_new() local 956 cklen = key->ks_class->ec_checksumlen; in krb5_get_mic_new() 958 KASSERT(16 + cklen <= MLEN, ("checksum too large for an mbuf")); in krb5_get_mic_new() [all …]
|
/freebsd/sys/rpc/rpcsec_gss/ |
H A D | rpcsec_gss_prot.c | 228 uint32_t len, cklen; in xdr_rpc_gss_unwrap_data() local 254 cklen = get_uint32(&results); in xdr_rpc_gss_unwrap_data() 259 KASSERT(cklen <= MHLEN, ("unexpected large GSS-API checksum")); in xdr_rpc_gss_unwrap_data() 261 if (cklen > mic->m_len) { in xdr_rpc_gss_unwrap_data() 262 mic = m_pullup(mic, cklen); in xdr_rpc_gss_unwrap_data() 268 if (cklen != RNDUP(cklen)) in xdr_rpc_gss_unwrap_data() 269 m_trim(mic, cklen); in xdr_rpc_gss_unwrap_data()
|
/freebsd/sys/netinet/ |
H A D | ip_output.c | 1051 uint16_t cklen, csum, offset; in in_delayed_cksum() local 1060 uh_ulen), sizeof(cklen), (caddr_t)&cklen); in in_delayed_cksum() 1061 cklen = ntohs(cklen); in in_delayed_cksum() 1064 cklen = ntohs(uh->uh_ulen); in in_delayed_cksum() 1066 csum = in_cksum_skip(m, cklen + offset, offset); in in_delayed_cksum() 1070 cklen = ntohs(ip->ip_len); in in_delayed_cksum() 1071 csum = in_cksum_skip(m, cklen, offset); in in_delayed_cksum()
|
/freebsd/sys/dev/safexcel/ |
H A D | safexcel.c | 1388 int aklen, alg, cklen, off; in safexcel_set_context() local 1392 cklen = csp->csp_cipher_klen; in safexcel_set_context() 1394 cklen /= 2; in safexcel_set_context() 1401 memcpy(data, ckey, cklen); in safexcel_set_context() 1402 off = cklen; in safexcel_set_context() 1412 safexcel_setkey_ghash(ckey, cklen, (uint32_t *)(data + off)); in safexcel_set_context() 1416 safexcel_setkey_xcbcmac(ckey, cklen, (uint32_t *)(data + off)); in safexcel_set_context() 1417 off += AES_BLOCK_LEN * 2 + cklen; in safexcel_set_context() 1420 safexcel_setkey_xts(ckey, cklen, data + off); in safexcel_set_context() 1421 off += cklen; in safexcel_set_context()
|
/freebsd/sys/fs/nfsserver/ |
H A D | nfs_nfsdcache.c | 1027 int len = 0, cklen; in nfsrc_getlenandcksum() local 1035 cklen = (len > NFSRVCACHE_CHECKLEN) ? NFSRVCACHE_CHECKLEN : len; in nfsrc_getlenandcksum() 1036 *cksum = in_cksum(m1, cklen); in nfsrc_getlenandcksum()
|
/freebsd/sys/dev/hifn/ |
H A D | hifn7751var.h | 269 int cklen; member
|
H A D | hifn7751.c | 1608 bcopy(cmd->ck, buf_pos, cmd->cklen); in hifn_write_command() 1609 buf_pos += cmd->cklen; in hifn_write_command() 2429 cmd->cklen = csp->csp_cipher_klen; in hifn_process() 2437 switch (cmd->cklen) { in hifn_process()
|
/freebsd/usr.sbin/bhyve/ |
H A D | pci_e82545.c | 1043 unsigned int cklen; in e82545_transmit_checksum() local 1047 cklen = ck->ck_len ? ck->ck_len - ck->ck_start + 1U : UINT_MAX; in e82545_transmit_checksum() 1048 cksum = e82545_iov_checksum(iov, iovcnt, ck->ck_start, cklen); in e82545_transmit_checksum()
|