HomeSort by relevance Sort by last modified time
    Searched defs:BLOCK_SIZE (Results 1 - 25 of 34) sorted by null

1 2

  /external/yaffs2/yaffs2/direct/
yaffs_fileem2k.h 27 #define BLOCK_SIZE (PAGES_PER_BLOCK * (PAGE_SIZE))
39 #define BLOCK_SIZE (PAGES_PER_BLOCK * (PAGE_SIZE))
yaffs_fileem.c 37 #define BLOCK_SIZE (32 * 528)
yaffs_flashif.c 31 #define BLOCK_SIZE (32 * 528)
yaffs_ramdisk.c 33 #define BLOCK_SIZE (32 * 528)
  /external/bluetooth/glib/tests/
base64-test.c 11 #define BLOCK_SIZE 32
20 gsize len, decoded_len, max, input_len, block_size; local
35 block_size = MIN (BLOCK_SIZE, length - input_len);
36 len += g_base64_encode_step (data + input_len, block_size,
38 input_len += block_size;
59 int chunk_len = MIN (BLOCK_SIZE, len);
  /external/bouncycastle/src/main/java/org/bouncycastle/crypto/engines/
DESedeEngine.java 13 protected static final int BLOCK_SIZE = 8;
81 return BLOCK_SIZE;
95 if ((inOff + BLOCK_SIZE) > in.length)
100 if ((outOff + BLOCK_SIZE) > out.length)
105 byte[] temp = new byte[BLOCK_SIZE];
120 return BLOCK_SIZE;
RC2Engine.java 55 private static final int BLOCK_SIZE = 8;
156 return BLOCK_SIZE;
170 if ((inOff + BLOCK_SIZE) > in.length)
175 if ((outOff + BLOCK_SIZE) > out.length)
189 return BLOCK_SIZE;
DESEngine.java 14 protected static final int BLOCK_SIZE = 8;
60 return BLOCK_SIZE;
74 if ((inOff + BLOCK_SIZE) > in.length)
79 if ((outOff + BLOCK_SIZE) > out.length)
86 return BLOCK_SIZE;
AESEngine.java 338 private static final int BLOCK_SIZE = 16;
376 return BLOCK_SIZE;
413 return BLOCK_SIZE;
AESFastEngine.java     [all...]
BlowfishEngine.java 299 private static final int BLOCK_SIZE = 8; // bytes = 64 bits
359 if ((inOff + BLOCK_SIZE) > in.length)
364 if ((outOff + BLOCK_SIZE) > out.length)
378 return BLOCK_SIZE;
387 return BLOCK_SIZE;
TwofishEngine.java 193 private static final int BLOCK_SIZE = 16; // bytes = 128 bits
197 private static final int OUTPUT_WHITEN=INPUT_WHITEN+BLOCK_SIZE/4; // 4
198 private static final int ROUND_SUBKEYS=OUTPUT_WHITEN+BLOCK_SIZE/4;// 8
299 if ((inOff + BLOCK_SIZE) > in.length)
304 if ((outOff + BLOCK_SIZE) > out.length)
318 return BLOCK_SIZE;
331 return BLOCK_SIZE;
  /frameworks/base/services/java/com/android/server/
RandomBlock.java 36 private static final int BLOCK_SIZE = 4096;
37 private byte[] block = new byte[BLOCK_SIZE];
55 while(total < BLOCK_SIZE) {
56 int result = in.read(retval.block, total, BLOCK_SIZE - total);
79 f.setLength(BLOCK_SIZE);
  /external/wpa_supplicant/
aes_wrap.c 154 #define BLOCK_SIZE 16
163 for (i = 0; i < BLOCK_SIZE - 1; i++)
165 pad[BLOCK_SIZE - 1] <<= 1;
167 pad[BLOCK_SIZE - 1] ^= 0x87;
184 u8 cbc[BLOCK_SIZE], pad[BLOCK_SIZE];
191 os_memset(cbc, 0, BLOCK_SIZE);
202 while (left >= BLOCK_SIZE) {
203 for (i = 0; i < BLOCK_SIZE; i++) {
211 if (left > BLOCK_SIZE)
    [all...]
  /external/wpa_supplicant/tests/
test_aes.c 21 #define BLOCK_SIZE 16
71 u8 data[sizeof(msg)], tag[BLOCK_SIZE];
84 if (memcmp(tag, cipher + sizeof(data), BLOCK_SIZE) != 0) {
  /external/wpa_supplicant_6/wpa_supplicant/src/crypto/
aes_wrap.c 153 #define BLOCK_SIZE 16
162 for (i = 0; i < BLOCK_SIZE - 1; i++)
164 pad[BLOCK_SIZE - 1] <<= 1;
166 pad[BLOCK_SIZE - 1] ^= 0x87;
187 u8 cbc[BLOCK_SIZE], pad[BLOCK_SIZE];
194 os_memset(cbc, 0, BLOCK_SIZE);
205 while (left >= BLOCK_SIZE) {
206 for (i = 0; i < BLOCK_SIZE; i++) {
214 if (left > BLOCK_SIZE)
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/tests/
test_aes.c 21 #define BLOCK_SIZE 16
71 u8 data[sizeof(msg)], tag[BLOCK_SIZE];
84 if (memcmp(tag, cipher + sizeof(data), BLOCK_SIZE) != 0) {
  /external/bouncycastle/src/main/java/org/bouncycastle/crypto/modes/
GCMBlockCipher.java 22 private static final int BLOCK_SIZE = 16;
23 private static final byte[] ZEROES = new byte[BLOCK_SIZE];
54 if (c.getBlockSize() != BLOCK_SIZE)
57 "cipher required with a block size of " + BLOCK_SIZE + ".");
116 int bufLength = forEncryption ? BLOCK_SIZE : (BLOCK_SIZE + macSize);
134 // (but must be 16 if nonce length not 12) (BLOCK_SIZE?)
137 this.H = new byte[BLOCK_SIZE];
181 return ((len + bufOff) / BLOCK_SIZE) * BLOCK_SIZE;
    [all...]
  /external/grub/stage2/
vstafs.h 26 #define BLOCK_SIZE 512
fsys_minix.c 41 #define BLOCK_SIZE (1<<BLOCK_SIZE_BITS)
46 #define SBLOCK (WHICH_SUPER * BLOCK_SIZE / DEV_BSIZE) /* = 2 */
72 #define MINIX_INODES_PER_BLOCK ((BLOCK_SIZE)/(sizeof (struct minix_inode)))
73 #define MINIX2_INODES_PER_BLOCK ((BLOCK_SIZE)/(sizeof (struct minix2_inode)))
141 ((struct minix_inode *)((int) SUPERBLOCK + BLOCK_SIZE))
145 ((int)((int)DATABLOCK1 + BLOCK_SIZE))
195 return devread (fsblock * (BLOCK_SIZE / DEV_BSIZE), 0,
196 BLOCK_SIZE, (char *) buffer);
258 offset = filepos & (BLOCK_SIZE - 1);
266 size = BLOCK_SIZE;
    [all...]
  /external/webkit/JavaScriptCore/runtime/
Collector.h 186 const size_t BLOCK_SIZE = 64 * 1024; // 64k
188 const size_t BLOCK_SIZE = 64 * 4096; // 256k
192 const size_t BLOCK_OFFSET_MASK = BLOCK_SIZE - 1;
200 const size_t CELLS_PER_BLOCK = (BLOCK_SIZE - sizeof(Heap*)) * 8 * CELL_SIZE / (8 * CELL_SIZE + 1) / CELL_SIZE; // one bitmap byte can represent 8 cells.
Collector.cpp 166 userChunk = UserHeap::ChunkHeap(0, 0, MAX_NUM_BLOCKS * BLOCK_SIZE, BLOCK_SIZE, BLOCK_SIZE);
222 vm_map(current_task(), &address, BLOCK_SIZE, BLOCK_OFFSET_MASK, VM_FLAGS_ANYWHERE | VM_TAG_FOR_COLLECTOR_MEMORY, MEMORY_OBJECT_NULL, 0, FALSE, VM_PROT_DEFAULT, VM_PROT_DEFAULT, VM_INHERIT_DEFAULT);
225 unsigned char* mask = reinterpret_cast<unsigned char*>(userChunk->Alloc(BLOCK_SIZE));
230 void* address = VirtualAlloc(NULL, BLOCK_SIZE, MEM_COMMIT | MEM_RESERVE, PAGE_READWRITE);
233 void* address = __mingw_aligned_malloc(BLOCK_SIZE, BLOCK_SIZE);
235 void* address = _aligned_malloc(BLOCK_SIZE, BLOCK_SIZE);
    [all...]
  /bionic/libc/kernel/common/linux/
fs.h 23 #define BLOCK_SIZE (1<<BLOCK_SIZE_BITS)
  /development/ndk/platforms/android-3/include/linux/
fs.h 23 #define BLOCK_SIZE (1<<BLOCK_SIZE_BITS)
  /prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/
fs.h 23 #define BLOCK_SIZE (1<<BLOCK_SIZE_BITS)

Completed in 594 milliseconds

1 2