Home
last modified time | relevance | path

Searched refs:bitcount (Results 1 – 18 of 18) sorted by relevance

/freebsd-13.1/contrib/unbound/compat/
H A Dsha512.c55 uint64_t bitcount[2]; member
268 context->bitcount[0] = context->bitcount[1] = 0; in SHA512_Init()
360 usedspace = (context->bitcount[0] >> 3) % SHA512_BLOCK_LENGTH; in SHA512_Update()
368 ADDINC128(context->bitcount, freespace << 3); in SHA512_Update()
375 ADDINC128(context->bitcount, len << 3); in SHA512_Update()
384 ADDINC128(context->bitcount, SHA512_BLOCK_LENGTH << 3); in SHA512_Update()
391 ADDINC128(context->bitcount, len << 3); in SHA512_Update()
401 usedspace = (context->bitcount[0] >> 3) % SHA512_BLOCK_LENGTH; in SHA512_Last()
404 REVERSE64(context->bitcount[0],context->bitcount[0]); in SHA512_Last()
405 REVERSE64(context->bitcount[1],context->bitcount[1]); in SHA512_Last()
[all …]
/freebsd-13.1/contrib/ldns/
H A Dsha2.c321 context->bitcount = 0; in ldns_sha256_init()
520 context->bitcount += freespace << 3; in ldns_sha256_update()
527 context->bitcount += len << 3; in ldns_sha256_update()
543 context->bitcount += len << 3; in ldns_sha256_update()
567 REVERSE64(context->bitcount,context->bitcount); in ldns_sha256_final()
636 context->bitcount[0] = context->bitcount[1] = 0; in ldns_sha512_init()
836 ADDINC128(context->bitcount, len << 3); in ldns_sha512_update()
852 ADDINC128(context->bitcount, len << 3); in ldns_sha512_update()
865 REVERSE64(context->bitcount[0],context->bitcount[0]); in ldns_sha512_Last()
866 REVERSE64(context->bitcount[1],context->bitcount[1]); in ldns_sha512_Last()
[all …]
/freebsd-13.1/contrib/apr/random/unix/
H A Dsha2.c201 context->bitcount = 0; in apr__SHA256_Init()
390 usedspace = (unsigned int)((context->bitcount >> 3) in apr__SHA256_Update()
399 context->bitcount += freespace << 3; in apr__SHA256_Update()
406 context->bitcount += len << 3; in apr__SHA256_Update()
415 context->bitcount += SHA256_BLOCK_LENGTH << 3; in apr__SHA256_Update()
422 context->bitcount += len << 3; in apr__SHA256_Update()
437 usedspace = (unsigned int)((context->bitcount >> 3) in apr__SHA256_Final()
441 REVERSE64(context->bitcount,context->bitcount); in apr__SHA256_Final()
470 apr_uint64_t bitcount; in apr__SHA256_Final() member
472 } bitcount; in apr__SHA256_Final() local
[all …]
H A Dsha2.h41 apr_uint64_t bitcount; member
/freebsd-13.1/crypto/openssh/openbsd-compat/
H A Dsha2.c321 context->bitcount[0] = 0;
359 context->bitcount[0] = 0; in SHA256Init()
539 context->bitcount[0] += freespace << 3; in SHA256Update()
562 context->bitcount[0] += len << 3; in SHA256Update()
603 context->bitcount[0]); in SHA256Pad()
639 context->bitcount[0] = context->bitcount[1] = 0; in SHA512Init()
843 ADDINC128(context->bitcount, len << 3); in SHA512Update()
882 context->bitcount[1]); in SHA512Pad()
884 context->bitcount[0]); in SHA512Pad()
921 context->bitcount[0] = context->bitcount[1] = 0; in SHA384Init()
[all …]
H A Dsha2.h71 u_int64_t bitcount[2]; member
/freebsd-13.1/contrib/ntp/lib/isc/
H A Dsha2.c566 context->bitcount = 0; in isc_sha224_init()
596 context->bitcount = 0; in isc_sha256_init()
807 context->bitcount += freespace << 3; in isc_sha256_update()
815 context->bitcount += len << 3; in isc_sha256_update()
834 context->bitcount += len << 3; in isc_sha256_update()
856 REVERSE64(context->bitcount,context->bitcount); in isc_sha256_final()
922 context->bitcount[0] = context->bitcount[1] = 0; in isc_sha512_init()
1153 ADDINC128(context->bitcount, len << 3); in isc_sha512_update()
1168 REVERSE64(context->bitcount[0],context->bitcount[0]); in isc_sha512_last()
1169 REVERSE64(context->bitcount[1],context->bitcount[1]); in isc_sha512_last()
[all …]
/freebsd-13.1/contrib/ldns/ldns/
H A Dsha2.h84 uint64_t bitcount; member
89 uint64_t bitcount[2]; member
/freebsd-13.1/contrib/opencsd/decoder/source/etmv3/
H A Dtrc_pkt_proc_etmv3_impl.cpp825 int bitcount = 0; in extractBrAddrPkt() local
837 shift = bitcount; in extractBrAddrPkt()
841 bitcount+=6; in extractBrAddrPkt()
853 bitcount+=6; in extractBrAddrPkt()
858 bitcount+=7; in extractBrAddrPkt()
909 value |= ((uint32_t)(addrbyte & addrMask[isa_idx])) << bitcount; in extractBrAddrPkt()
910 bitcount += addrBits[isa_idx]; in extractBrAddrPkt()
916 bitcount += shift; in extractBrAddrPkt()
918 nBitsOut = bitcount; in extractBrAddrPkt()
/freebsd-13.1/sys/arm/allwinner/
H A Daw_cir.c208 int i, bitcount; in aw_ir_decode_packets() local
256 bitcount = 0; in aw_ir_decode_packets()
286 code |= 1 << bitcount; in aw_ir_decode_packets()
288 bitcount++; in aw_ir_decode_packets()
289 if (bitcount == 32) in aw_ir_decode_packets()
/freebsd-13.1/contrib/ntp/lib/isc/include/isc/
H A Dsha2.h94 isc_uint64_t bitcount; member
103 isc_uint64_t bitcount[2]; member
/freebsd-13.1/sys/sys/
H A Dlibkern.h157 #define bitcount(x) __bitcount((u_int)(x)) macro
/freebsd-13.1/sys/dev/evdev/
H A Devdev_mt.c330 num_touches = bitcount(mt->touches); in evdev_mt_match_frame()
631 nfingers = bitcount(mt->touches); in evdev_mt_send_st_compat()
/freebsd-13.1/usr.sbin/unbound/
H A Dconfig.h1340 uint64_t bitcount[2]; member
/freebsd-13.1/sys/compat/linuxkpi/common/include/linux/
H A Dbitops.h60 #define hweight8(x) bitcount((uint8_t)(x))
/freebsd-13.1/sys/dev/atkbdc/
H A Dpsm.c4593 nfingers = bitcount(mask);
4626 nfingers = bitcount(mask);
4676 nfingers = bitcount(mask);
/freebsd-13.1/contrib/unbound/
H A Dconfig.h.in1366 uint64_t bitcount[2]; member
H A Dconfigure.ac2177 uint64_t bitcount[2];