Home
last modified time | relevance | path

Searched refs:numbits (Results 1 – 21 of 21) sorted by relevance

/third_party/openssl/crypto/des/
Dcfb_enc.c30 void DES_cfb_encrypt(const unsigned char *in, unsigned char *out, int numbits, in DES_cfb_encrypt() argument
36 register int num = numbits / 8, n = (numbits + 7) / 8, i, rem = in DES_cfb_encrypt()
37 numbits % 8; in DES_cfb_encrypt()
52 if (numbits <= 0 || numbits > 64) in DES_cfb_encrypt()
73 if (numbits == 32) { in DES_cfb_encrypt()
76 } else if (numbits == 64) { in DES_cfb_encrypt()
116 if (numbits == 32) { in DES_cfb_encrypt()
119 } else if (numbits == 64) { in DES_cfb_encrypt()
Dofb_enc.c24 void DES_ofb_encrypt(const unsigned char *in, unsigned char *out, int numbits, in DES_ofb_encrypt() argument
28 register DES_LONG d0, d1, vv0, vv1, v0, v1, n = (numbits + 7) / 8; in DES_ofb_encrypt()
31 register int num = numbits; in DES_ofb_encrypt()
Dcfb64ede.c92 int numbits, long length, DES_key_schedule *ks1, in DES_ede3_cfb_encrypt() argument
97 register unsigned long l = length, n = ((unsigned int)numbits + 7) / 8; in DES_ede3_cfb_encrypt()
98 register int num = numbits, i; in DES_ede3_cfb_encrypt()
/third_party/openssl/apps/
Ddsaparam.c72 int numbits = -1, num = 0, genkey = 0; in dsaparam_main() local
143 numbits = num; in dsaparam_main()
156 if (numbits > 0) { in dsaparam_main()
157 if (numbits > OPENSSL_DSA_MAX_MODULUS_BITS) in dsaparam_main()
161 OPENSSL_DSA_MAX_MODULUS_BITS, numbits); in dsaparam_main()
220 pkey = app_keygen(ctx, "DSA", numbits, verbose); in dsaparam_main()
/third_party/libsnd/src/ALAC/
Dag_dec.c129 getstreambits (uint8_t *in, int32_t bitoffset, int32_t numbits) in getstreambits() argument
139 if ((numbits + (bitoffset & 0x7)) > 32) in getstreambits()
145 load2shift = (8 - (numbits + (bitoffset & 0x7) - 32)) ; in getstreambits()
147 result >>= (32 - numbits) ; in getstreambits()
152 result = load1 >> (32 - numbits - (bitoffset & 7)) ; in getstreambits()
157 if (numbits != (sizeof (result) * 8)) in getstreambits()
158 result &= ~ (0xfffffffful << numbits) ; in getstreambits()
/third_party/python/Lib/test/
Dtest_secrets.py57 for numbits in (3, 12, 30):
59 n = secrets.randbits(numbits)
60 self.assertTrue(0 <= n < 2**numbits, errmsg % (numbits, n))
Dtest_random.py570 numbits = i+1
572 self.assertEqual(k, numbits)
577 self.assertIn(k, [numbits, numbits+1])
582 self.assertEqual(k, numbits) # note the stronger assertion
807 numbits = i+1
809 self.assertEqual(k, numbits)
814 self.assertIn(k, [numbits, numbits+1])
819 self.assertEqual(k, numbits) # note the stronger assertion
/third_party/openssl/doc/man1/
Dopenssl-dsaparam.pod.in22 [I<numbits>]
55 this option is not specified. If the I<numbits> parameter is included then
86 =item I<numbits>
89 I<numbits>. It must be the last option. If this option is included then
Dopenssl-dhparam.pod.in25 [I<numbits>]
81 present but I<numbits> is present, parameters are generated with the
84 =item I<numbits>
87 I<numbits>. It must be the last option. If this option is present then
Dopenssl-genpkey.pod.in127 =item B<rsa_keygen_bits:numbits>
148 =item B<rsa_keygen_bits>:I<numbits>, B<rsa_keygen_primes>:I<numprimes>,
207 =item B<dsa_paramgen_bits>:I<numbits>
211 =item B<dsa_paramgen_q_bits>:I<numbits>
213 =item B<qbits>:I<numbits>
285 =item B<pbits>:I<numbits>
287 =item B<dh_paramgen_prime_len>:I<numbits>
291 =item B<qbits>:I<numbits>
293 =item B<dh_paramgen_subprime_len>:I<numbits>
Dopenssl-genrsa.pod.in34 [B<numbits>]
94 =item B<numbits>
/third_party/openssl/ohos_lite/include/openssl/
Ddes.h87 void DES_cfb_encrypt(const unsigned char *in, unsigned char *out, int numbits,
128 int numbits, long length, DES_key_schedule *ks1,
137 void DES_ofb_encrypt(const unsigned char *in, unsigned char *out, int numbits,
/third_party/openssl/include/openssl/
Ddes.h101 void DES_cfb_encrypt(const unsigned char *in, unsigned char *out, int numbits,
153 int numbits, long length, DES_key_schedule *ks1,
166 void DES_ofb_encrypt(const unsigned char *in, unsigned char *out, int numbits,
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_lossless_jpeg.cpp108 int32 numbits[256]; member
234 memset (htbl->numbits, 0, sizeof (htbl->numbits)); in FixHuffTbl()
252 if (ul >= static_cast<int32>(sizeof(htbl->numbits) / sizeof(htbl->numbits[0])) || in FixHuffTbl()
260 htbl->numbits [i] = size; in FixHuffTbl()
1625 if (htbl->numbits [code]) in HuffDecode()
1628 flush_bits (htbl->numbits [code]); in HuffDecode()
/third_party/openssl/doc/man3/
DDES_random_key.pod45 int numbits, long length, DES_key_schedule *schedule,
48 int numbits, long length, DES_key_schedule *schedule,
195 a complete DES ECB encryption per I<numbits>, this function is only
214 a complete DES ECB encryption per I<numbits>, this function is only
270 What this means is that if you set numbits to 12, and length to 2, the
/third_party/lwip/src/netif/ppp/
Dccp.c569 int numbits; in ccp_resetci() local
586 numbits = 0; in ccp_resetci()
588 numbits += auth_mschap_bits & 1; in ccp_resetci()
591 if (numbits > 1) { in ccp_resetci()
596 if (!numbits) { in ccp_resetci()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
DAPInt.cpp117 APInt::APInt(unsigned numbits, StringRef Str, uint8_t radix) in APInt() argument
118 : BitWidth(numbits), VAL(0) { in APInt()
120 fromString(numbits, Str, radix); in APInt()
2046 void APInt::fromString(unsigned numbits, StringRef str, uint8_t radix) { in fromString() argument
2061 assert((slen <= numbits || radix != 2) && "Insufficient bit width"); in fromString()
2062 assert(((slen-1)*3 <= numbits || radix != 8) && "Insufficient bit width"); in fromString()
2063 assert(((slen-1)*4 <= numbits || radix != 16) && "Insufficient bit width"); in fromString()
2064 assert((((slen-1)*64)/22 <= numbits || radix != 10) && in fromString()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DAPInt.cpp118 APInt::APInt(unsigned numbits, StringRef Str, uint8_t radix) in APInt() argument
119 : BitWidth(numbits) { in APInt()
121 fromString(numbits, Str, radix); in APInt()
2117 void APInt::fromString(unsigned numbits, StringRef str, uint8_t radix) { in fromString() argument
2132 assert((slen <= numbits || radix != 2) && "Insufficient bit width"); in fromString()
2133 assert(((slen-1)*3 <= numbits || radix != 8) && "Insufficient bit width"); in fromString()
2134 assert(((slen-1)*4 <= numbits || radix != 16) && "Insufficient bit width"); in fromString()
2135 assert((((slen-1)*64)/22 <= numbits || radix != 10) && in fromString()
/third_party/node/deps/brotli/c/enc/
Dbrotli_bit_stream.c74 size_t* numbits, uint64_t* nibblesbits) { in BrotliEncodeMlen() argument
81 *numbits = mnibbles * 4; in BrotliEncodeMlen()
/third_party/skia/third_party/externals/brotli/c/enc/
Dbrotli_bit_stream.c74 size_t* numbits, uint64_t* nibblesbits) { in BrotliEncodeMlen() argument
81 *numbits = mnibbles * 4; in BrotliEncodeMlen()
/third_party/ffmpeg/libavcodec/
Dhevcdec.c683 int numbits, rps_idx; in hls_slice_header() local
690 numbits = av_ceil_log2(s->ps.sps->nb_st_rps); in hls_slice_header()
691 rps_idx = numbits > 0 ? get_bits(gb, numbits) : 0; in hls_slice_header()