/external/wpa_supplicant/ |
D | aes_wrap.c | 154 #define BLOCK_SIZE 16 macro 163 for (i = 0; i < BLOCK_SIZE - 1; i++) in gf_mulx() 165 pad[BLOCK_SIZE - 1] <<= 1; in gf_mulx() 167 pad[BLOCK_SIZE - 1] ^= 0x87; in gf_mulx() 184 u8 cbc[BLOCK_SIZE], pad[BLOCK_SIZE]; in omac1_aes_128_vector() 191 os_memset(cbc, 0, BLOCK_SIZE); in omac1_aes_128_vector() 202 while (left >= BLOCK_SIZE) { in omac1_aes_128_vector() 203 for (i = 0; i < BLOCK_SIZE; i++) { in omac1_aes_128_vector() 211 if (left > BLOCK_SIZE) in omac1_aes_128_vector() 213 left -= BLOCK_SIZE; in omac1_aes_128_vector() [all …]
|
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
D | aes_wrap.c | 153 #define BLOCK_SIZE 16 macro 162 for (i = 0; i < BLOCK_SIZE - 1; i++) in gf_mulx() 164 pad[BLOCK_SIZE - 1] <<= 1; in gf_mulx() 166 pad[BLOCK_SIZE - 1] ^= 0x87; in gf_mulx() 187 u8 cbc[BLOCK_SIZE], pad[BLOCK_SIZE]; in omac1_aes_128_vector() 194 os_memset(cbc, 0, BLOCK_SIZE); in omac1_aes_128_vector() 205 while (left >= BLOCK_SIZE) { in omac1_aes_128_vector() 206 for (i = 0; i < BLOCK_SIZE; i++) { in omac1_aes_128_vector() 214 if (left > BLOCK_SIZE) in omac1_aes_128_vector() 216 left -= BLOCK_SIZE; in omac1_aes_128_vector() [all …]
|
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/modes/ |
D | GCMBlockCipher.java | 22 private static final int BLOCK_SIZE = 16; field in GCMBlockCipher 23 private static final byte[] ZEROES = new byte[BLOCK_SIZE]; 54 if (c.getBlockSize() != BLOCK_SIZE) in GCMBlockCipher() 57 "cipher required with a block size of " + BLOCK_SIZE + "."); in GCMBlockCipher() 116 int bufLength = forEncryption ? BLOCK_SIZE : (BLOCK_SIZE + macSize); in init() 137 this.H = new byte[BLOCK_SIZE]; in init() 181 return ((len + bufOff) / BLOCK_SIZE) * BLOCK_SIZE; in getUpdateOutputSize() 202 gCTRBlock(bufBlock, BLOCK_SIZE, out, outOff + resultLen); in processBytes() 205 System.arraycopy(bufBlock, BLOCK_SIZE, bufBlock, 0, macSize); in processBytes() 208 bufOff = bufBlock.length - BLOCK_SIZE; in processBytes() [all …]
|
/external/grub/stage2/ |
D | fsys_minix.c | 41 #define BLOCK_SIZE (1<<BLOCK_SIZE_BITS) macro 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, in minix_rdfsb() 196 BLOCK_SIZE, (char *) buffer); in minix_rdfsb() 258 offset = filepos & (BLOCK_SIZE - 1); in minix_read() 266 size = BLOCK_SIZE; in minix_read() [all …]
|
D | fsys_vstafs.c | 52 || ! devread (0, 0, BLOCK_SIZE, (char *) FSYS_BUF) in vstafs_mount() 62 devread (sector, 0, BLOCK_SIZE, (char *) FILE_INFO); in get_file_info()
|
D | vstafs.h | 26 #define BLOCK_SIZE 512 macro
|
D | fsys_ext2fs.c | 31 #define BLOCK_SIZE 1024 /* initial block size for superblock read */ macro 35 #define SBLOCK (WHICH_SUPER * BLOCK_SIZE / DEV_BSIZE) /* = 2 */
|
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/engines/ |
D | DESedeEngine.java | 13 protected static final int BLOCK_SIZE = 8; field in DESedeEngine 81 return BLOCK_SIZE; in getBlockSize() 95 if ((inOff + BLOCK_SIZE) > in.length) in processBlock() 100 if ((outOff + BLOCK_SIZE) > out.length) in processBlock() 105 byte[] temp = new byte[BLOCK_SIZE]; in processBlock() 120 return BLOCK_SIZE; in processBlock()
|
D | BlowfishEngine.java | 299 private static final int BLOCK_SIZE = 8; // bytes = 64 bits field in BlowfishEngine 359 if ((inOff + BLOCK_SIZE) > in.length) in processBlock() 364 if ((outOff + BLOCK_SIZE) > out.length) in processBlock() 378 return BLOCK_SIZE; in processBlock() 387 return BLOCK_SIZE; in getBlockSize()
|
D | DESEngine.java | 14 protected static final int BLOCK_SIZE = 8; field in DESEngine 60 return BLOCK_SIZE; in getBlockSize() 74 if ((inOff + BLOCK_SIZE) > in.length) in processBlock() 79 if ((outOff + BLOCK_SIZE) > out.length) in processBlock() 86 return BLOCK_SIZE; in processBlock()
|
D | TwofishEngine.java | 193 private static final int BLOCK_SIZE = 16; // bytes = 128 bits field in TwofishEngine 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) in processBlock() 304 if ((outOff + BLOCK_SIZE) > out.length) in processBlock() 318 return BLOCK_SIZE; in processBlock() 331 return BLOCK_SIZE; in getBlockSize()
|
D | RC2Engine.java | 55 private static final int BLOCK_SIZE = 8; field in RC2Engine 156 return BLOCK_SIZE; in getBlockSize() 170 if ((inOff + BLOCK_SIZE) > in.length) in processBlock() 175 if ((outOff + BLOCK_SIZE) > out.length) in processBlock() 189 return BLOCK_SIZE; in processBlock()
|
D | AESFastEngine.java | 669 private static final int BLOCK_SIZE = 16; field in AESFastEngine 707 return BLOCK_SIZE; in getBlockSize() 744 return BLOCK_SIZE; in processBlock()
|
D | AESEngine.java | 338 private static final int BLOCK_SIZE = 16; field in AESEngine 376 return BLOCK_SIZE; in getBlockSize() 413 return BLOCK_SIZE; in processBlock()
|
/external/webkit/JavaScriptCore/runtime/ |
D | Collector.cpp | 166 userChunk = UserHeap::ChunkHeap(0, 0, MAX_NUM_BLOCKS * BLOCK_SIZE, BLOCK_SIZE, BLOCK_SIZE); in Heap() 222 …vm_map(current_task(), &address, BLOCK_SIZE, BLOCK_OFFSET_MASK, VM_FLAGS_ANYWHERE | VM_TAG_FOR_COL… in allocateBlock() 225 unsigned char* mask = reinterpret_cast<unsigned char*>(userChunk->Alloc(BLOCK_SIZE)); in allocateBlock() 230 void* address = VirtualAlloc(NULL, BLOCK_SIZE, MEM_COMMIT | MEM_RESERVE, PAGE_READWRITE); in allocateBlock() 233 void* address = __mingw_aligned_malloc(BLOCK_SIZE, BLOCK_SIZE); in allocateBlock() 235 void* address = _aligned_malloc(BLOCK_SIZE, BLOCK_SIZE); in allocateBlock() 237 memset(address, 0, BLOCK_SIZE); in allocateBlock() 240 posix_memalign(&address, BLOCK_SIZE, BLOCK_SIZE); in allocateBlock() 249 if (BLOCK_SIZE > pagesize) in allocateBlock() 250 extra = BLOCK_SIZE - pagesize; in allocateBlock() [all …]
|
D | 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) …
|
/external/bluetooth/glib/tests/ |
D | base64-test.c | 11 #define BLOCK_SIZE 32 macro 35 block_size = MIN (BLOCK_SIZE, length - input_len); in test_incremental() 59 int chunk_len = MIN (BLOCK_SIZE, len); in test_incremental()
|
/external/yaffs2/yaffs2/direct/ |
D | yaffs_fileem2k.h | 27 #define BLOCK_SIZE (PAGES_PER_BLOCK * (PAGE_SIZE)) macro 39 #define BLOCK_SIZE (PAGES_PER_BLOCK * (PAGE_SIZE)) macro
|
D | yaffs_fileem2k.c | 70 static char dummyBuffer[BLOCK_SIZE]; 85 requiredSize = BLOCKS_PER_HANDLE * BLOCK_SIZE; in GetBlockFileHandle() 88 if(write(h,dummyBuffer,BLOCK_SIZE) != BLOCK_SIZE) in GetBlockFileHandle()
|
D | yaffs_fileem.c | 37 #define BLOCK_SIZE (32 * 528) macro
|
D | yaffs_ramdisk.c | 33 #define BLOCK_SIZE (32 * 528) macro
|
D | yaffs_flashif.c | 31 #define BLOCK_SIZE (32 * 528) macro
|
/external/wpa_supplicant_6/wpa_supplicant/tests/ |
D | test_aes.c | 21 #define BLOCK_SIZE 16 macro 71 u8 data[sizeof(msg)], tag[BLOCK_SIZE]; in test_eax() 84 if (memcmp(tag, cipher + sizeof(data), BLOCK_SIZE) != 0) { in test_eax()
|
/external/wpa_supplicant/tests/ |
D | test_aes.c | 21 #define BLOCK_SIZE 16 macro 71 u8 data[sizeof(msg)], tag[BLOCK_SIZE]; in test_eax() 84 if (memcmp(tag, cipher + sizeof(data), BLOCK_SIZE) != 0) { in test_eax()
|
/external/kernel-headers/original/linux/raid/ |
D | md_p.h | 46 #define MD_RESERVED_BLOCKS (MD_RESERVED_BYTES / BLOCK_SIZE) 53 #define MD_SB_BLOCKS (MD_SB_BYTES / BLOCK_SIZE)
|