Searched defs:bits (Results 1 - 25 of 30) sorted by relevance

12

/bind-9.11.3/lib/isc/include/isc/
H A Dlfsr.h23 * modify any state in the LFSR in any way it sees fit OTHER THAN "bits".
38 unsigned int bits; /*%< length */ member in struct:isc_lfsr
49 isc_lfsr_init(isc_lfsr_t *lfsr, isc_uint32_t state, unsigned int bits,
64 *\li 8 <= bits <= 32
/bind-9.11.3/lib/isc/unix/
H A Dfsaccess.c31 isc_fsaccess_t bits; local
47 * Done with checking bad bits. Set mode_t.
52 if ((access & bits) != 0) { \
54 access &= ~bits; \
58 bits <<= STEP; \
60 bits <<= STEP; \
63 bits = ISC_FSACCESS_READ | ISC_FSACCESS_LISTDIRECTORY;
67 bits = ISC_FSACCESS_WRITE |
73 bits = ISC_FSACCESS_EXECUTE |
H A Difiter_ioctl.c433 int i, bits, prefixlen; local
552 bits = 0;
555 bits = 8 - prefixlen;
558 iter->current.netmask.type.in6.s6_addr[i] = (~0 << bits) & 0xff;
745 int i, bits; local
749 bits = lifreq.lifr_addrlen - i;
750 bits = (bits < 8) ? (8 - bits) : 0;
752 (~0 << bits)
[all...]
/bind-9.11.3/lib/isc/
H A Dfsaccess.c23 * and the number of bits in each function.
62 isc_fsaccess_t bits; local
65 * Check for disallowed user bits.
68 bits = ISC_FSACCESS_READ |
72 bits = ISC_FSACCESS_CREATECHILD |
78 * Set group bad bits.
80 bits |= bits << STEP;
82 * Set other bad bits.
84 bits |
[all...]
H A Dlfsr.c25 isc_lfsr_init(isc_lfsr_t *lfsr, isc_uint32_t state, unsigned int bits, argument
30 REQUIRE(8 <= bits && bits <= 32);
34 lfsr->bits = bits;
43 lfsr->state = 0xffffffffU >> (32 - lfsr->bits);
64 lfsr->state = 0xffffffffU >> (32 - lfsr->bits);
H A Dht.c50 isc_ht_init(isc_ht_t **htp, isc_mem_t *mctx, isc_uint8_t bits) { argument
56 REQUIRE(bits >= 1 && bits <= (sizeof(size_t)*8 - 1));
66 ht->size = ((size_t)1<<bits);
67 ht->mask = ((size_t)1<<bits)-1;
/bind-9.11.3/lib/dns/
H A Dkey.c154 dst_key_setbits(dst_key_t *key, isc_uint16_t bits) { argument
157 if (bits != 0) {
160 REQUIRE(bits <= maxbits);
162 key->key_bits = bits;
H A Ddns64.c26 unsigned char bits[16]; /* member in struct:dns_dns64
27 * Prefix + suffix bits.
77 memset(dns64->bits, 0, sizeof(dns64->bits));
78 memmove(dns64->bits, prefix->type.in6.s6_addr, prefixlen / 8);
80 memmove(dns64->bits + nbytes, suffix->type.in6.s6_addr + nbytes,
163 memmove(aaaa, dns64->bits, nbytes);
175 memmove(aaaa + nbytes, dns64->bits + nbytes, 16 - nbytes);
H A Dpkcs11dh_link.c48 * optional attribute CKA_PRIME_BITS (p length in bits)
61 * optional attribute CKA_VALUE_BITS (x length in bits)
363 CK_ULONG bits = 0; local
370 { CKA_PRIME_BITS, &bits, (CK_ULONG) sizeof(bits) }
416 bits = key->key_size;
418 ((bits == 768) || (bits == 1024) || (bits == 1536))) {
419 if (bits
[all...]
H A Dpkcs11dsa_link.c45 * optional attribute CKA_PRIME_BITS (p length in bits)
506 CK_ULONG bits = 0; local
513 { CKA_PRIME_BITS, &bits, (CK_ULONG) sizeof(bits) },
558 bits = key->key_size;
H A Dopensslrsa_link.c707 int bits; local
738 bits = BN_num_bits(e);
740 if (bits > maxbits && maxbits != 0)
1175 if (e_bytes < 256) { /*%< key exponent is <= 2040 bits */
H A Dpkcs11rsa_link.c1169 CK_ULONG bits = 0; local
1180 { CKA_MODULUS_BITS, &bits, (CK_ULONG) sizeof(bits) },
1239 bits = key->key_size;
1416 if (e_bytes < 256) { /*%< key exponent is <= 2040 bits */
H A Dnsec3.c1786 unsigned int bits, minbits = 4096; local
1813 bits = dst_key_size(key);
1815 if (minbits > bits)
1816 minbits = bits;
H A Ddst_api.c88 unsigned int bits,
889 unsigned int bits, unsigned int flags,
904 key = get_key_struct(name, alg, flags, protocol, bits, rdclass,
965 unsigned int bits, unsigned int param,
970 return (dst_key_generate2(name, alg, bits, param, flags, protocol,
976 unsigned int bits, unsigned int param,
992 key = get_key_struct(name, alg, flags, protocol, bits,
997 if (bits == 0) { /*%< NULL KEY */
1433 unsigned int bits, dns_rdataclass_t rdclass,
1472 key->key_size = bits;
888 dst_key_buildinternal(dns_name_t *name, unsigned int alg, unsigned int bits, unsigned int flags, unsigned int protocol, dns_rdataclass_t rdclass, void *data, isc_mem_t *mctx, dst_key_t **keyp) argument
964 dst_key_generate(dns_name_t *name, unsigned int alg, unsigned int bits, unsigned int param, unsigned int flags, unsigned int protocol, dns_rdataclass_t rdclass, isc_mem_t *mctx, dst_key_t **keyp) argument
975 dst_key_generate2(dns_name_t *name, unsigned int alg, unsigned int bits, unsigned int param, unsigned int flags, unsigned int protocol, dns_rdataclass_t rdclass, isc_mem_t *mctx, dst_key_t **keyp, void (*callback)(int)) argument
1431 get_key_struct(dns_name_t *name, unsigned int alg, unsigned int flags, unsigned int protocol, unsigned int bits, dns_rdataclass_t rdclass, dns_ttl_t ttl, isc_mem_t *mctx) argument
[all...]
/bind-9.11.3/lib/isc/tests/
H A Dht_test.c42 static void test_ht_full(int bits, uintptr_t count) { argument
52 result = isc_ht_init(&ht, mctx, bits);
H A Drandom_test.c192 * This function destroys (modifies) the data passed in bits.
195 matrix_binaryrank(isc_uint32_t *bits, size_t rows, size_t cols) { argument
204 while (rt >= cols || ((bits[i] >> rt) & 1) == 0) {
222 tmp = bits[i];
223 bits[i] = bits[k];
224 bits[k] = tmp;
228 if (((bits[j] >> rt) & 1) == 0)
231 bits[j] ^= bits[
553 isc_uint32_t bits[32]; local
[all...]
/bind-9.11.3/bin/tests/system/rsabigexponent/
H A Dbigkey.c125 unsigned int bits = 1024U; variable
169 if (RSA_generate_key_ex(rsa, bits, e, NULL)) {
214 bits, DNS_KEYOWNER_ZONE,
/bind-9.11.3/lib/dns/rdata/generic/
H A Dopt_41.c160 isc_uint8_t bits = ~0U << (8 - (addrlen % 8)); local
161 bits &= sregion.base[addrbytes - 1];
162 if (bits != sregion.base[addrbytes - 1])
170 * Request has zero length. Response is 32 bits.
/bind-9.11.3/bin/named/
H A Dtsigconf.c44 isc_uint16_t bits; local
85 if (ns_config_getkeyalgorithm(algstr, &alg, &bits)
116 * Set digest bits.
118 dst_key_setbits(tsigkey->key, bits);
H A Dconfig.c968 isc_uint16_t bits; local
981 result = isc_parse_uint16(&bits, str + len + 1, 10);
984 if (bits > algorithms[i].size)
987 bits = 128;
989 bits = algorithms[i].size;
1008 *digestbits = bits;
/bind-9.11.3/bin/tests/pkcs11/benchmarks/
H A Dgenrsa.c35 /* genrsa [-m module] [-s $slot] [-p pin] [-t] [-b bits] [-n count] */
102 CK_ULONG bits = 1024; local
111 { CKA_MODULUS_BITS, &bits, (CK_ULONG) sizeof(bits) },
150 bits = (CK_ULONG)atoi(isc_commandline_argument);
173 "[-t] [-b bits] [-n count]\n");
/bind-9.11.3/lib/dns/rdata/in_1/
H A Da6_38.c174 sr.base[0] &= mask; /* Ensure pad bits are zero. */
274 isc_uint8_t bits; local
295 bits = a6->prefixlen % 8;
296 if (bits != 0) {
297 mask = 0xffU >> bits;
/bind-9.11.3/lib/isc/win32/
H A Dfsaccess.c13 * and ownership bits. The FAT File system only has a readonly flag
105 isc_fsaccess_t bits; local
108 * Done with checking bad bits. Set mode_t.
113 if ((access & bits) != 0) { \
115 access &= ~bits; \
119 bits <<= STEP; \
121 bits <<= STEP; \
124 bits = ISC_FSACCESS_READ | ISC_FSACCESS_LISTDIRECTORY;
128 bits = ISC_FSACCESS_WRITE |
196 /* For directories check the directory-specific bits */
[all...]
/bind-9.11.3/bin/pkcs11/
H A Dpkcs11-keygen.c278 CK_ULONG bits = 0; local
322 bits = atoi(isc_commandline_argument);
378 if (bits == 0)
400 public_template[RSA_MODULUS_BITS].pValue = &bits;
401 public_template[RSA_MODULUS_BITS].ulValueLen = sizeof(bits);
407 if (bits == 0)
408 bits = 256;
409 else if (bits != 256 && bits != 384) {
423 if (bits
[all...]
/bind-9.11.3/contrib/dnsperf-2.1.0.0-1/
H A Ddnsperf.c771 bit_set(unsigned char *bits, unsigned int bit) argument
778 bits[bit / 8] |= mask;
782 bit_check(unsigned char *bits, unsigned int bit) argument
788 if ((bits[bit / 8] >> shift) & 0x01)

Completed in 59 milliseconds

12