| /freebsd-12.1/contrib/unbound/compat/ |
| H A D | sha512.c | 55 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-12.1/contrib/ldns/ |
| H A D | sha2.c | 321 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-12.1/contrib/apr/random/unix/ |
| H A D | sha2.c | 201 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 D | sha2.h | 41 apr_uint64_t bitcount; member
|
| /freebsd-12.1/crypto/openssh/openbsd-compat/ |
| H A D | sha2.c | 294 context->bitcount = 0; in SHA256_Init() 472 context->bitcount += freespace << 3; in SHA256_Update() 479 context->bitcount += len << 3; in SHA256_Update() 495 context->bitcount += len << 3; in SHA256_Update() 535 context->bitcount); in SHA256_Pad() 574 context->bitcount[0] = context->bitcount[1] = 0; in SHA512_Init() 760 ADDINC128(context->bitcount, len << 3); in SHA512_Update() 776 ADDINC128(context->bitcount, len << 3); in SHA512_Update() 814 context->bitcount[1]); in SHA512_Pad() 816 context->bitcount[0]); in SHA512_Pad() [all …]
|
| H A D | sha2.h | 70 u_int64_t bitcount; member 75 u_int64_t bitcount[2]; member
|
| /freebsd-12.1/contrib/ntp/lib/isc/ |
| H A D | sha2.c | 566 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-12.1/contrib/opencsd/decoder/source/etmv3/ |
| H A D | trc_pkt_proc_etmv3_impl.cpp | 825 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-12.1/sys/arm/allwinner/ |
| H A D | aw_cir.c | 202 int i, bitcount; in aw_ir_decode_packets() local 250 bitcount = 0; in aw_ir_decode_packets() 278 code |= 1 << bitcount; in aw_ir_decode_packets() 280 bitcount++; in aw_ir_decode_packets() 281 if (bitcount == 32) in aw_ir_decode_packets()
|
| /freebsd-12.1/contrib/ldns/ldns/ |
| H A D | sha2.h | 84 uint64_t bitcount; member 89 uint64_t bitcount[2]; member
|
| /freebsd-12.1/contrib/ntp/lib/isc/include/isc/ |
| H A D | sha2.h | 94 isc_uint64_t bitcount; member 103 isc_uint64_t bitcount[2]; member
|
| /freebsd-12.1/sys/sys/ |
| H A D | libkern.h | 156 #define bitcount(x) __bitcount((u_int)(x)) macro
|
| /freebsd-12.1/sys/compat/linuxkpi/common/include/linux/ |
| H A D | bitops.h | 60 #define hweight8(x) bitcount((uint8_t)(x))
|
| /freebsd-12.1/usr.sbin/unbound/ |
| H A D | config.h | 1276 uint64_t bitcount[2]; member
|
| /freebsd-12.1/contrib/gdb/gdb/ |
| H A D | arm-tdep.c | 1553 bitcount (unsigned long val) in bitcount() function 1575 offset = bitcount (bits (inst1, 0, 7)) * DEPRECATED_REGISTER_SIZE; in thumb_get_next_pc() 1805 offset = bitcount (reglist) * 4; in arm_get_next_pc()
|
| /freebsd-12.1/contrib/gcc/config/s390/ |
| H A D | s390.md | 2783 rtx bitcount = GEN_INT (GET_MODE_BITSIZE (<DSI:MODE>mode) - 2787 emit_insn (gen_ashl<DSI:mode>3 (operands[0], operands[1], bitcount)); 2788 emit_insn (gen_ashr<DSI:mode>3 (operands[0], operands[0], bitcount)); 2979 rtx bitcount = GEN_INT (GET_MODE_BITSIZE(DImode) - 2982 emit_insn (gen_ashldi3 (operands[0], operands[1], bitcount)); 2983 emit_insn (gen_lshrdi3 (operands[0], operands[0], bitcount));
|
| /freebsd-12.1/sys/dev/atkbdc/ |
| H A D | psm.c | 4573 nfingers = bitcount(mask); 4606 nfingers = bitcount(mask); 4656 nfingers = bitcount(mask);
|
| /freebsd-12.1/contrib/unbound/ |
| H A D | config.h.in | 1286 uint64_t bitcount[2]; member
|
| H A D | configure.ac | 2038 uint64_t bitcount[2];
|