/external/ipsec-tools/src/racoon/missing/crypto/rijndael/ |
D | rijndael-alg-fst.c | 36 int rijndaelKeySched(word8 k[MAXKC][4], word8 W[MAXROUNDS+1][4][4], int ROUNDS) { in rijndaelKeySched() argument 46 int KC = ROUNDS - 6; in rijndaelKeySched() 54 for (j = 0; (j < KC) && (r < ROUNDS + 1); ) { in rijndaelKeySched() 64 while (r < ROUNDS + 1) { /* while not enough round key material calculated */ in rijndaelKeySched() 89 for (j = 0; (j < KC) && (r < ROUNDS + 1); ) { in rijndaelKeySched() 103 int rijndaelKeyEncToDec(word8 W[MAXROUNDS+1][4][4], int ROUNDS) { in rijndaelKeyEncToDec() argument 107 for (r = 1; r < ROUNDS; r++) { in rijndaelKeyEncToDec() 142 int rijndaelEncrypt(word8 in[16], word8 out[16], word8 rk[MAXROUNDS+1][4][4], int ROUNDS) { in rijndaelEncrypt() argument 178 for (r = 1; r < ROUNDS-1; r++) { in rijndaelEncrypt() 202 *((word32*)temp[0]) = *((word32*)(b )) ^ *((word32*)rk[ROUNDS-1][0]); in rijndaelEncrypt() [all …]
|
D | rijndael-alg-fst.h | 19 …jndaelKeySched(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 …jndaelEncrypt(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… 29 …jndaelDecrypt(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…
|
D | rijndael-api-fst.c | 64 key->ROUNDS = keyLen/32 + 6; in rijndael_makeKey() 71 rijndaelKeySched(k, key->keySched, key->ROUNDS); in rijndael_makeKey() 73 rijndaelKeyEncToDec(key->keySched, key->ROUNDS); in rijndael_makeKey() 112 rijndaelEncrypt(input, outBuffer, key->keySched, key->ROUNDS); in rijndael_blockEncrypt() 132 rijndaelEncrypt(block, outBuffer, key->keySched, key->ROUNDS); in rijndael_blockEncrypt() 149 rijndaelEncrypt(block, outBuffer, key->keySched, key->ROUNDS); in rijndael_blockEncrypt() 169 rijndaelEncrypt(block, block, key->keySched, key->ROUNDS); in rijndael_blockEncrypt() 226 rijndaelEncrypt(input, outBuffer, key->keySched, key->ROUNDS); in rijndael_padEncrypt() 236 rijndaelEncrypt(block, outBuffer, key->keySched, key->ROUNDS); in rijndael_padEncrypt() 246 rijndaelEncrypt(block, outBuffer, key->keySched, key->ROUNDS); in rijndael_padEncrypt() [all …]
|
D | rijndael-api-fst.h | 58 int ROUNDS; /* key-length-dependent number of rounds */ member
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/cipher/ |
D | BlowFish.java | 168 private static final int ROUNDS = 16; field in BlowFish 171 private static final int P_SZ = ROUNDS + 2; 257 for (int i = 1; i < ROUNDS; i += 2) in processTable() 263 xr ^= P[ROUNDS + 1]; in processTable() 353 for (int i = 1; i < ROUNDS; i += 2) in encryptBlock() 359 xr ^= P[ROUNDS + 1]; in encryptBlock() 375 xl ^= P[ROUNDS + 1]; in decryptBlock() 377 for (int i = ROUNDS; i > 0; i -= 2) in decryptBlock()
|
D | AES.java | 428 ROUNDS = KC + 6; // This is not always true for the generalized in generateWorkingKey() 430 int[][] W = new int[ROUNDS + 1][4]; // 4 words in a block in generateWorkingKey() 448 int k = (ROUNDS + 1) << 2; in generateWorkingKey() 466 for (int j = 1; j < ROUNDS; j++) in generateWorkingKey() 478 private int ROUNDS; field in AES 615 for (r = 1; r < ROUNDS - 1;) in encryptBlock() 650 C0 ^= KW[ROUNDS][0]; in decryptBlock() 651 C1 ^= KW[ROUNDS][1]; in decryptBlock() 652 C2 ^= KW[ROUNDS][2]; in decryptBlock() 653 C3 ^= KW[ROUNDS][3]; in decryptBlock() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/ |
D | BlowfishEngine.java | 298 private static final int ROUNDS = 16; field in BlowfishEngine 301 private static final int P_SZ = ROUNDS+2; 414 for (int i = 1; i < ROUNDS; i += 2) in processTable() 420 xr ^= P[ROUNDS + 1]; in processTable() 521 for (int i = 1; i < ROUNDS; i += 2) in encryptBlock() 527 xr ^= P[ROUNDS + 1]; in encryptBlock() 547 xl ^= P[ROUNDS + 1]; in decryptBlock() 549 for (int i = ROUNDS; i > 0 ; i -= 2) in decryptBlock()
|
D | AESFastEngine.java | 615 …ROUNDS = KC + 6; // This is not always true for the generalized Rijndael that allows larger block… in generateWorkingKey() 616 int[][] W = new int[ROUNDS+1][4]; // 4 words in a block in generateWorkingKey() 635 int k = (ROUNDS + 1) << 2; in generateWorkingKey() 653 for (int j = 1; j < ROUNDS; j++) in generateWorkingKey() 665 private int ROUNDS; field in AESFastEngine 818 while (r < ROUNDS - 1) in encryptBlock() 848 C0 ^= KW[ROUNDS][0]; in decryptBlock() 849 C1 ^= KW[ROUNDS][1]; in decryptBlock() 850 C2 ^= KW[ROUNDS][2]; in decryptBlock() 851 C3 ^= KW[ROUNDS][3]; in decryptBlock() [all …]
|
D | AESEngine.java | 281 …ROUNDS = KC + 6; // This is not always true for the generalized Rijndael that allows larger block… in generateWorkingKey() 282 int[][] W = new int[ROUNDS+1][4]; // 4 words in a block in generateWorkingKey() 301 int k = (ROUNDS + 1) << 2; in generateWorkingKey() 319 for (int j = 1; j < ROUNDS; j++) in generateWorkingKey() 331 private int ROUNDS; field in AESEngine 484 while (r < ROUNDS - 1) in encryptBlock() 514 C0 ^= KW[ROUNDS][0]; in decryptBlock() 515 C1 ^= KW[ROUNDS][1]; in decryptBlock() 516 C2 ^= KW[ROUNDS][2]; in decryptBlock() 517 C3 ^= KW[ROUNDS][3]; in decryptBlock() [all …]
|
D | TwofishEngine.java | 191 private static final int ROUNDS = 16; field in TwofishEngine 457 for (int r = 0; r < ROUNDS; r +=2) in encryptBlock() 494 int k = ROUND_SUBKEYS + 2 * ROUNDS -1 ; in decryptBlock() 496 for (int r = 0; r< ROUNDS ; r +=2) in decryptBlock()
|
/external/srec/config/en.us/dictionary/ |
D | c0.6 | 97834 ROUNDS R AW1 N D Z 97835 ROUNDS(2) R AW1 N Z
|