Home
last modified time | relevance | path

Searched refs:expandedKey (Results 1 – 25 of 200) sorted by relevance

12345678

/dports/lang/micropython/micropython-1.17/drivers/cc3000/src/
H A Dsecurity.c114 expandedKey[ii*16 + 4] = expandedKey[(ii-1)*16 + 4]^expandedKey[ii*16 + 0]; in expandKey()
115 expandedKey[ii*16 + 5] = expandedKey[(ii-1)*16 + 5]^expandedKey[ii*16 + 1]; in expandKey()
116 expandedKey[ii*16 + 6] = expandedKey[(ii-1)*16 + 6]^expandedKey[ii*16 + 2]; in expandKey()
117 expandedKey[ii*16 + 7] = expandedKey[(ii-1)*16 + 7]^expandedKey[ii*16 + 3]; in expandKey()
118 expandedKey[ii*16 + 8] = expandedKey[(ii-1)*16 + 8]^expandedKey[ii*16 + 4]; in expandKey()
119 expandedKey[ii*16 + 9] = expandedKey[(ii-1)*16 + 9]^expandedKey[ii*16 + 5]; in expandKey()
120 expandedKey[ii*16 +10] = expandedKey[(ii-1)*16 +10]^expandedKey[ii*16 + 6]; in expandKey()
121 expandedKey[ii*16 +11] = expandedKey[(ii-1)*16 +11]^expandedKey[ii*16 + 7]; in expandKey()
122 expandedKey[ii*16 +12] = expandedKey[(ii-1)*16 +12]^expandedKey[ii*16 + 8]; in expandKey()
123 expandedKey[ii*16 +13] = expandedKey[(ii-1)*16 +13]^expandedKey[ii*16 + 9]; in expandKey()
[all …]
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.base/share/classes/com/sun/crypto/provider/
H A DRC2Crypt.java84 private final int[] expandedKey; field in RC2Crypt
90 expandedKey = new int[64]; in RC2Crypt()
157 expandedKey[i] = t; in init()
192 R0 += expandedKey[R3 & 0x3f]; in encryptBlock()
193 R1 += expandedKey[R0 & 0x3f]; in encryptBlock()
194 R2 += expandedKey[R1 & 0x3f]; in encryptBlock()
195 R3 += expandedKey[R2 & 0x3f]; in encryptBlock()
213 R0 += expandedKey[R3 & 0x3f]; in encryptBlock()
214 R1 += expandedKey[R0 & 0x3f]; in encryptBlock()
215 R2 += expandedKey[R1 & 0x3f]; in encryptBlock()
[all …]
H A DDESedeCrypt.java78 System.arraycopy(expandedKey, 0, key1, 0, 128); in init()
88 System.arraycopy(expandedKey, 0, key3, 0, 128); in init()
95 System.arraycopy(expandedKey, 0, key2, 0, 128); in init()
116 expandedKey = key1; in encryptBlock()
120 expandedKey = key2; in encryptBlock()
124 expandedKey = key3; in encryptBlock()
146 expandedKey = key3; in decryptBlock()
150 expandedKey = key2; in decryptBlock()
154 expandedKey = key1; in decryptBlock()
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/com/sun/crypto/provider/
H A DRC2Crypt.java84 private final int[] expandedKey; field in RC2Crypt
90 expandedKey = new int[64]; in RC2Crypt()
157 expandedKey[i] = t; in init()
192 R0 += expandedKey[R3 & 0x3f]; in encryptBlock()
193 R1 += expandedKey[R0 & 0x3f]; in encryptBlock()
194 R2 += expandedKey[R1 & 0x3f]; in encryptBlock()
195 R3 += expandedKey[R2 & 0x3f]; in encryptBlock()
213 R0 += expandedKey[R3 & 0x3f]; in encryptBlock()
214 R1 += expandedKey[R0 & 0x3f]; in encryptBlock()
215 R2 += expandedKey[R1 & 0x3f]; in encryptBlock()
[all …]
H A DDESedeCrypt.java78 System.arraycopy(expandedKey, 0, key1, 0, 128); in init()
88 System.arraycopy(expandedKey, 0, key3, 0, 128); in init()
95 System.arraycopy(expandedKey, 0, key2, 0, 128); in init()
116 expandedKey = key1; in encryptBlock()
120 expandedKey = key2; in encryptBlock()
124 expandedKey = key3; in encryptBlock()
146 expandedKey = key3; in decryptBlock()
150 expandedKey = key2; in decryptBlock()
154 expandedKey = key1; in decryptBlock()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.base/share/classes/com/sun/crypto/provider/
H A DRC2Crypt.java84 private final int[] expandedKey; field in RC2Crypt
90 expandedKey = new int[64]; in RC2Crypt()
157 expandedKey[i] = t; in init()
192 R0 += expandedKey[R3 & 0x3f]; in encryptBlock()
193 R1 += expandedKey[R0 & 0x3f]; in encryptBlock()
194 R2 += expandedKey[R1 & 0x3f]; in encryptBlock()
195 R3 += expandedKey[R2 & 0x3f]; in encryptBlock()
213 R0 += expandedKey[R3 & 0x3f]; in encryptBlock()
214 R1 += expandedKey[R0 & 0x3f]; in encryptBlock()
215 R2 += expandedKey[R1 & 0x3f]; in encryptBlock()
[all …]
H A DDESedeCrypt.java78 System.arraycopy(expandedKey, 0, key1, 0, 128); in init()
88 System.arraycopy(expandedKey, 0, key3, 0, 128); in init()
95 System.arraycopy(expandedKey, 0, key2, 0, 128); in init()
116 expandedKey = key1; in encryptBlock()
120 expandedKey = key2; in encryptBlock()
124 expandedKey = key3; in encryptBlock()
146 expandedKey = key3; in decryptBlock()
150 expandedKey = key2; in decryptBlock()
154 expandedKey = key1; in decryptBlock()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/java.base/share/classes/com/sun/crypto/provider/
H A DRC2Crypt.java84 private final int[] expandedKey; field in RC2Crypt
90 expandedKey = new int[64]; in RC2Crypt()
157 expandedKey[i] = t; in init()
192 R0 += expandedKey[R3 & 0x3f]; in encryptBlock()
193 R1 += expandedKey[R0 & 0x3f]; in encryptBlock()
194 R2 += expandedKey[R1 & 0x3f]; in encryptBlock()
195 R3 += expandedKey[R2 & 0x3f]; in encryptBlock()
213 R0 += expandedKey[R3 & 0x3f]; in encryptBlock()
214 R1 += expandedKey[R0 & 0x3f]; in encryptBlock()
215 R2 += expandedKey[R1 & 0x3f]; in encryptBlock()
[all …]
H A DDESedeCrypt.java78 System.arraycopy(expandedKey, 0, key1, 0, 128); in init()
88 System.arraycopy(expandedKey, 0, key3, 0, 128); in init()
95 System.arraycopy(expandedKey, 0, key2, 0, 128); in init()
116 expandedKey = key1; in encryptBlock()
120 expandedKey = key2; in encryptBlock()
124 expandedKey = key3; in encryptBlock()
146 expandedKey = key3; in decryptBlock()
150 expandedKey = key2; in decryptBlock()
154 expandedKey = key1; in decryptBlock()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/java.base/share/classes/com/sun/crypto/provider/
H A DRC2Crypt.java84 private final int[] expandedKey; field in RC2Crypt
90 expandedKey = new int[64]; in RC2Crypt()
157 expandedKey[i] = t; in init()
192 R0 += expandedKey[R3 & 0x3f]; in encryptBlock()
193 R1 += expandedKey[R0 & 0x3f]; in encryptBlock()
194 R2 += expandedKey[R1 & 0x3f]; in encryptBlock()
195 R3 += expandedKey[R2 & 0x3f]; in encryptBlock()
213 R0 += expandedKey[R3 & 0x3f]; in encryptBlock()
214 R1 += expandedKey[R0 & 0x3f]; in encryptBlock()
215 R2 += expandedKey[R1 & 0x3f]; in encryptBlock()
[all …]
H A DDESedeCrypt.java78 System.arraycopy(expandedKey, 0, key1, 0, 128); in init()
88 System.arraycopy(expandedKey, 0, key3, 0, 128); in init()
95 System.arraycopy(expandedKey, 0, key2, 0, 128); in init()
116 expandedKey = key1; in encryptBlock()
120 expandedKey = key2; in encryptBlock()
124 expandedKey = key3; in encryptBlock()
146 expandedKey = key3; in decryptBlock()
150 expandedKey = key2; in decryptBlock()
154 expandedKey = key1; in decryptBlock()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.base/share/classes/com/sun/crypto/provider/
H A DRC2Crypt.java84 private final int[] expandedKey; field in RC2Crypt
90 expandedKey = new int[64]; in RC2Crypt()
157 expandedKey[i] = t; in init()
192 R0 += expandedKey[R3 & 0x3f]; in encryptBlock()
193 R1 += expandedKey[R0 & 0x3f]; in encryptBlock()
194 R2 += expandedKey[R1 & 0x3f]; in encryptBlock()
195 R3 += expandedKey[R2 & 0x3f]; in encryptBlock()
213 R0 += expandedKey[R3 & 0x3f]; in encryptBlock()
214 R1 += expandedKey[R0 & 0x3f]; in encryptBlock()
215 R2 += expandedKey[R1 & 0x3f]; in encryptBlock()
[all …]
H A DDESedeCrypt.java78 System.arraycopy(expandedKey, 0, key1, 0, 128); in init()
88 System.arraycopy(expandedKey, 0, key3, 0, 128); in init()
95 System.arraycopy(expandedKey, 0, key2, 0, 128); in init()
116 expandedKey = key1; in encryptBlock()
120 expandedKey = key2; in encryptBlock()
124 expandedKey = key3; in encryptBlock()
146 expandedKey = key3; in decryptBlock()
150 expandedKey = key2; in decryptBlock()
154 expandedKey = key1; in decryptBlock()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.base/share/classes/com/sun/crypto/provider/
H A DRC2Crypt.java84 private final int[] expandedKey; field in RC2Crypt
90 expandedKey = new int[64]; in RC2Crypt()
157 expandedKey[i] = t; in init()
192 R0 += expandedKey[R3 & 0x3f]; in encryptBlock()
193 R1 += expandedKey[R0 & 0x3f]; in encryptBlock()
194 R2 += expandedKey[R1 & 0x3f]; in encryptBlock()
195 R3 += expandedKey[R2 & 0x3f]; in encryptBlock()
213 R0 += expandedKey[R3 & 0x3f]; in encryptBlock()
214 R1 += expandedKey[R0 & 0x3f]; in encryptBlock()
215 R2 += expandedKey[R1 & 0x3f]; in encryptBlock()
[all …]
H A DDESedeCrypt.java78 System.arraycopy(expandedKey, 0, key1, 0, 128); in init()
88 System.arraycopy(expandedKey, 0, key3, 0, 128); in init()
95 System.arraycopy(expandedKey, 0, key2, 0, 128); in init()
116 expandedKey = key1; in encryptBlock()
120 expandedKey = key2; in encryptBlock()
124 expandedKey = key3; in encryptBlock()
146 expandedKey = key3; in decryptBlock()
150 expandedKey = key2; in decryptBlock()
154 expandedKey = key1; in decryptBlock()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/java.base/share/classes/com/sun/crypto/provider/
H A DRC2Crypt.java84 private final int[] expandedKey; field in RC2Crypt
90 expandedKey = new int[64]; in RC2Crypt()
157 expandedKey[i] = t; in init()
192 R0 += expandedKey[R3 & 0x3f]; in encryptBlock()
193 R1 += expandedKey[R0 & 0x3f]; in encryptBlock()
194 R2 += expandedKey[R1 & 0x3f]; in encryptBlock()
195 R3 += expandedKey[R2 & 0x3f]; in encryptBlock()
213 R0 += expandedKey[R3 & 0x3f]; in encryptBlock()
214 R1 += expandedKey[R0 & 0x3f]; in encryptBlock()
215 R2 += expandedKey[R1 & 0x3f]; in encryptBlock()
[all …]
H A DDESedeCrypt.java78 System.arraycopy(expandedKey, 0, key1, 0, 128); in init()
88 System.arraycopy(expandedKey, 0, key3, 0, 128); in init()
95 System.arraycopy(expandedKey, 0, key2, 0, 128); in init()
116 expandedKey = key1; in encryptBlock()
120 expandedKey = key2; in encryptBlock()
124 expandedKey = key3; in encryptBlock()
146 expandedKey = key3; in decryptBlock()
150 expandedKey = key2; in decryptBlock()
154 expandedKey = key1; in decryptBlock()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/java.base/share/classes/com/sun/crypto/provider/
H A DRC2Crypt.java84 private final int[] expandedKey; field in RC2Crypt
90 expandedKey = new int[64]; in RC2Crypt()
157 expandedKey[i] = t; in init()
192 R0 += expandedKey[R3 & 0x3f]; in encryptBlock()
193 R1 += expandedKey[R0 & 0x3f]; in encryptBlock()
194 R2 += expandedKey[R1 & 0x3f]; in encryptBlock()
195 R3 += expandedKey[R2 & 0x3f]; in encryptBlock()
213 R0 += expandedKey[R3 & 0x3f]; in encryptBlock()
214 R1 += expandedKey[R0 & 0x3f]; in encryptBlock()
215 R2 += expandedKey[R1 & 0x3f]; in encryptBlock()
[all …]
H A DDESedeCrypt.java78 System.arraycopy(expandedKey, 0, key1, 0, 128); in init()
88 System.arraycopy(expandedKey, 0, key3, 0, 128); in init()
95 System.arraycopy(expandedKey, 0, key2, 0, 128); in init()
116 expandedKey = key1; in encryptBlock()
120 expandedKey = key2; in encryptBlock()
124 expandedKey = key3; in encryptBlock()
146 expandedKey = key3; in decryptBlock()
150 expandedKey = key2; in decryptBlock()
154 expandedKey = key1; in decryptBlock()
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/com/sun/crypto/provider/
H A DRC2Crypt.java84 private final int[] expandedKey; field in RC2Crypt
90 expandedKey = new int[64]; in RC2Crypt()
157 expandedKey[i] = t; in init()
192 R0 += expandedKey[R3 & 0x3f]; in encryptBlock()
193 R1 += expandedKey[R0 & 0x3f]; in encryptBlock()
194 R2 += expandedKey[R1 & 0x3f]; in encryptBlock()
195 R3 += expandedKey[R2 & 0x3f]; in encryptBlock()
213 R0 += expandedKey[R3 & 0x3f]; in encryptBlock()
214 R1 += expandedKey[R0 & 0x3f]; in encryptBlock()
215 R2 += expandedKey[R1 & 0x3f]; in encryptBlock()
[all …]
H A DDESedeCrypt.java78 System.arraycopy(expandedKey, 0, key1, 0, 128); in init()
88 System.arraycopy(expandedKey, 0, key3, 0, 128); in init()
95 System.arraycopy(expandedKey, 0, key2, 0, 128); in init()
116 expandedKey = key1; in encryptBlock()
120 expandedKey = key2; in encryptBlock()
124 expandedKey = key3; in encryptBlock()
146 expandedKey = key3; in decryptBlock()
150 expandedKey = key2; in decryptBlock()
154 expandedKey = key1; in decryptBlock()
/dports/security/john/john-1.9.0-jumbo-1/src/aes/aesni/
H A Dintel_aes.c58 aesData.expanded_key = expandedKey; in intel_AES_enc128()
61 iEncExpandKey128(key,expandedKey); in intel_AES_enc128()
72 aesData.expanded_key = expandedKey; in intel_AES_enc128_CBC()
76 iEncExpandKey128(key,expandedKey); in intel_AES_enc128_CBC()
87 aesData.expanded_key = expandedKey; in intel_AES_enc192()
90 iEncExpandKey192(key,expandedKey); in intel_AES_enc192()
105 iEncExpandKey192(key,expandedKey); in intel_AES_enc192_CBC()
119 iEncExpandKey256(key,expandedKey); in intel_AES_enc256()
134 iEncExpandKey256(key,expandedKey); in intel_AES_enc256_CBC()
148 iDecExpandKey128(key,expandedKey); in intel_AES_dec128()
[all …]
/dports/security/libgnome-keyring/libgnome-keyring-3.12.0/library/tests/mock/
H A Daes.py157 expandedKey = [0] * expandedKeySize
161 expandedKey[j] = key[j]
166 t = expandedKey[currentSize-4:currentSize]
181 expandedKey[currentSize] = expandedKey[currentSize - size] ^ \
185 return expandedKey
193 def createRoundKey(self, expandedKey, roundKeyPointer): argument
295 def aes_main(self, state, expandedKey, nbrRounds): argument
310 def aes_invMain(self, state, expandedKey, nbrRounds): argument
354 expandedKey = self.expandKey(key, size, expandedKeySize)
357 block = self.aes_main(block, expandedKey, nbrRounds)
[all …]
/dports/security/libsecret/libsecret-0.20.4/libsecret/mock/
H A Daes.py155 expandedKey = [0] * expandedKeySize
159 expandedKey[j] = key[j]
164 t = expandedKey[currentSize-4:currentSize]
179 expandedKey[currentSize] = expandedKey[currentSize - size] ^ \
183 return expandedKey
191 def createRoundKey(self, expandedKey, roundKeyPointer):
293 def aes_main(self, state, expandedKey, nbrRounds):
308 def aes_invMain(self, state, expandedKey, nbrRounds):
352 expandedKey = self.expandKey(key, size, expandedKeySize)
355 block = self.aes_main(block, expandedKey, nbrRounds)
[all …]
/dports/devel/eric6/eric6-21.11/eric/eric6/Utilities/crypto/
H A Dpy3AES.py221 expandedKey = bytearray(expandedKeySize)
225 expandedKey[j] = key[j]
230 t = expandedKey[currentSize - 4:currentSize]
249 expandedKey[currentSize] = (
250 expandedKey[currentSize - size] ^ t[m]
254 return expandedKey
269 def __createRoundKey(self, expandedKey, roundKeyPointer): argument
441 def __aes_main(self, state, expandedKey, nbrRounds): argument
455 state, self.__createRoundKey(expandedKey, 0))
467 def __aes_invMain(self, state, expandedKey, nbrRounds): argument
[all …]

12345678