Home
last modified time | relevance | path

Searched refs:BLOCK_SIZE (Results 1 – 25 of 30) sorted by relevance

12

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
DGCMBlockCipher.java24 private static final int BLOCK_SIZE = 16; field in GCMBlockCipher
58 if (c.getBlockSize() != BLOCK_SIZE) in GCMBlockCipher()
61 "cipher required with a block size of " + BLOCK_SIZE + "."); in GCMBlockCipher()
122 int bufLength = forEncryption ? BLOCK_SIZE : (BLOCK_SIZE + macSize); in init()
140 this.H = new byte[BLOCK_SIZE]; in init()
148 this.J0 = new byte[BLOCK_SIZE]; in init()
153 this.J0[BLOCK_SIZE - 1] = 0x01; in init()
158 byte[] X = new byte[BLOCK_SIZE]; in init()
163 this.S = new byte[BLOCK_SIZE]; in init()
164 this.S_at = new byte[BLOCK_SIZE]; in init()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/
DOpenSSLDigest.java128 private static final int BLOCK_SIZE = NativeCrypto.EVP_MD_block_size(EVP_MD); field in OpenSSLDigest.MD5
129 public MD5() { super("MD5", EVP_MD, SIZE, BLOCK_SIZE); } in MD5()
135 private static final int BLOCK_SIZE = NativeCrypto.EVP_MD_block_size(EVP_MD); field in OpenSSLDigest.SHA1
136 public SHA1() { super("SHA-1", EVP_MD, SIZE, BLOCK_SIZE); } in SHA1()
142 private static final int BLOCK_SIZE = NativeCrypto.EVP_MD_block_size(EVP_MD); field in OpenSSLDigest.SHA256
143 public SHA256() { super("SHA-256", EVP_MD, SIZE, BLOCK_SIZE); } in SHA256()
149 private static final int BLOCK_SIZE = NativeCrypto.EVP_MD_block_size(EVP_MD); field in OpenSSLDigest.SHA384
150 public SHA384() { super("SHA-384", EVP_MD, SIZE, BLOCK_SIZE); } in SHA384()
156 private static final int BLOCK_SIZE = NativeCrypto.EVP_MD_block_size(EVP_MD); field in OpenSSLDigest.SHA512
157 public SHA512() { super("SHA-512", EVP_MD, SIZE, BLOCK_SIZE); } in SHA512()
/external/grub/stage2/
Dfsys_minix.c41 #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 …]
Dfsys_vstafs.c52 || ! devread (0, 0, BLOCK_SIZE, (char *) FSYS_BUF) in vstafs_mount()
62 devread (sector, 0, BLOCK_SIZE, (char *) FILE_INFO); in get_file_info()
Dvstafs.h26 #define BLOCK_SIZE 512 macro
Dfsys_ext2fs.c31 #define BLOCK_SIZE 1024 /* initial block size for superblock read */ macro
35 #define SBLOCK (WHICH_SUPER * BLOCK_SIZE / DEV_BSIZE) /* = 2 */
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
DDESedeEngine.java16 protected static final int BLOCK_SIZE = 8; field in DESedeEngine
84 return BLOCK_SIZE; in getBlockSize()
98 if ((inOff + BLOCK_SIZE) > in.length) in processBlock()
103 if ((outOff + BLOCK_SIZE) > out.length) in processBlock()
110 byte[] temp = new byte[BLOCK_SIZE]; in processBlock()
125 return BLOCK_SIZE; in processBlock()
DBlowfishEngine.java299 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()
DDESEngine.java14 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()
DRC2Engine.java55 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()
DTwofishEngine.java193 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()
DAESFastEngine.java670 private static final int BLOCK_SIZE = 16; field in AESFastEngine
708 return BLOCK_SIZE; in getBlockSize()
747 return BLOCK_SIZE; in processBlock()
DAESEngine.java336 private static final int BLOCK_SIZE = 16; field in AESEngine
374 return BLOCK_SIZE; in getBlockSize()
411 return BLOCK_SIZE; in processBlock()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DStatFsTest.java24 assertThat(statsFs.getBlockSize(), equalTo(ShadowStatFs.BLOCK_SIZE)); in shouldRegisterStats()
35 assertThat(statsFs.getBlockSize(), equalTo(ShadowStatFs.BLOCK_SIZE)); in shouldRegisterStatsWithFile()
44 assertThat(statsFs.getBlockSize(), equalTo(ShadowStatFs.BLOCK_SIZE)); in shouldResetStateBetweenTests()
/external/yaffs2/yaffs2/direct/
Dyaffs_fileem2k.h27 #define BLOCK_SIZE (PAGES_PER_BLOCK * (PAGE_SIZE)) macro
39 #define BLOCK_SIZE (PAGES_PER_BLOCK * (PAGE_SIZE)) macro
Dyaffs_fileem2k.c70 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()
Dyaffs_fileem.c37 #define BLOCK_SIZE (32 * 528) macro
Dyaffs_ramdisk.c33 #define BLOCK_SIZE (32 * 528) macro
Dyaffs_flashif.c31 #define BLOCK_SIZE (32 * 528) macro
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowStatFs.java14 public static final int BLOCK_SIZE = 4096; field in ShadowStatFs
25 return BLOCK_SIZE; in getBlockSize()
/external/kernel-headers/original/linux/raid/
Dmd_p.h46 #define MD_RESERVED_BLOCKS (MD_RESERVED_BYTES / BLOCK_SIZE)
53 #define MD_SB_BLOCKS (MD_SB_BYTES / BLOCK_SIZE)
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/cipher/
DBlowFish.java169 private static final int BLOCK_SIZE = 8; // bytes = 64 bits field in BlowFish
234 return BLOCK_SIZE; in getBlockSize()
DAES.java483 private static final int BLOCK_SIZE = 16; field in AES
516 return BLOCK_SIZE; in getBlockSize()
549 return BLOCK_SIZE; in processBlock()
/external/e2fsprogs/e2fsck/
DCHANGES38 Fixed dependency on BLOCK_SIZE in pass2. e2fsck will now handle 4k
/external/kernel-headers/original/linux/nfsd/
Dnfsfh.h276 fhp->fh_post_blksize = BLOCK_SIZE; in fill_post_wcc()

12