/external/dropbear/libtomcrypt/src/pk/ecc/ |
D | ltc_ecc_mulmod.c | 45 int first, bitbuf, bitcpy, bitcnt, mode, digidx; in ltc_ecc_mulmod() local 112 bitcpy = bitbuf = 0; in ltc_ecc_mulmod() 143 bitbuf |= (i << (WINSIZE - ++bitcpy)); in ltc_ecc_mulmod() 150 if ((err = mp_copy(M[bitbuf-8]->x, R->x)) != CRYPT_OK) { goto done; } in ltc_ecc_mulmod() 151 if ((err = mp_copy(M[bitbuf-8]->y, R->y)) != CRYPT_OK) { goto done; } in ltc_ecc_mulmod() 152 if ((err = mp_copy(M[bitbuf-8]->z, R->z)) != CRYPT_OK) { goto done; } in ltc_ecc_mulmod() 163 if ((err = ltc_mp.ecc_ptadd(R, M[bitbuf-8], R, modulus, mp)) != CRYPT_OK) { goto done; } in ltc_ecc_mulmod() 166 bitcpy = bitbuf = 0; in ltc_ecc_mulmod() 180 bitbuf <<= 1; in ltc_ecc_mulmod() 181 if ((bitbuf & (1 << WINSIZE)) != 0) { in ltc_ecc_mulmod()
|
D | ltc_ecc_mulmod_timing.c | 43 int first, bitbuf, bitcpy, bitcnt, mode, digidx; in ltc_ecc_mulmod() local 101 bitcpy = bitbuf = 0; in ltc_ecc_mulmod()
|
/external/zlib/contrib/blast/ |
D | blast.c | 41 int bitbuf; /* bit buffer */ member 71 val = s->bitbuf; in bits() 83 s->bitbuf = val >> need; in bits() 130 int bitbuf; /* bits from stream */ in decode() local 134 bitbuf = s->bitbuf; in decode() 141 code |= (bitbuf & 1) ^ 1; /* invert code */ in decode() 142 bitbuf >>= 1; in decode() 145 s->bitbuf = bitbuf; in decode() 161 bitbuf = *(s->in)++; in decode() 386 s.bitbuf = 0; in blast()
|
/external/zlib/contrib/puff/ |
D | puff.c | 107 int bitbuf; /* bit buffer */ member 130 val = s->bitbuf; in bits() 139 s->bitbuf = (int)(val >> need); in bits() 168 s->bitbuf = 0; in stored() 269 int bitbuf; /* bits from stream */ in decode() local 273 bitbuf = s->bitbuf; in decode() 280 code |= bitbuf & 1; in decode() 281 bitbuf >>= 1; in decode() 284 s->bitbuf = bitbuf; in decode() 299 bitbuf = s->in[s->incnt++]; in decode() [all …]
|
/external/dropbear/libtommath/ |
D | bn_s_mp_exptmod.c | 27 int err, bitbuf, bitcpy, bitcnt, mode, digidx, x, y, winsize; in s_mp_exptmod() local 144 bitbuf = 0; in s_mp_exptmod() 183 bitbuf |= (y << (winsize - ++bitcpy)); in s_mp_exptmod() 199 if ((err = mp_mul (&res, &M[bitbuf], &res)) != MP_OKAY) { in s_mp_exptmod() 208 bitbuf = 0; in s_mp_exptmod() 224 bitbuf <<= 1; in s_mp_exptmod() 225 if ((bitbuf & (1 << winsize)) != 0) { in s_mp_exptmod()
|
D | bn_mp_exptmod_fast.c | 36 int err, bitbuf, bitcpy, bitcnt, mode, digidx, x, y, winsize; in mp_exptmod_fast() local 199 bitbuf = 0; in mp_exptmod_fast() 238 bitbuf |= (y << (winsize - ++bitcpy)); in mp_exptmod_fast() 254 if ((err = mp_mul (&res, &M[bitbuf], &res)) != MP_OKAY) { in mp_exptmod_fast() 263 bitbuf = 0; in mp_exptmod_fast() 280 bitbuf <<= 1; in mp_exptmod_fast() 281 if ((bitbuf & (1 << winsize)) != 0) { in mp_exptmod_fast()
|
/external/wpa_supplicant_6/wpa_supplicant/src/tls/ |
D | libtommath.c | 1872 int err, bitbuf, bitcpy, bitcnt, mode, digidx, x, y, winsize; in s_mp_exptmod() local 1989 bitbuf = 0; in s_mp_exptmod() 2028 bitbuf |= (y << (winsize - ++bitcpy)); in s_mp_exptmod() 2044 if ((err = mp_mul (&res, &M[bitbuf], &res)) != MP_OKAY) { in s_mp_exptmod() 2053 bitbuf = 0; in s_mp_exptmod() 2069 bitbuf <<= 1; in s_mp_exptmod() 2070 if ((bitbuf & (1 << winsize)) != 0) { in s_mp_exptmod() 2944 int err, bitbuf, bitcpy, bitcnt, mode, digidx, x, y, winsize; in mp_exptmod_fast() local 3107 bitbuf = 0; in mp_exptmod_fast() 3146 bitbuf |= (y << (winsize - ++bitcpy)); in mp_exptmod_fast() [all …]
|
/external/wpa_supplicant_8/src/tls/ |
D | libtommath.c | 1872 int err, bitbuf, bitcpy, bitcnt, mode, digidx, x, y, winsize; in s_mp_exptmod() local 1989 bitbuf = 0; in s_mp_exptmod() 2028 bitbuf |= (y << (winsize - ++bitcpy)); in s_mp_exptmod() 2044 if ((err = mp_mul (&res, &M[bitbuf], &res)) != MP_OKAY) { in s_mp_exptmod() 2053 bitbuf = 0; in s_mp_exptmod() 2069 bitbuf <<= 1; in s_mp_exptmod() 2070 if ((bitbuf & (1 << winsize)) != 0) { in s_mp_exptmod() 2944 int err, bitbuf, bitcpy, bitcnt, mode, digidx, x, y, winsize; in mp_exptmod_fast() local 3107 bitbuf = 0; in mp_exptmod_fast() 3146 bitbuf |= (y << (winsize - ++bitcpy)); in mp_exptmod_fast() [all …]
|
/external/dropbear/libtomcrypt/testprof/ |
D | der_tests.c | 456 unsigned char bitbuf[10], octetbuf[10], ia5buf[10], printbuf[10], outbuf[256]; in der_choice_test() local 462 for (x = 0; x < sizeof(bitbuf); x++) { bitbuf[x] = x & 1; } in der_choice_test() 473 LTC_SET_ASN1(types, 1, LTC_ASN1_BIT_STRING, bitbuf, sizeof(bitbuf)); in der_choice_test()
|
/external/dropbear/libtommath/pre_gen/ |
D | mpi.c | 2653 int err, bitbuf, bitcpy, bitcnt, mode, digidx, x, y, winsize; in mp_exptmod_fast() local 2816 bitbuf = 0; in mp_exptmod_fast() 2855 bitbuf |= (y << (winsize - ++bitcpy)); in mp_exptmod_fast() 2871 if ((err = mp_mul (&res, &M[bitbuf], &res)) != MP_OKAY) { in mp_exptmod_fast() 2880 bitbuf = 0; in mp_exptmod_fast() 2897 bitbuf <<= 1; in mp_exptmod_fast() 2898 if ((bitbuf & (1 << winsize)) != 0) { in mp_exptmod_fast() 8884 int err, bitbuf, bitcpy, bitcnt, mode, digidx, x, y, winsize; in s_mp_exptmod() local 9001 bitbuf = 0; in s_mp_exptmod() 9040 bitbuf |= (y << (winsize - ++bitcpy)); in s_mp_exptmod() [all …]
|