| /src/usr.sbin/bta2dpd/sbc_crc-gen/ |
| sbc_crc.c | 39 unsigned int j, i, k, numbits, data; local 45 numbits = 8; 47 printf("static const uint8_t sbc_crc%u[256] = {\n\t", numbits); 51 for (j = 0; j < numbits; j++) { 66 numbits /= 2;
|
| /src/crypto/external/apache2/openssl/dist/apps/ |
| dsaparam.c | 44 { OPT_HELP_STR, 1, '-', "Usage: %s [options] [numbits] [numqbits]\n" }, 69 { "numbits", 0, 0, "Number of bits if generating parameters or key (optional)" }, 80 int numbits = -1, numqbits = -1, num = 0, genkey = 0; local 159 numbits = num; 168 if (numbits > 0) { 169 if (numbits > OPENSSL_DSA_MAX_MODULUS_BITS) 173 OPENSSL_DSA_MAX_MODULUS_BITS, numbits); 243 pkey = app_keygen(ctx, "DSA", numbits, verbose);
|
| /src/usr.bin/dc/ |
| inout.c | 399 int numbits, i, ch; local 407 numbits = BN_num_bytes(v) * 8; 408 while (numbits > 0) { 411 ch |= BN_is_bit_set(v, numbits-i-1) << (7 - i); 413 numbits -= 8;
|
| /src/crypto/external/bsd/netpgp/dist/src/netpgpkeys/ |
| netpgpkeys.c | 92 NUMBITS, 139 {"numbits", required_argument, NULL, NUMBITS}, 154 int numbits; /* # of bits */ member in struct:prog_t 225 return netpgp_generate_key(netpgp, f, p->numbits); 303 case NUMBITS: 309 p->numbits = atoi(arg); 404 p.numbits = DEFAULT_NUMBITS;
|
| /src/crypto/external/bsd/openssl/dist/apps/ |
| dsaparam.c | 38 {OPT_HELP_STR, 1, '-', "Usage: %s [options] [numbits]\n"}, 62 {"numbits", 0, 0, "Number of bits if generating parameters (optional)"}, 72 int numbits = -1, num = 0, genkey = 0; local 143 numbits = num; 156 if (numbits > 0) { 157 if (numbits > OPENSSL_DSA_MAX_MODULUS_BITS) 161 OPENSSL_DSA_MAX_MODULUS_BITS, numbits); 220 pkey = app_keygen(ctx, "DSA", numbits, verbose);
|
| /src/crypto/external/bsd/openssl.old/dist/apps/ |
| dsaparam.c | 55 int numbits = -1, num = 0, genkey = 0; local 115 numbits = num; 126 if (numbits > 0) { 127 if (numbits > OPENSSL_DSA_MAX_MODULUS_BITS) 131 OPENSSL_DSA_MAX_MODULUS_BITS, numbits);
|
| /src/external/bsd/ppp/dist/pppd/ |
| ccp.c | 535 int numbits; local 552 numbits = 0; 554 numbits += auth_mschap_bits & 1; 557 if (numbits > 1) { 573 if ((numbits == 0) && (auth_eap_bits == 0)) { 576 if (!numbits) {
|
| /src/crypto/external/apache2/openssl/dist/crypto/bn/ |
| bn_gf2m.c | 724 int numbits; local 731 numbits = BN_num_bits(p); 732 if (numbits <= 1) 737 if (!BN_priv_rand_ex(b, numbits - 1,
|
| /src/crypto/external/bsd/openssl/dist/crypto/bn/ |
| bn_gf2m.c | 738 int numbits; local 745 numbits = BN_num_bits(p); 746 if (numbits <= 1) 751 if (!BN_priv_rand_ex(b, numbits - 1,
|
| /src/sys/arch/mac68k/mac68k/ |
| machdep.c | 2234 int i, numbits; local 2267 numbits = 0; 2270 numbits += (macos_tc >> (12 - i * 4)) & 0x0f; 2273 * We have to take the most significant "numbits" from 2275 * Assume that numbits != 0. 2277 mask = (1 << (32 - numbits)) - 1;
|
| /src/usr.sbin/bta2dpd/bta2dpd/ |
| sbc_encode.c | 378 get_bits(uint8_t *data, int numbits, uint32_t *sample) 385 while (cache_pos < numbits) { 393 if (numbits == 0) { 407 cache_pos -= numbits; 408 tmp_cache = cache & __BITS((uintmax_t)(numbits + cache_pos), 418 move_bits(uint8_t *data, int numbits, uint32_t sample) 425 if (numbits == 0) { 437 cache_pos += numbits; 438 cache <<= numbits; local 439 cache |= sample & __BITS((uintmax_t)numbits, 0); 474 cache <<= numbits; local [all...] |