/third_party/node/deps/openssl/openssl/crypto/des/ |
H A D | cfb_enc.c | 22 * that if you hame numbits=12 and length=2 the first 12 bits will be 30 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 in DES_cfb_encrypt() [all...] |
H A D | ofb_enc.c | 20 * that if you have numbits=12 and length=2 the first 12 bits will be 24 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()
|
H A D | cfb64ede.c | 92 int numbits, long length, DES_key_schedule *ks1, in DES_ede3_cfb_encrypt() 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() 91 DES_ede3_cfb_encrypt(const unsigned char *in, unsigned char *out, int numbits, long length, DES_key_schedule *ks1, DES_key_schedule *ks2, DES_key_schedule *ks3, DES_cblock *ivec, int enc) DES_ede3_cfb_encrypt() argument
|
/third_party/openssl/crypto/des/ |
H A D | cfb_enc.c | 22 * that if you hame numbits=12 and length=2 the first 12 bits will be 30 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 in DES_cfb_encrypt() [all...] |
H A D | ofb_enc.c | 20 * that if you have numbits=12 and length=2 the first 12 bits will be 24 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()
|
H A D | cfb64ede.c | 92 int numbits, long length, DES_key_schedule *ks1, in DES_ede3_cfb_encrypt() 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() 91 DES_ede3_cfb_encrypt(const unsigned char *in, unsigned char *out, int numbits, long length, DES_key_schedule *ks1, DES_key_schedule *ks2, DES_key_schedule *ks3, DES_cblock *ivec, int enc) DES_ede3_cfb_encrypt() argument
|
/third_party/node/deps/openssl/openssl/apps/ |
H A D | 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; 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/openssl/apps/ |
H A D | 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; 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/ |
H A D | ag_dec.c | 131 getstreambits (uint8_t *in, int32_t bitoffset, int32_t numbits) in getstreambits() argument 137 //Assert (numbits <= 32) ; in getstreambits() 141 if ((numbits + (bitoffset & 0x7)) > 32) in getstreambits() 147 load2shift = (8 - (numbits + (bitoffset & 0x7) - 32)) ; in getstreambits() 149 result >>= (32 - numbits) ; in getstreambits() 154 result = load1 >> (32 - numbits - (bitoffset & 7)) ; in getstreambits() 159 if (numbits != (sizeof (result) * 8)) in getstreambits() 160 result &= ~ (0xfffffffful << numbits) ; in getstreambits()
|
/third_party/python/Lib/test/ |
H A D | test_secrets.py | 57 for numbits in (3, 12, 30): 59 n = secrets.randbits(numbits) 60 self.assertTrue(0 <= n < 2**numbits, errmsg % (numbits, n))
|
H A D | test_random.py | 562 numbits = i+1 564 self.assertEqual(k, numbits) 569 self.assertIn(k, [numbits, numbits+1]) 574 self.assertEqual(k, numbits) # note the stronger assertion 818 numbits = i+1 820 self.assertEqual(k, numbits) 825 self.assertIn(k, [numbits, numbits+1]) 830 self.assertEqual(k, numbits) # not [all...] |
/third_party/node/deps/openssl/openssl/include/openssl/ |
H A D | des.h | 101 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/openssl/include/openssl/ |
H A D | des.h | 101 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/openssl/ohos_lite/include/openssl/ |
H A D | des.h | 87 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/lame/mpglib/ |
H A D | layer3.c | 575 int numbits; in III_get_scale_factors_1() local 581 numbits = (num0 + num1) * 18; in III_get_scale_factors_1() 587 numbits -= num0; /* num0 * 17 + num1 * 18 */ in III_get_scale_factors_1() 607 numbits = (num0 + num1) * 10 + num0; in III_get_scale_factors_1() 610 numbits = 0; in III_get_scale_factors_1() 614 numbits += num0 * 6; in III_get_scale_factors_1() 623 numbits += num0 * 5; in III_get_scale_factors_1() 632 numbits += num1 * 5; in III_get_scale_factors_1() 641 numbits += num1 * 5; in III_get_scale_factors_1() 650 return numbits; in III_get_scale_factors_1() 661 int numbits = 0; III_get_scale_factors_2() local [all...] |
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_lossless_jpeg.cpp | 108 int32 numbits[256]; member 228 // Build the numbits, value lookup tables. in FixHuffTbl() 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/lwip/src/netif/ppp/ |
H A D | ccp.c | 569 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/ |
H A D | APInt.cpp | 117 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) { 2061 assert((slen <= numbits || radix != 2) && "Insufficient bit width"); 2062 assert(((slen-1)*3 <= numbits || radix != 8) && "Insufficient bit width"); 2063 assert(((slen-1)*4 <= numbits || radix != 16) && "Insufficient bit width"); 2064 assert((((slen-1)*64)/22 <= numbits || radix != 10) &&
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | APInt.cpp | 118 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) { 2132 assert((slen <= numbits || radix != 2) && "Insufficient bit width"); 2133 assert(((slen-1)*3 <= numbits || radix != 8) && "Insufficient bit width"); 2134 assert(((slen-1)*4 <= numbits || radix != 16) && "Insufficient bit width"); 2135 assert((((slen-1)*64)/22 <= numbits || radix != 10) &&
|
/third_party/node/deps/openssl/openssl/crypto/bn/ |
H A D | bn_gf2m.c | 737 int numbits; in BN_GF2m_mod_inv() local 744 numbits = BN_num_bits(p); in BN_GF2m_mod_inv() 745 if (numbits <= 1) in BN_GF2m_mod_inv() 750 if (!BN_priv_rand_ex(b, numbits - 1, in BN_GF2m_mod_inv()
|
/third_party/node/deps/brotli/c/enc/ |
H A D | brotli_bit_stream.c | 74 size_t* numbits, uint64_t* nibblesbits) { in BrotliEncodeMlen() 81 *numbits = mnibbles * 4; in BrotliEncodeMlen() 73 BrotliEncodeMlen(size_t length, uint64_t* bits, size_t* numbits, uint64_t* nibblesbits) BrotliEncodeMlen() argument
|
/third_party/skia/third_party/externals/brotli/c/enc/ |
H A D | brotli_bit_stream.c | 74 size_t* numbits, uint64_t* nibblesbits) { in BrotliEncodeMlen() 81 *numbits = mnibbles * 4; in BrotliEncodeMlen() 73 BrotliEncodeMlen(size_t length, uint64_t* bits, size_t* numbits, uint64_t* nibblesbits) BrotliEncodeMlen() argument
|
/third_party/ffmpeg/libavcodec/ |
H A D | hevcdec.c | 706 int numbits, rps_idx; in hls_slice_header() local 713 numbits = av_ceil_log2(s->ps.sps->nb_st_rps); in hls_slice_header() 714 rps_idx = numbits > 0 ? get_bits(gb, numbits) : 0; in hls_slice_header()
|