/external/openssh/ |
cipher-aesctr.c | 28 * increment counter 'ctr', 30 * (LSB at ctr[len-1], MSB at ctr[0]) 33 aesctr_inc(u8 *ctr, u32 len) 39 if (++ctr[i]) /* continue on overflow */ 45 ctr[i] += add; 46 /* constant time for: x = ctr[i] ? 1 : 0 */ 47 x = ctr[i]; 65 memcpy(x->ctr, iv, AES_BLOCK_SIZE); 76 rijndaelEncrypt(x->ek, x->rounds, x->ctr, buf) [all...] |
cipher-aesctr.h | 28 u8 ctr[AES_BLOCK_SIZE]; /* counter */ member in struct:aesctr_ctx
|
/external/valgrind/drd/tests/ |
threaded-fork.c | 19 int ctr; local 42 ctr = 0; 45 ctr++; 46 if (ctr >= 10) {
|
/external/valgrind/none/tests/ |
threaded-fork.c | 17 int ctr; local 40 ctr = 0; 43 ctr++; 44 if (ctr >= 10) {
|
/external/libdrm/nouveau/nvif/ |
if0003.h | 13 } ctr[4]; member in struct:nvif_perfdom_v0 29 __u32 ctr[4]; member in struct:nvif_perfdom_read_v0
|
/external/selinux/libselinux/src/ |
is_customizable_type.c | 16 unsigned int ctr = 0, i; local 28 while (fgets_unlocked(buf, selinux_page_size, fp) && ctr < UINT_MAX) { 29 ctr++; 32 if (ctr) { 35 ctr + 1); 39 && i < ctr) {
|
/prebuilts/go/darwin-x86/src/crypto/cipher/ |
ctr.go | 5 // Counter (CTR) mode. 7 // CTR converts a block cipher into a stream cipher by 15 type ctr struct { type 17 ctr []byte 25 // implementation of CTR, like crypto/aes. NewCTR will check for this interface 34 if ctr, ok := block.(ctrAble); ok { 35 return ctr.NewCTR(iv) 44 return &ctr{ 46 ctr: dup(iv), 52 func (x *ctr) refill() [all...] |
/prebuilts/go/linux-x86/src/crypto/cipher/ |
ctr.go | 5 // Counter (CTR) mode. 7 // CTR converts a block cipher into a stream cipher by 15 type ctr struct { type 17 ctr []byte 25 // implementation of CTR, like crypto/aes. NewCTR will check for this interface 34 if ctr, ok := block.(ctrAble); ok { 35 return ctr.NewCTR(iv) 44 return &ctr{ 46 ctr: dup(iv), 52 func (x *ctr) refill() [all...] |
/device/linaro/bootloader/arm-trusted-firmware/plat/fvp/ |
fvp_topology.c | 80 unsigned int aff_count = 1, ctr; local 106 for (ctr = 0; 107 fvp_aff1_topology_map[ctr].sibling != AFFINST_INVAL; 108 ctr = fvp_aff1_topology_map[ctr].sibling) { 119 for (ctr = fvp_aff1_topology_map[parent_aff_id].child; 120 fvp_aff0_topology_map[ctr].sibling != AFFINST_INVAL; 121 ctr = fvp_aff0_topology_map[ctr].sibling) {
|
/external/valgrind/memcheck/tests/ |
wrap5.c | 18 static int ctr = 0; variable 23 ctr++; 24 if ((ctr % 3) == 1) { 88 printf("allocated %d Lards\n", ctr);
|
/external/libjpeg-turbo/ |
jidctred.c | 132 int ctr; local 141 for (ctr = DCTSIZE; ctr > 0; inptr++, quantptr++, wsptr++, ctr--) { 143 if (ctr == DCTSIZE-4) 201 for (ctr = 0; ctr < 4; ctr++) { 202 outptr = output_buf[ctr] + output_col; 285 int ctr; local [all...] |
jfdctflt.c | 66 int ctr; local 71 for (ctr = DCTSIZE-1; ctr >= 0; ctr--) { 121 for (ctr = DCTSIZE-1; ctr >= 0; ctr--) {
|
jfdctfst.c | 123 int ctr; local 129 for (ctr = DCTSIZE-1; ctr >= 0; ctr--) { 179 for (ctr = DCTSIZE-1; ctr >= 0; ctr--) {
|
/external/pdfium/third_party/libjpeg/ |
fpdfapi_jidctred.c | 129 int ctr; local 138 for (ctr = DCTSIZE; ctr > 0; inptr++, quantptr++, wsptr++, ctr--) { 140 if (ctr == DCTSIZE-4) 197 for (ctr = 0; ctr < 4; ctr++) { 198 outptr = output_buf[ctr] + output_col; 281 int ctr; local [all...] |
fpdfapi_jfdctfst.c | 120 int ctr; local 126 for (ctr = DCTSIZE-1; ctr >= 0; ctr--) { 176 for (ctr = DCTSIZE-1; ctr >= 0; ctr--) {
|
/prebuilts/go/darwin-x86/src/net/http/ |
triv.go | 39 func (ctr *Counter) String() string { 40 ctr.mu.Lock() 41 defer ctr.mu.Unlock() 42 return fmt.Sprintf("%d", ctr.n) 45 func (ctr *Counter) ServeHTTP(w http.ResponseWriter, req *http.Request) { 46 ctr.mu.Lock() 47 defer ctr.mu.Unlock() 50 ctr.n++ 58 ctr.n = n 62 fmt.Fprintf(w, "counter = %d\n", ctr.n [all...] |
/prebuilts/go/linux-x86/src/net/http/ |
triv.go | 39 func (ctr *Counter) String() string { 40 ctr.mu.Lock() 41 defer ctr.mu.Unlock() 42 return fmt.Sprintf("%d", ctr.n) 45 func (ctr *Counter) ServeHTTP(w http.ResponseWriter, req *http.Request) { 46 ctr.mu.Lock() 47 defer ctr.mu.Unlock() 50 ctr.n++ 58 ctr.n = n 62 fmt.Fprintf(w, "counter = %d\n", ctr.n [all...] |
/external/lzma/C/ |
AesOpt.c | 112 __m128i ctr = *p;
local 123 ctr = _mm_add_epi64(ctr, one); m0 = _mm_xor_si128(ctr, t);
124 ctr = _mm_add_epi64(ctr, one); m1 = _mm_xor_si128(ctr, t);
125 ctr = _mm_add_epi64(ctr, one); m2 = _mm_xor_si128(ctr, t); [all...] |
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
Preconditions.java | 144 long ctr = 0; local 148 String.format("%s[%d] must not be null", valueName, ctr)); 150 ++ctr;
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
Preconditions.java | 148 long ctr = 0; local 152 String.format("%s[%d] must not be null", valueName, ctr)); 154 ++ctr;
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/analysis/ |
CounterComparatorTest.java | 107 cmp.compare(ctr(missed1, covered1), ctr(missed2, covered2)), 113 assertTrue(cmp.compare(ctr(missed1, covered1), ctr(missed2, covered2)) < 0); method 118 assertTrue(cmp.compare(ctr(missed1, covered1), ctr(missed2, covered2)) > 0); 121 private CounterImpl ctr(int missed, int covered) { method in class:CounterComparatorTest
|
/prebuilts/go/darwin-x86/src/crypto/aes/ |
ctr_s390x.go | 27 ctr [2]uint64 // next value of the counter (big endian) 40 ac.ctr[0] = *(*uint64)(unsafe.Pointer((&iv[0]))) // high bits 41 ac.ctr[1] = *(*uint64)(unsafe.Pointer((&iv[8]))) // low bits 49 c0, c1 := c.ctr[0], c.ctr[1] 61 c.ctr[0], c.ctr[1] = c0, c1
|
/prebuilts/go/linux-x86/src/crypto/aes/ |
ctr_s390x.go | 27 ctr [2]uint64 // next value of the counter (big endian) 40 ac.ctr[0] = *(*uint64)(unsafe.Pointer((&iv[0]))) // high bits 41 ac.ctr[1] = *(*uint64)(unsafe.Pointer((&iv[8]))) // low bits 49 c0, c1 := c.ctr[0], c.ctr[1] 61 c.ctr[0], c.ctr[1] = c0, c1
|
/external/chromium-trace/catapult/telemetry/telemetry/timeline/ |
trace_event_importer_unittest.py | 498 {'name': 'ctr', 'args': {'value': 0}, 'pid': 1, 'ts': 0, 'cat': 'foo', 500 {'name': 'ctr', 'args': {'value': 10}, 'pid': 1, 'ts': 10, 'cat': 'foo', 502 {'name': 'ctr', 'args': {'value': 0}, 'pid': 1, 'ts': 20, 'cat': 'foo', 508 ctr = p.counters['foo.ctr'] 510 self.assertEqual('ctr', ctr.name) 511 self.assertEqual('foo', ctr.category) 512 self.assertEqual(3, ctr.num_samples) 513 self.assertEqual(1, ctr.num_series [all...] |
/external/wpa_supplicant_8/src/eap_common/ |
eap_pwd_common.c | 45 u16 i, ctr, L; local 49 ctr = 0; 52 ctr++; 53 i = htons(ctr); 58 if (ctr > 1) 96 unsigned char pwe_digest[SHA256_MAC_LEN], *prfbuf = NULL, ctr; local 185 ctr = 0; 187 if (ctr > 30) { 193 ctr++; 207 eap_pwd_h_update(hash, &ctr, sizeof(ctr)) [all...] |