Home
last modified time | relevance | path

Searched refs:crc32 (Results 1 – 25 of 27) sorted by relevance

12

/titanic_41/usr/src/uts/common/os/
H A Dsctp_crc32.c127 sctp_crc32(uint32_t crc32, const uint8_t *buf, int len) in sctp_crc32() argument
136 sctp_crc_byte(&crc32, buf, rem); in sctp_crc32()
142 sctp_crc_word(&crc32, (const uint32_t *)buf, len / 4); in sctp_crc32()
147 sctp_crc_byte(&crc32, buf + len - rem, rem); in sctp_crc32()
149 return (crc32); in sctp_crc32()
H A Dip_cksum.c387 uint32_t crc32; in sctp_cksum() local
390 crc32 = 0xFFFFFFFF; in sctp_cksum()
392 crc32 = sctp_crc32(crc32, p, mp->b_wptr - p); in sctp_cksum()
394 crc32 = sctp_crc32(crc32, mp->b_rptr, MBLKL(mp)); in sctp_cksum()
398 crc32 = ~crc32; in sctp_cksum()
400 return (crc32); in sctp_cksum()
/titanic_41/usr/src/uts/common/io/nxge/
H A Dnxge_fflp_hash.c255 nxge_crc32c(uint32_t crc32, const uint8_t *buf, int len) in nxge_crc32c() argument
264 nxge_crc32c_byte(&crc32, buf, rem); in nxge_crc32c()
269 nxge_crc32c_word(&crc32, (const uint32_t *) buf, len / 4); in nxge_crc32c()
273 nxge_crc32c_byte(&crc32, buf + len - rem, rem); in nxge_crc32c()
275 return (crc32); in nxge_crc32c()
/titanic_41/usr/src/uts/sparc/kmech_krb5/
H A DMakefile106 $(OBJS_DIR)/%.o: $(KMECHKRB5_BASE)/crypto/crc32/%.c
110 $(LINTS_DIR)/%.ln: $(KMECHKRB5_BASE)/crypto/crc32/%.c
/titanic_41/usr/src/uts/intel/kmech_krb5/
H A DMakefile101 $(OBJS_DIR)/%.o: $(KMECHKRB5_BASE)/crypto/crc32/%.c
105 $(LINTS_DIR)/%.ln: $(KMECHKRB5_BASE)/crypto/crc32/%.c
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_power.c117 …sage(pdev, VERBOSE, "init_nwuf_57710: idx[%d] crc_mask=0x%08x size=%d\n", idx, nwuf->crc32, val ); in init_nwuf_57710()
131 val = nwuf->crc32 ; in init_nwuf_57710()
618 nwuf->crc32 = calc_crc32( nwuf->pattern, j, 0xffffffff /*seed*/, 1 /*complement*/ ) ; in lm_add_nwuf()
628 printk("pattern[%u] CRC=0x%08x\n",idx, nwuf->crc32 ) ; in lm_add_nwuf()
668 if ERR_IF( 0xffffffff == nwuf->crc32 ) in lm_add_nwuf()
705 nwuf->crc32 = 0 ; in lm_del_nwuf()
/titanic_41/usr/src/uts/common/zmod/
H A Ddeflate.c387 s->wrap == 2 ? crc32(0L, Z_NULL, 0) :
586 strm->adler = crc32(0L, Z_NULL, 0);
622 strm->adler = crc32(strm->adler, s->pending_buf,
665 strm->adler = crc32(strm->adler, s->pending_buf + beg,
676 strm->adler = crc32(strm->adler, s->pending_buf + beg,
694 strm->adler = crc32(strm->adler, s->pending_buf + beg,
707 strm->adler = crc32(strm->adler, s->pending_buf + beg,
725 strm->adler = crc32(strm->adler, s->pending_buf + beg,
738 strm->adler = crc32(strm->adler, s->pending_buf + beg,
753 strm->adler = crc32(0L, Z_NULL, 0);
[all …]
H A Dinflate.c385 (state->flags ? crc32(check, buf, len) : adler32(check, buf, len))
396 check = crc32(check, hbuf, 2); \
405 check = crc32(check, hbuf, 4); \
604 state->check = crc32(0L, Z_NULL, 0);
704 state->check = crc32(state->check, next, copy);
726 state->check = crc32(state->check, next, copy);
748 state->check = crc32(state->check, next, copy);
771 strm->adler = state->check = crc32(0L, Z_NULL, 0);
H A Dzconf.h94 #define crc32 z_crc32 macro
H A Dcrc32.c224 unsigned long ZEXPORT crc32(crc, buf, len) in crc32() function
H A Dzlib.h1287 ZEXTERN uLong ZEXPORT crc32 OF((uLong crc, const Bytef *buf, uInt len));
/titanic_41/usr/src/grub/grub-0.97/stage2/
H A Dgpt.h37 grub_uint32_t crc32; member
/titanic_41/usr/src/cmd/ssh/libssh/
H A DMakefile.com41 crc32.o \
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/
H A DMakefile.com79 CRYPTO_CRC32_UTS= crc32.o
371 objs/%.o pics/%.o: $(SRC)/uts/common/gssapi/mechs/krb5/crypto/crc32/%.c
375 objs/%.o pics/%.o: $(REL_PATH)/crypto/crc32/%.c
518 $(CRYPTO_CRC32:%.o= $(SRC)/lib/gss_mechs/mech_krb5/crypto/crc32/%.c)\
520 $(CRYPTO_CRC32_UTS:%.o= $(SRC)/uts/common/gssapi/mechs/krb5/crypto/crc32/%.c)\
/titanic_41/usr/src/cmd/ssh/libopenbsd-compat/common/
H A Dllib-lopenbsd-compat40 #include <crc32.h>
/titanic_41/usr/src/cmd/ssh/libssh/common/
H A Dllib-lssh55 #include <crc32.h>
/titanic_41/usr/src/cmd/ssh/doc/
H A DCOPYING.Ylonen30 The 32-bit CRC implementation in crc32.c is due to Gary S. Brown.
H A DOVERVIEW60 packets. CRC code comes from crc32.c.
H A DLICENCE79 The 32-bit CRC implementation in crc32.c is due to Gary S. Brown.
H A DChangeLog542 [deattack.c crc32.c packet.c]
543 rename crc32() to ssh_crc32() to avoid zlib name clash. do not move to
544 libz crc32 function yet, because it has ugly "long"'s in it;
559 [crc32.h]
893 [clientloop.c compat.c compat.h compress.c compress.h crc32.c crc32.h]
/titanic_41/usr/src/uts/common/io/ppp/spppcomp/
H A Dzlib.h120 #define crc32 z_crc32 macro
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/
H A Dlm.h119 u32_t crc32 ; // crc32 on (pattern & mask) member
/titanic_41/usr/src/uts/common/sys/
H A DMakefile135 crc32.h \
/titanic_41/usr/src/uts/common/
H A DMakefile.files91 adler32.o crc32.o deflate.o inffast.o \
1658 CRYPTO_CRC32= crc32.o
/titanic_41/exception_lists/
H A Dcstyle158 usr/src/lib/gss_mechs/mech_krb5/crypto/crc32/crc.c
636 usr/src/uts/common/gssapi/mechs/krb5/crypto/crc32/crc32.c

12