/external/dropbear/libtomcrypt/src/pk/ecc/ |
ltc_ecc_mulmod.c | 45 int first, bitbuf, bitcpy, bitcnt, mode, digidx; local 112 bitcpy = bitbuf = 0; 143 bitbuf |= (i << (WINSIZE - ++bitcpy)); 150 if ((err = mp_copy(M[bitbuf-8]->x, R->x)) != CRYPT_OK) { goto done; } 151 if ((err = mp_copy(M[bitbuf-8]->y, R->y)) != CRYPT_OK) { goto done; } 152 if ((err = mp_copy(M[bitbuf-8]->z, R->z)) != CRYPT_OK) { goto done; } 162 /* then add, bitbuf will be 8..15 [8..2^WINSIZE] guaranteed */ 163 if ((err = ltc_mp.ecc_ptadd(R, M[bitbuf-8], R, modulus, mp)) != CRYPT_OK) { goto done; } 166 bitcpy = bitbuf = 0; 180 bitbuf <<= 1 [all...] |
ltc_ecc_mulmod_timing.c | 43 int first, bitbuf, bitcpy, bitcnt, mode, digidx; local 101 bitcpy = bitbuf = 0;
|
/external/dropbear/libtommath/ |
bn_mp_exptmod_fast.c | 36 int err, bitbuf, bitcpy, bitcnt, mode, digidx, x, y, winsize; local 199 bitbuf = 0; 238 bitbuf |= (y << (winsize - ++bitcpy)); 254 if ((err = mp_mul (&res, &M[bitbuf], &res)) != MP_OKAY) { 263 bitbuf = 0; 280 bitbuf <<= 1; 281 if ((bitbuf & (1 << winsize)) != 0) {
|
bn_s_mp_exptmod.c | 27 int err, bitbuf, bitcpy, bitcnt, mode, digidx, x, y, winsize; local 144 bitbuf = 0; 183 bitbuf |= (y << (winsize - ++bitcpy)); 199 if ((err = mp_mul (&res, &M[bitbuf], &res)) != MP_OKAY) { 208 bitbuf = 0; 224 bitbuf <<= 1; 225 if ((bitbuf & (1 << winsize)) != 0) {
|
/hardware/ti/omap3/omx/ti_omx_config_parser/src/ |
ti_m4v_config_parser.cpp | 108 psBits.bitBuf = 0; 642 pStream->bitBuf = 0; 645 pStream->bitBuf |= pStream->data[dataBytePos+i]; 646 pStream->bitBuf <<= 8; 648 pStream->bitBuf <<= 8 * (3 - i); 653 pStream->bitBuf = (bits[0] << 24) | (bits[1] << 16) | (bits[2] << 8) | bits[3]; 660 *pulOutData = (pStream->bitBuf >> (32 - bitPos)) & mask[(uint16)ucNBits]; 688 pStream->bitBuf = (bits[0] << 24) | (bits[1] << 16) | (bits[2] << 8) | bits[3]; 722 pStream->bitBuf = (bits[0] << 24) | (bits[1] << 16) | (bits[2] << 8) | bits[3]; 728 *pulOutData = (pStream->bitBuf >> (32 - pStream->bitPos)) & mask[(uint16)ucNBits] [all...] |
ti_video_config_parser.cpp | 78 psBits.bitBuf = 0;
|
/external/zlib/src/contrib/blast/ |
blast.c | 41 int bitbuf; /* bit buffer */ member in struct:state 71 val = s->bitbuf; 83 s->bitbuf = val >> need; 130 int bitbuf; /* bits from stream */ local 134 bitbuf = s->bitbuf; 141 code |= (bitbuf & 1) ^ 1; /* invert code */ 142 bitbuf >>= 1; 145 s->bitbuf = bitbuf; [all...] |
/external/zlib/src/contrib/puff/ |
puff.c | 107 int bitbuf; /* bit buffer */ member in struct:state 130 val = s->bitbuf; 139 s->bitbuf = (int)(val >> need); 168 s->bitbuf = 0; 269 int bitbuf; /* bits from stream */ local 273 bitbuf = s->bitbuf; 280 code |= bitbuf & 1; 281 bitbuf >>= 1; 284 s->bitbuf = bitbuf [all...] |
/hardware/ti/omap3/omx/ti_omx_config_parser/inc/ |
ti_m4v_config_parser.h | 66 uint32 bitBuf;
|
/hardware/qcom/media/mm-video/vidc/vdec/src/ |
mp4_utils.cpp | 59 uint32 bitBuf = 62 uint32 value = (bitBuf >> (32 - posPtr->bitPos - size)) & MASK(size);
|
/external/wpa_supplicant_8/src/tls/ |
libtommath.c | 1888 int err, bitbuf, bitcpy, bitcnt, mode, digidx, x, y, winsize; local 2964 int err, bitbuf, bitcpy, bitcnt, mode, digidx, x, y, winsize; local [all...] |
/external/dropbear/libtomcrypt/testprof/ |
der_tests.c | 456 unsigned char bitbuf[10], octetbuf[10], ia5buf[10], printbuf[10], outbuf[256]; local 462 for (x = 0; x < sizeof(bitbuf); x++) { bitbuf[x] = x & 1; } 473 LTC_SET_ASN1(types, 1, LTC_ASN1_BIT_STRING, bitbuf, sizeof(bitbuf)); [all...] |
/external/dropbear/libtommath/pre_gen/ |
mpi.c | 2653 int err, bitbuf, bitcpy, bitcnt, mode, digidx, x, y, winsize; local 8884 int err, bitbuf, bitcpy, bitcnt, mode, digidx, x, y, winsize; local [all...] |