/freebsd-current/sys/contrib/libsodium/test/default/ |
H A D | aead_chacha20poly1305.c | 8 #undef MLEN macro 9 #define MLEN 10U macro 13 #define CLEN (MLEN + crypto_aead_chacha20poly1305_ABYTES) 18 static const unsigned char m[MLEN] 25 unsigned char *detached_c = (unsigned char *) sodium_malloc(MLEN); 27 unsigned char *m2 = (unsigned char *) sodium_malloc(MLEN); 33 crypto_aead_chacha20poly1305_encrypt(c, &found_clen, m, MLEN, 48 m, MLEN, ad, ADLEN, 53 if (memcmp(detached_c, c, MLEN) != 0) { 62 if (m2len != MLEN) { 183 #undef MLEN macro 184 #define MLEN macro [all...] |
H A D | aead_xchacha20poly1305.c | 8 #undef MLEN macro 9 #define MLEN 114U macro 13 #define CLEN (MLEN + crypto_aead_xchacha20poly1305_ietf_ABYTES) 24 unsigned char *m = (unsigned char *) sodium_malloc(MLEN); 31 unsigned char *detached_c = (unsigned char *) sodium_malloc(MLEN); 34 unsigned char *m2 = (unsigned char *) sodium_malloc(MLEN); 40 assert(sizeof MESSAGE - 1U == MLEN); 41 memcpy(m, MESSAGE, MLEN); 42 crypto_aead_xchacha20poly1305_ietf_encrypt(c, &found_clen, m, MLEN, 45 if (found_clen != MLEN [all...] |
/freebsd-current/sys/kgssapi/ |
H A D | gss_verify_mic.c | 57 if (message_buffer->length > MLEN) 62 if (token_buffer->length > MLEN)
|
H A D | gss_get_mic.c | 57 if (message_buffer->length > MLEN)
|
H A D | gss_unwrap.c | 58 if (input_message_buffer->length > MLEN)
|
H A D | gss_wrap.c | 59 if (input_message_buffer->length > MLEN)
|
/freebsd-current/sys/rpc/ |
H A D | rpcm_subs.h | 83 if ((s) > MLEN) \ 84 panic("build > MLEN"); \
|
/freebsd-current/sys/fs/nfs/ |
H A D | nfsm_subs.h | 66 if (siz > MLEN) 67 panic("build > MLEN");
|
/freebsd-current/sys/kern/ |
H A D | uipc_mbuf.c | 182 CTASSERT(MSIZE - offsetof(struct mbuf, m_dat) == MLEN); 733 nsize = MLEN; 940 n->m_data + len < &n->m_dat[MLEN] && n->m_next) { 955 space = &m->m_dat[MLEN] - (m->m_data + m->m_len); 999 space = &m->m_dat[MLEN] - (m->m_data + m->m_len); 1218 len = MLEN; 1287 bzero(mtod(n, caddr_t), MLEN); 1288 n->m_len = min(MLEN, len + off); 1314 n->m_len = min(MLEN, len); 1358 n->m_len = min(MLEN, remainde [all...] |
H A D | vfs_export.c | 150 if (argp->ex_addrlen > MLEN) { 152 argp->ex_addrlen, MLEN);
|
H A D | uipc_mbuf2.c | 229 if (len > MLEN)
|
H A D | kern_mbuf.c | 862 char buf[MLEN]; 871 KASSERT(m->m_len <= MLEN, ("m_len too large %p", m)); 1359 if (size <= MHLEN || (size <= MLEN && (flags & M_PKTHDR) == 0))
|
H A D | subr_mchain.c | 105 * Note: size should be <= MLEN 113 if (size > MLEN)
|
H A D | uipc_sockbuf.c | 153 if ((m->m_flags & M_EXTPG) && m->m_len <= MLEN && 1220 if (asa->sa_len > MLEN) 1420 if (m->m_len <= MLEN && (m->m_flags & M_EXTPG) && 1824 if (CMSG_SPACE(size) > MLEN)
|
H A D | uipc_syscalls.c | 1462 if (buflen > MLEN) { 1466 buflen = MLEN; /* unix domain compat. hack */
|
H A D | uipc_socket.c | 3528 if (sopt_size > MLEN) { 3536 m->m_len = min(MLEN, sopt_size); 3548 if (sopt_size > MLEN) { 3558 m->m_len = min(MLEN, sopt_size);
|
/freebsd-current/sys/netpfil/pf/ |
H A D | if_pflog.c | 80 #define PFLOGMTU (32768 + MHLEN + MLEN)
|
/freebsd-current/sys/netinet/ |
H A D | ip_options.c | 629 if (m->m_data + m->m_len + sizeof(struct in_addr) >= &m->m_dat[MLEN])
|
/freebsd-current/sys/dev/le/ |
H A D | lance.c | 419 len = MLEN;
|
/freebsd-current/sys/netpfil/ipfilter/netinet/ |
H A D | ip_fil_freebsd.c | 366 if (sizeof(*tcp2) + hlen > MLEN) { 1219 if (len > MLEN)
|
/freebsd-current/sys/sys/ |
H A D | mbuf.h | 84 * MLEN is data length in a normal mbuf. 94 #define MLEN ((int)(MSIZE - MHSIZE)) macro 357 * to MHLEN (space left after a packet header) and MLEN (space left 1192 MLEN)
|
/freebsd-current/sys/kgssapi/krb5/ |
H A D | krb5_mech.c | 575 KASSERT(tlen <= MLEN, ("token head too large")); 958 KASSERT(16 + cklen <= MLEN, ("checksum too large for an mbuf"));
|
/freebsd-current/sys/dev/safe/ |
H A D | safe.c | 1072 len = MLEN; 1104 len = MLEN;
|
/freebsd-current/sys/netipsec/ |
H A D | key.c | 6434 IPSEC_ASSERT(l <= MLEN, 6435 ("l=%u > MLEN=%lu", l, (u_long) MLEN)); 6536 IPSEC_ASSERT(l <= MLEN, 6537 ("l=%u > MLEN=%lu", l, (u_long) MLEN)); 6580 IPSEC_ASSERT(l <= MLEN, 6581 ("l=%u > MLEN=%lu", l, (u_long) MLEN));
|
/freebsd-current/sys/dev/hifn/ |
H A D | hifn7751.c | 1848 len = MLEN; 1877 len = MLEN;
|