Home
last modified time | relevance | path

Searched refs:MLEN (Results 1 – 25 of 36) sorted by relevance

12

/freebsd-14-stable/sys/contrib/libsodium/test/default/
HDaead_chacha20poly1305.c8 #undef MLEN in tv()
9 #define MLEN 10U in tv() macro
13 #define CLEN (MLEN + crypto_aead_chacha20poly1305_ABYTES) in tv()
18 static const unsigned char m[MLEN] in tv()
25 unsigned char *detached_c = (unsigned char *) sodium_malloc(MLEN); in tv()
27 unsigned char *m2 = (unsigned char *) sodium_malloc(MLEN); in tv()
33 crypto_aead_chacha20poly1305_encrypt(c, &found_clen, m, MLEN, in tv()
48 m, MLEN, ad, ADLEN, in tv()
53 if (memcmp(detached_c, c, MLEN) != 0) { in tv()
62 if (m2len != MLEN) { in tv()
[all …]
HDaead_xchacha20poly1305.c8 #undef MLEN in tv()
9 #define MLEN 114U in tv() macro
13 #define CLEN (MLEN + crypto_aead_xchacha20poly1305_ietf_ABYTES) in tv()
24 unsigned char *m = (unsigned char *) sodium_malloc(MLEN); in tv()
31 unsigned char *detached_c = (unsigned char *) sodium_malloc(MLEN); in tv()
34 unsigned char *m2 = (unsigned char *) sodium_malloc(MLEN); in tv()
40 assert(sizeof MESSAGE - 1U == MLEN); in tv()
41 memcpy(m, MESSAGE, MLEN); in tv()
42 crypto_aead_xchacha20poly1305_ietf_encrypt(c, &found_clen, m, MLEN, in tv()
45 if (found_clen != MLEN + crypto_aead_xchacha20poly1305_ietf_abytes()) { in tv()
[all …]
/freebsd-14-stable/sys/kgssapi/
HDgss_verify_mic.c58 if (message_buffer->length > MLEN) in gss_verify_mic()
63 if (token_buffer->length > MLEN) in gss_verify_mic()
HDgss_unwrap.c59 if (input_message_buffer->length > MLEN) in gss_unwrap()
HDgss_get_mic.c58 if (message_buffer->length > MLEN) in gss_get_mic()
HDgss_wrap.c60 if (input_message_buffer->length > MLEN) in gss_wrap()
/freebsd-14-stable/sys/kern/
HDuipc_mbuf.c187 CTASSERT(MSIZE - offsetof(struct mbuf, m_dat) == MLEN);
738 nsize = MLEN; in m_dup()
945 n->m_data + len < &n->m_dat[MLEN] && n->m_next) { in m_pullup()
960 space = &m->m_dat[MLEN] - (m->m_data + m->m_len); in m_pullup()
1004 space = &m->m_dat[MLEN] - (m->m_data + m->m_len); in m_copyup()
1157 len = MLEN; in m_devget()
1226 bzero(mtod(n, caddr_t), MLEN); in m_copyback()
1227 n->m_len = min(MLEN, len + off); in m_copyback()
1253 n->m_len = min(MLEN, len); in m_copyback()
1297 n->m_len = min(MLEN, remainder); in m_append()
[all …]
HDvfs_export.c153 if (argp->ex_addrlen > MLEN) { in vfs_hang_addrlist()
155 argp->ex_addrlen, MLEN); in vfs_hang_addrlist()
HDuipc_sockbuf.c155 if ((m->m_flags & M_EXTPG) && m->m_len <= MLEN && in sbready_compress()
1252 if (asa->sa_len > MLEN) in sbappendaddr_locked_internal()
1452 if (m->m_len <= MLEN && (m->m_flags & M_EXTPG) && in sbcompress()
1856 if (CMSG_SPACE(size) > MLEN) in sbcreatecontrol()
HDuipc_mbuf2.c231 if (len > MLEN) in m_pulldown()
HDkern_mbuf.c862 char buf[MLEN]; in mb_unmapped_compress()
871 KASSERT(m->m_len <= MLEN, ("m_len too large %p", m)); in mb_unmapped_compress()
1371 if (size <= MHLEN || (size <= MLEN && (flags & M_PKTHDR) == 0)) in m_get2()
HDsubr_mchain.c114 if (size > MLEN) in mb_reserve()
HDuipc_syscalls.c1517 if (buflen > MLEN) { in sockargs()
1521 buflen = MLEN; /* unix domain compat. hack */ in sockargs()
HDuipc_socket.c4303 if (sopt_size > MLEN) {
4311 m->m_len = min(MLEN, sopt_size);
4323 if (sopt_size > MLEN) {
4333 m->m_len = min(MLEN, sopt_size);
/freebsd-14-stable/sys/rpc/
HDrpcm_subs.h85 if ((s) > MLEN) \
/freebsd-14-stable/sys/fs/nfs/
HDnfsm_subs.h66 if (siz > MLEN) in nfsm_build()
/freebsd-14-stable/share/doc/smm/18.net/
HDspell.ok78 MLEN
/freebsd-14-stable/sys/netpfil/pf/
HDif_pflog.c80 #define PFLOGMTU (32768 + MHLEN + MLEN)
/freebsd-14-stable/sys/netpfil/ipfilter/netinet/
HDip_fil_freebsd.c363 if (sizeof(*tcp2) + hlen > MLEN) { in ipf_send_reset()
1217 if (len > MLEN) in ipf_pullup()
/freebsd-14-stable/sys/sys/
HDmbuf.h97 #define MLEN ((int)(MSIZE - MHSIZE)) macro
1195 MLEN)
/freebsd-14-stable/sys/dev/le/
HDlance.c420 len = MLEN; in lance_get()
/freebsd-14-stable/sys/netinet/
HDip_options.c629 if (m->m_data + m->m_len + sizeof(struct in_addr) >= &m->m_dat[MLEN]) in ip_pcbopts()
/freebsd-14-stable/sys/dev/safe/
HDsafe.c1071 len = MLEN; in safe_process()
1103 len = MLEN; in safe_process()
/freebsd-14-stable/sys/kgssapi/krb5/
HDkrb5_mech.c575 KASSERT(tlen <= MLEN, ("token head too large")); in krb5_make_token()
958 KASSERT(16 + cklen <= MLEN, ("checksum too large for an mbuf")); in krb5_get_mic_new()
/freebsd-14-stable/sys/dev/hifn/
HDhifn7751.c1846 len = MLEN; in hifn_crypto()
1875 len = MLEN; in hifn_crypto()

12