Home
last modified time | relevance | path

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

1234

/netbsd-src/external/bsd/unbound/dist/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 …]
/netbsd-src/common/lib/libc/hash/sha2/
H A Dsha2.c278 context->bitcount = 0; in __weak_alias()
454 usedspace = (unsigned int)((context->bitcount >> 3) % in SHA256_Update()
464 context->bitcount += freespace << 3; in SHA256_Update()
472 context->bitcount += len << 3; in SHA256_Update()
489 context->bitcount += SHA256_BLOCK_LENGTH << 3; in SHA256_Update()
498 context->bitcount += SHA256_BLOCK_LENGTH << 3; in SHA256_Update()
506 context->bitcount += len << 3; in SHA256_Update()
522 usedspace = (unsigned int)((context->bitcount >> 3) % in SHA224_256_Final()
524 context->bitcount = htobe64(context->bitcount); in SHA224_256_Final()
558 &context->bitcount, sizeof(context->bitcount)); in SHA224_256_Final()
[all …]
/netbsd-src/crypto/external/bsd/netpgp/dist/src/netpgpverify/
H A Dsha2.c294 context->bitcount = 0; in netpgpv_SHA256_Init()
470 usedspace = (unsigned int)((context->bitcount >> 3) % in netpgpv_SHA256_Update()
480 context->bitcount += freespace << 3; in netpgpv_SHA256_Update()
488 context->bitcount += len << 3; in netpgpv_SHA256_Update()
505 context->bitcount += SHA256_BLOCK_LENGTH << 3; in netpgpv_SHA256_Update()
514 context->bitcount += SHA256_BLOCK_LENGTH << 3; in netpgpv_SHA256_Update()
522 context->bitcount += len << 3; in netpgpv_SHA256_Update()
538 usedspace = (unsigned int)((context->bitcount >> 3) % in netpgpv_SHA224_256_Final()
540 context->bitcount = htobe64(context->bitcount); in netpgpv_SHA224_256_Final()
574 &context->bitcount, sizeof(context->bitcount)); in netpgpv_SHA224_256_Final()
[all …]
H A Dsha2.h71 uint64_t bitcount; member
77 uint64_t bitcount[2]; member
/netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/passwd/sha2/
H A Dsha2.c345 context->bitcount = 0; in SHA256_Init()
534 usedspace = (context->bitcount >> 3) % SHA256_BLOCK_LENGTH; in SHA256_Update()
542 context->bitcount += freespace << 3; in SHA256_Update()
549 context->bitcount += len << 3; in SHA256_Update()
558 context->bitcount += SHA256_BLOCK_LENGTH << 3; in SHA256_Update()
565 context->bitcount += len << 3; in SHA256_Update()
581 usedspace = (context->bitcount >> 3) % SHA256_BLOCK_LENGTH; in SHA256_Final()
584 REVERSE64(context->bitcount,context->bitcount); in SHA256_Final()
612 *p = context->bitcount; in SHA256_Final()
675 context->bitcount[0] = context->bitcount[1] = 0; in SHA512_Init()
[all …]
H A Dsha2.h124 uint64_t bitcount; member
129 uint64_t bitcount[2]; member
137 u_int64_t bitcount;
142 u_int64_t bitcount[2];
/netbsd-src/crypto/external/bsd/openssl.old/lib/libcrypto/
H A Dlibc-sha2xx.c42 context->bitcount[0] = context->bitcount[1] = 0; in sha512_224_init()
57 context->bitcount[0] = context->bitcount[1] = 0; in sha512_256_init()
/netbsd-src/crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/
H A Dsha2.c338 context->bitcount = 0; in SHA256_Init()
527 usedspace = (context->bitcount >> 3) % SHA256_BLOCK_LENGTH; in SHA256_Update()
535 context->bitcount += freespace << 3; in SHA256_Update()
542 context->bitcount += len << 3; in SHA256_Update()
551 context->bitcount += SHA256_BLOCK_LENGTH << 3; in SHA256_Update()
558 context->bitcount += len << 3; in SHA256_Update()
573 usedspace = (context->bitcount >> 3) % SHA256_BLOCK_LENGTH; in SHA256_Final()
576 REVERSE64(context->bitcount,context->bitcount); in SHA256_Final()
603 *(sha2_word64*)&context->buffer[SHA256_SHORT_BLOCK_LENGTH] = context->bitcount; in SHA256_Final()
666 context->bitcount[0] = context->bitcount[1] = 0; in SHA512_Init()
[all …]
H A Dsha2.h92 uint64_t bitcount;
97 uint64_t bitcount[2];
105 u_int64_t bitcount; member
110 u_int64_t bitcount[2]; member
/netbsd-src/usr.sbin/bta2dpd/bta2dpd/
H A Dsbc_encode.c245 int32_t max_bitneed, bitcount; in calc_bitneed() local
254 bitcount=0; in calc_bitneed()
294 slicecount = bitcount = 0; in calc_bitneed()
298 bitcount += slicecount; in calc_bitneed()
309 } while (bitcount + slicecount < global_bitpool); in calc_bitneed()
310 if (bitcount + slicecount == global_bitpool) { in calc_bitneed()
311 bitcount += slicecount; in calc_bitneed()
332 while (bitcount < global_bitpool && sb < global_bands) { in calc_bitneed()
335 bitcount++; in calc_bitneed()
337 (global_bitpool > bitcount + 1)) { in calc_bitneed()
[all …]
/netbsd-src/sys/sys/
H A Dsha2.h63 uint64_t bitcount; member
69 uint64_t bitcount[2]; member
/netbsd-src/external/bsd/nsd/dist/doc/
H A DNSD-DIFFFILE20 format with 32bitcount with name of the pattern.
29 (preceded by 32bitcount), i.e. 'at time <stamp> came from <addr>, tsig
/netbsd-src/external/public-domain/sqlite/sqlite2mdoc/
H A Dconfig.h145 uint64_t bitcount[2]; member
/netbsd-src/external/bsd/unbound/include/
H A Dconfig.h1410 uint64_t bitcount[2]; member
/netbsd-src/sys/dev/stbi/
H A Dstb_image.c3264 static int bitcount(unsigned int a) in bitcount() function
3436 rshift = high_bit(mr)-7; rcount = bitcount(mr); in bmp_load()
3437 gshift = high_bit(mg)-7; gcount = bitcount(mr); in bmp_load()
3438 bshift = high_bit(mb)-7; bcount = bitcount(mr); in bmp_load()
3439 ashift = high_bit(ma)-7; acount = bitcount(mr); in bmp_load()
/netbsd-src/external/ibm-public/postfix/dist/proto/
H A Dstop.spell-cc1800 bitcount
/netbsd-src/external/bsd/unbound/dist/
H A Dconfig.h.in1392 uint64_t bitcount[2]; member
H A Dconfigure.ac2217 uint64_t bitcount[2];
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/s390/
H A Ds390.md4624 rtx bitcount = GEN_INT (<DSI:bitsize> - <HQI:bitsize>);
4627 emit_insn (gen_ashl<DSI:mode>3 (operands[0], operands[1], bitcount));
4628 emit_insn (gen_ashr<DSI:mode>3 (operands[0], operands[0], bitcount));
4841 rtx bitcount = GEN_INT (64 - <HQI:bitsize>);
4843 emit_insn (gen_ashldi3 (operands[0], operands[1], bitcount));
4844 emit_insn (gen_lshrdi3 (operands[0], operands[0], bitcount));
/netbsd-src/external/gpl3/gcc/dist/gcc/config/s390/
H A Ds390.md4731 rtx bitcount = GEN_INT (<DSI:bitsize> - <HQI:bitsize>);
4734 emit_insn (gen_ashl<DSI:mode>3 (operands[0], operands[1], bitcount));
4735 emit_insn (gen_ashr<DSI:mode>3 (operands[0], operands[0], bitcount));
4948 rtx bitcount = GEN_INT (64 - <HQI:bitsize>);
4950 emit_insn (gen_ashldi3 (operands[0], operands[1], bitcount));
4951 emit_insn (gen_lshrdi3 (operands[0], operands[0], bitcount));
/netbsd-src/external/bsd/file/dist/magic/magdir/
H A Dmsdos1566 … TestBitBltStretchBlt.wmf 13 TestPalette.wmf and in failed samples 4254 bitcount-1.wmf 8224 ofz594…
/netbsd-src/external/gpl3/gdb/dist/bfd/po/
H A Did.po4755 msgid " bitcount: %u, base addr: 0x%08x\n"
4756 msgstr " bitcount: %u, base addr: 0x%08x\n"
/netbsd-src/external/gpl3/binutils/dist/bfd/po/
H A Did.po4755 msgid " bitcount: %u, base addr: 0x%08x\n"
4756 msgstr " bitcount: %u, base addr: 0x%08x\n"
/netbsd-src/external/gpl3/binutils.old/dist/bfd/po/
H A Did.po4755 msgid " bitcount: %u, base addr: 0x%08x\n"
4756 msgstr " bitcount: %u, base addr: 0x%08x\n"
/netbsd-src/external/gpl3/gdb.old/dist/bfd/po/
H A Did.po4755 msgid " bitcount: %u, base addr: 0x%08x\n"
4756 msgstr " bitcount: %u, base addr: 0x%08x\n"

1234