OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ROUNDS
(Results
1 - 12
of
12
) sorted by null
/external/ipsec-tools/src/racoon/missing/crypto/rijndael/
rijndael-alg-fst.h
19
int rijndaelKeySched(u_int8_t k[RIJNDAEL_MAXKC][4], u_int8_t rk[RIJNDAEL_MAXROUNDS+1][4][4], int
ROUNDS
);
21
int rijndaelKeyEncToDec(u_int8_t W[RIJNDAEL_MAXROUNDS+1][4][4], int
ROUNDS
);
23
int rijndaelEncrypt(u_int8_t a[16], u_int8_t b[16], u_int8_t rk[RIJNDAEL_MAXROUNDS+1][4][4], int
ROUNDS
);
26
int rijndaelEncryptRound(u_int8_t a[4][4], u_int8_t rk[RIJNDAEL_MAXROUNDS+1][4][4], int
ROUNDS
, int
rounds
);
29
int rijndaelDecrypt(u_int8_t a[16], u_int8_t b[16], u_int8_t rk[RIJNDAEL_MAXROUNDS+1][4][4], int
ROUNDS
);
32
int rijndaelDecryptRound(u_int8_t a[4][4], u_int8_t rk[RIJNDAEL_MAXROUNDS+1][4][4], int
ROUNDS
, int
rounds
);
rijndael-alg-fst.c
36
int rijndaelKeySched(word8 k[MAXKC][4], word8 W[MAXROUNDS+1][4][4], int
ROUNDS
) {
46
int KC =
ROUNDS
- 6;
54
for (j = 0; (j < KC) && (r <
ROUNDS
+ 1); ) {
64
while (r <
ROUNDS
+ 1) { /* while not enough round key material calculated */
89
for (j = 0; (j < KC) && (r <
ROUNDS
+ 1); ) {
103
int rijndaelKeyEncToDec(word8 W[MAXROUNDS+1][4][4], int
ROUNDS
) {
107
for (r = 1; r <
ROUNDS
; r++) {
142
int rijndaelEncrypt(word8 in[16], word8 out[16], word8 rk[MAXROUNDS+1][4][4], int
ROUNDS
) {
178
for (r = 1; r <
ROUNDS
-1; r++) {
202
*((word32*)temp[0]) = *((word32*)(b )) ^ *((word32*)rk[
ROUNDS
-1][0])
[
all
...]
rijndael-api-fst.c
64
key->
ROUNDS
= keyLen/32 + 6;
71
rijndaelKeySched(k, key->keySched, key->
ROUNDS
);
73
rijndaelKeyEncToDec(key->keySched, key->
ROUNDS
);
112
rijndaelEncrypt(input, outBuffer, key->keySched, key->
ROUNDS
);
132
rijndaelEncrypt(block, outBuffer, key->keySched, key->
ROUNDS
);
149
rijndaelEncrypt(block, outBuffer, key->keySched, key->
ROUNDS
);
169
rijndaelEncrypt(block, block, key->keySched, key->
ROUNDS
);
226
rijndaelEncrypt(input, outBuffer, key->keySched, key->
ROUNDS
);
236
rijndaelEncrypt(block, outBuffer, key->keySched, key->
ROUNDS
);
246
rijndaelEncrypt(block, outBuffer, key->keySched, key->
ROUNDS
);
[
all
...]
rijndael-api-fst.h
58
int
ROUNDS
; /* key-length-dependent number of
rounds
*/
102
u_int8_t *input, int inputLen, u_int8_t *outBuffer, int
Rounds
);
/frameworks/base/tools/obbtool/
pbkdf2gen.cpp
33
#define
ROUNDS
1024
62
ROUNDS
, KEY_BITS, rawKey) != 1) {
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/engines/
AESEngine.java
111
// precomputation tables of calculations for
rounds
283
ROUNDS
= KC + 6; // This is not always true for the generalized Rijndael that allows larger block sizes
284
int[][] W = new int[
ROUNDS
+1][4]; // 4 words in a block
303
int k = (
ROUNDS
+ 1) << 2;
321
for (int j = 1; j <
ROUNDS
; j++)
333
private int
ROUNDS
;
486
while (r <
ROUNDS
- 1)
516
C0 ^= KW[
ROUNDS
][0];
517
C1 ^= KW[
ROUNDS
][1];
518
C2 ^= KW[
ROUNDS
][2]
[
all
...]
BlowfishEngine.java
298
private static final int
ROUNDS
= 16;
301
private static final int P_SZ =
ROUNDS
+2;
414
for (int i = 1; i <
ROUNDS
; i += 2)
420
xr ^= P[
ROUNDS
+ 1];
521
for (int i = 1; i <
ROUNDS
; i += 2)
527
xr ^= P[
ROUNDS
+ 1];
547
xl ^= P[
ROUNDS
+ 1];
549
for (int i =
ROUNDS
; i > 0 ; i -= 2)
AESFastEngine.java
111
// precomputation tables of calculations for
rounds
[
all
...]
TwofishEngine.java
191
private static final int
ROUNDS
= 16;
455
for (int r = 0; r <
ROUNDS
; r +=2)
492
int k = ROUND_SUBKEYS + 2 *
ROUNDS
-1 ;
494
for (int r = 0; r<
ROUNDS
; r +=2)
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/cipher/
BlowFish.java
168
private static final int
ROUNDS
= 16;
171
private static final int P_SZ =
ROUNDS
+ 2;
257
for (int i = 1; i <
ROUNDS
; i += 2)
263
xr ^= P[
ROUNDS
+ 1];
353
for (int i = 1; i <
ROUNDS
; i += 2)
359
xr ^= P[
ROUNDS
+ 1];
375
xl ^= P[
ROUNDS
+ 1];
377
for (int i =
ROUNDS
; i > 0; i -= 2)
AES.java
128
// precomputation tables of calculations for
rounds
[
all
...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
com.ibm.icu_4.2.1.v20100412.jar
Completed in 157 milliseconds