Home
last modified time | relevance | path

Searched refs:bigEndianToInt (Results 1 – 20 of 20) sorted by relevance

/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/digests/
DSHA256Digest.java77 H1 = Pack.bigEndianToInt(encodedState, 16); in SHA256Digest()
78 H2 = Pack.bigEndianToInt(encodedState, 20); in SHA256Digest()
79 H3 = Pack.bigEndianToInt(encodedState, 24); in SHA256Digest()
80 H4 = Pack.bigEndianToInt(encodedState, 28); in SHA256Digest()
81 H5 = Pack.bigEndianToInt(encodedState, 32); in SHA256Digest()
82 H6 = Pack.bigEndianToInt(encodedState, 36); in SHA256Digest()
83 H7 = Pack.bigEndianToInt(encodedState, 40); in SHA256Digest()
84 H8 = Pack.bigEndianToInt(encodedState, 44); in SHA256Digest()
86 xOff = Pack.bigEndianToInt(encodedState, 48); in SHA256Digest()
89 X[i] = Pack.bigEndianToInt(encodedState, 52 + (i * 4)); in SHA256Digest()
DSHA224Digest.java77 H1 = Pack.bigEndianToInt(encodedState, 16); in SHA224Digest()
78 H2 = Pack.bigEndianToInt(encodedState, 20); in SHA224Digest()
79 H3 = Pack.bigEndianToInt(encodedState, 24); in SHA224Digest()
80 H4 = Pack.bigEndianToInt(encodedState, 28); in SHA224Digest()
81 H5 = Pack.bigEndianToInt(encodedState, 32); in SHA224Digest()
82 H6 = Pack.bigEndianToInt(encodedState, 36); in SHA224Digest()
83 H7 = Pack.bigEndianToInt(encodedState, 40); in SHA224Digest()
84 H8 = Pack.bigEndianToInt(encodedState, 44); in SHA224Digest()
86 xOff = Pack.bigEndianToInt(encodedState, 48); in SHA224Digest()
89 X[i] = Pack.bigEndianToInt(encodedState, 52 + (i * 4)); in SHA224Digest()
DSHA1Digest.java53 H1 = Pack.bigEndianToInt(encodedState, 16); in SHA1Digest()
54 H2 = Pack.bigEndianToInt(encodedState, 20); in SHA1Digest()
55 H3 = Pack.bigEndianToInt(encodedState, 24); in SHA1Digest()
56 H4 = Pack.bigEndianToInt(encodedState, 28); in SHA1Digest()
57 H5 = Pack.bigEndianToInt(encodedState, 32); in SHA1Digest()
59 xOff = Pack.bigEndianToInt(encodedState, 36); in SHA1Digest()
62 X[i] = Pack.bigEndianToInt(encodedState, 40 + (i * 4)); in SHA1Digest()
DMD5Digest.java35 H1 = Pack.bigEndianToInt(encodedState, 16); in MD5Digest()
36 H2 = Pack.bigEndianToInt(encodedState, 20); in MD5Digest()
37 H3 = Pack.bigEndianToInt(encodedState, 24); in MD5Digest()
38 H4 = Pack.bigEndianToInt(encodedState, 28); in MD5Digest()
40 xOff = Pack.bigEndianToInt(encodedState, 32); in MD5Digest()
43 X[i] = Pack.bigEndianToInt(encodedState, 36 + (i * 4)); in MD5Digest()
DGeneralDigest.java44 xBufOff = Pack.bigEndianToInt(encodedState, 4); in GeneralDigest()
DLongDigest.java93 xBufOff = Pack.bigEndianToInt(encodedState, 8); in restoreState()
107 wOff = Pack.bigEndianToInt(encodedState, 92); in restoreState()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/
DSHA224Digest.java75 H1 = Pack.bigEndianToInt(encodedState, 16); in SHA224Digest()
76 H2 = Pack.bigEndianToInt(encodedState, 20); in SHA224Digest()
77 H3 = Pack.bigEndianToInt(encodedState, 24); in SHA224Digest()
78 H4 = Pack.bigEndianToInt(encodedState, 28); in SHA224Digest()
79 H5 = Pack.bigEndianToInt(encodedState, 32); in SHA224Digest()
80 H6 = Pack.bigEndianToInt(encodedState, 36); in SHA224Digest()
81 H7 = Pack.bigEndianToInt(encodedState, 40); in SHA224Digest()
82 H8 = Pack.bigEndianToInt(encodedState, 44); in SHA224Digest()
84 xOff = Pack.bigEndianToInt(encodedState, 48); in SHA224Digest()
87 X[i] = Pack.bigEndianToInt(encodedState, 52 + (i * 4)); in SHA224Digest()
DSHA256Digest.java75 H1 = Pack.bigEndianToInt(encodedState, 16); in SHA256Digest()
76 H2 = Pack.bigEndianToInt(encodedState, 20); in SHA256Digest()
77 H3 = Pack.bigEndianToInt(encodedState, 24); in SHA256Digest()
78 H4 = Pack.bigEndianToInt(encodedState, 28); in SHA256Digest()
79 H5 = Pack.bigEndianToInt(encodedState, 32); in SHA256Digest()
80 H6 = Pack.bigEndianToInt(encodedState, 36); in SHA256Digest()
81 H7 = Pack.bigEndianToInt(encodedState, 40); in SHA256Digest()
82 H8 = Pack.bigEndianToInt(encodedState, 44); in SHA256Digest()
84 xOff = Pack.bigEndianToInt(encodedState, 48); in SHA256Digest()
87 X[i] = Pack.bigEndianToInt(encodedState, 52 + (i * 4)); in SHA256Digest()
DSHA1Digest.java51 H1 = Pack.bigEndianToInt(encodedState, 16); in SHA1Digest()
52 H2 = Pack.bigEndianToInt(encodedState, 20); in SHA1Digest()
53 H3 = Pack.bigEndianToInt(encodedState, 24); in SHA1Digest()
54 H4 = Pack.bigEndianToInt(encodedState, 28); in SHA1Digest()
55 H5 = Pack.bigEndianToInt(encodedState, 32); in SHA1Digest()
57 xOff = Pack.bigEndianToInt(encodedState, 36); in SHA1Digest()
60 X[i] = Pack.bigEndianToInt(encodedState, 40 + (i * 4)); in SHA1Digest()
DMD5Digest.java33 H1 = Pack.bigEndianToInt(encodedState, 16); in MD5Digest()
34 H2 = Pack.bigEndianToInt(encodedState, 20); in MD5Digest()
35 H3 = Pack.bigEndianToInt(encodedState, 24); in MD5Digest()
36 H4 = Pack.bigEndianToInt(encodedState, 28); in MD5Digest()
38 xOff = Pack.bigEndianToInt(encodedState, 32); in MD5Digest()
41 X[i] = Pack.bigEndianToInt(encodedState, 36 + (i * 4)); in MD5Digest()
DGeneralDigest.java42 xBufOff = Pack.bigEndianToInt(encodedState, 4); in GeneralDigest()
DLongDigest.java91 xBufOff = Pack.bigEndianToInt(encodedState, 8); in restoreState()
105 wOff = Pack.bigEndianToInt(encodedState, 92); in restoreState()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/util/
DPack.java10 public static int bigEndianToInt(byte[] bs, int off) in bigEndianToInt() method in Pack
19 public static void bigEndianToInt(byte[] bs, int off, int[] ns) in bigEndianToInt() method in Pack
23 ns[i] = bigEndianToInt(bs, off); in bigEndianToInt()
61 int hi = bigEndianToInt(bs, off); in bigEndianToLong()
62 int lo = bigEndianToInt(bs, off + 4); in bigEndianToLong()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/
DPack.java8 public static int bigEndianToInt(byte[] bs, int off) in bigEndianToInt() method in Pack
17 public static void bigEndianToInt(byte[] bs, int off, int[] ns) in bigEndianToInt() method in Pack
21 ns[i] = bigEndianToInt(bs, off); in bigEndianToInt()
59 int hi = bigEndianToInt(bs, off); in bigEndianToLong()
60 int lo = bigEndianToInt(bs, off + 4); in bigEndianToLong()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/util/
DPack.java17 public static int bigEndianToInt(byte[] bs, int off) in bigEndianToInt() method in Pack
26 public static void bigEndianToInt(byte[] bs, int off, int[] ns) in bigEndianToInt() method in Pack
30 ns[i] = bigEndianToInt(bs, off); in bigEndianToInt()
68 int hi = bigEndianToInt(bs, off); in bigEndianToLong()
69 int lo = bigEndianToInt(bs, off + 4); in bigEndianToLong()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
DPack.java15 public static int bigEndianToInt(byte[] bs, int off) in bigEndianToInt() method in Pack
24 public static void bigEndianToInt(byte[] bs, int off, int[] ns) in bigEndianToInt() method in Pack
28 ns[i] = bigEndianToInt(bs, off); in bigEndianToInt()
66 int hi = bigEndianToInt(bs, off); in bigEndianToLong()
67 int lo = bigEndianToInt(bs, off + 4); in bigEndianToLong()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
DDESEngine.java411 left = Pack.bigEndianToInt(in, inOff); in desFunc()
412 right = Pack.bigEndianToInt(in, inOff + 4); in desFunc()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/engines/
DDESEngine.java413 left = Pack.bigEndianToInt(in, inOff); in desFunc()
414 right = Pack.bigEndianToInt(in, inOff + 4); in desFunc()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/modes/gcm/
DGCMUtil.java63 Pack.bigEndianToInt(x, 0, z); in asInts()
69 Pack.bigEndianToInt(x, 0, z); in asInts()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/gcm/
DGCMUtil.java59 Pack.bigEndianToInt(x, 0, z); in asInts()
65 Pack.bigEndianToInt(x, 0, z); in asInts()