Searched refs:MLEN (Results 1 - 25 of 35) sorted by relevance

12

/freebsd-current/sys/contrib/libsodium/test/default/
H A Daead_chacha20poly1305.c8 #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 Daead_xchacha20poly1305.c8 #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 Dgss_verify_mic.c57 if (message_buffer->length > MLEN)
62 if (token_buffer->length > MLEN)
H A Dgss_get_mic.c57 if (message_buffer->length > MLEN)
H A Dgss_unwrap.c58 if (input_message_buffer->length > MLEN)
H A Dgss_wrap.c59 if (input_message_buffer->length > MLEN)
/freebsd-current/sys/rpc/
H A Drpcm_subs.h83 if ((s) > MLEN) \
84 panic("build > MLEN"); \
/freebsd-current/sys/fs/nfs/
H A Dnfsm_subs.h66 if (siz > MLEN)
67 panic("build > MLEN");
/freebsd-current/sys/kern/
H A Duipc_mbuf.c182 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 Dvfs_export.c150 if (argp->ex_addrlen > MLEN) {
152 argp->ex_addrlen, MLEN);
H A Duipc_mbuf2.c229 if (len > MLEN)
H A Dkern_mbuf.c862 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 Dsubr_mchain.c105 * Note: size should be <= MLEN
113 if (size > MLEN)
H A Duipc_sockbuf.c153 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 Duipc_syscalls.c1462 if (buflen > MLEN) {
1466 buflen = MLEN; /* unix domain compat. hack */
H A Duipc_socket.c3528 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 Dif_pflog.c80 #define PFLOGMTU (32768 + MHLEN + MLEN)
/freebsd-current/sys/netinet/
H A Dip_options.c629 if (m->m_data + m->m_len + sizeof(struct in_addr) >= &m->m_dat[MLEN])
/freebsd-current/sys/dev/le/
H A Dlance.c419 len = MLEN;
/freebsd-current/sys/netpfil/ipfilter/netinet/
H A Dip_fil_freebsd.c366 if (sizeof(*tcp2) + hlen > MLEN) {
1219 if (len > MLEN)
/freebsd-current/sys/sys/
H A Dmbuf.h84 * 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 Dkrb5_mech.c575 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 Dsafe.c1072 len = MLEN;
1104 len = MLEN;
/freebsd-current/sys/netipsec/
H A Dkey.c6434 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 Dhifn7751.c1848 len = MLEN;
1877 len = MLEN;

Completed in 359 milliseconds

12