Searched refs:rk (Results 1 - 25 of 34) sorted by relevance

12

/external/wpa_supplicant_8/hostapd/src/crypto/
H A Daes-internal-dec.c28 static int rijndaelKeySetupDec(u32 rk[], const u8 cipherKey[], int keyBits) argument
34 Nr = rijndaelKeySetupEnc(rk, cipherKey, keyBits);
39 temp = rk[i ]; rk[i ] = rk[j ]; rk[j ] = temp;
40 temp = rk[i + 1]; rk[i + 1] = rk[j + 1]; rk[
61 u32 *rk; local
152 u32 *rk = ctx; local
[all...]
H A Daes-internal-enc.c23 static void rijndaelEncrypt(const u32 rk[], int Nr, const u8 pt[16], u8 ct[16]) argument
34 s0 = GETU32(pt ) ^ rk[0];
35 s1 = GETU32(pt + 4) ^ rk[1];
36 s2 = GETU32(pt + 8) ^ rk[2];
37 s3 = GETU32(pt + 12) ^ rk[3];
40 d##0 = TE0(s##0) ^ TE1(s##1) ^ TE2(s##2) ^ TE3(s##3) ^ rk[4 * i]; \
41 d##1 = TE0(s##1) ^ TE1(s##2) ^ TE2(s##3) ^ TE3(s##0) ^ rk[4 * i + 1]; \
42 d##2 = TE0(s##2) ^ TE1(s##3) ^ TE2(s##0) ^ TE3(s##1) ^ rk[4 * i + 2]; \
43 d##3 = TE0(s##3) ^ TE1(s##0) ^ TE2(s##1) ^ TE3(s##2) ^ rk[4 * i + 3]
65 rk
100 u32 *rk; local
117 u32 *rk = ctx; local
[all...]
H A Daes-internal.c779 int rijndaelKeySetupEnc(u32 rk[], const u8 cipherKey[], int keyBits) argument
784 rk[0] = GETU32(cipherKey );
785 rk[1] = GETU32(cipherKey + 4);
786 rk[2] = GETU32(cipherKey + 8);
787 rk[3] = GETU32(cipherKey + 12);
791 temp = rk[3];
792 rk[4] = rk[0] ^ TE421(temp) ^ TE432(temp) ^
794 rk[5] = rk[
[all...]
/external/wpa_supplicant_8/src/crypto/
H A Daes-internal-dec.c28 static int rijndaelKeySetupDec(u32 rk[], const u8 cipherKey[], int keyBits) argument
34 Nr = rijndaelKeySetupEnc(rk, cipherKey, keyBits);
39 temp = rk[i ]; rk[i ] = rk[j ]; rk[j ] = temp;
40 temp = rk[i + 1]; rk[i + 1] = rk[j + 1]; rk[
61 u32 *rk; local
152 u32 *rk = ctx; local
[all...]
H A Daes-internal-enc.c23 static void rijndaelEncrypt(const u32 rk[], int Nr, const u8 pt[16], u8 ct[16]) argument
34 s0 = GETU32(pt ) ^ rk[0];
35 s1 = GETU32(pt + 4) ^ rk[1];
36 s2 = GETU32(pt + 8) ^ rk[2];
37 s3 = GETU32(pt + 12) ^ rk[3];
40 d##0 = TE0(s##0) ^ TE1(s##1) ^ TE2(s##2) ^ TE3(s##3) ^ rk[4 * i]; \
41 d##1 = TE0(s##1) ^ TE1(s##2) ^ TE2(s##3) ^ TE3(s##0) ^ rk[4 * i + 1]; \
42 d##2 = TE0(s##2) ^ TE1(s##3) ^ TE2(s##0) ^ TE3(s##1) ^ rk[4 * i + 2]; \
43 d##3 = TE0(s##3) ^ TE1(s##0) ^ TE2(s##1) ^ TE3(s##2) ^ rk[4 * i + 3]
65 rk
100 u32 *rk; local
117 u32 *rk = ctx; local
[all...]
H A Daes-internal.c779 int rijndaelKeySetupEnc(u32 rk[], const u8 cipherKey[], int keyBits) argument
784 rk[0] = GETU32(cipherKey );
785 rk[1] = GETU32(cipherKey + 4);
786 rk[2] = GETU32(cipherKey + 8);
787 rk[3] = GETU32(cipherKey + 12);
791 temp = rk[3];
792 rk[4] = rk[0] ^ TE421(temp) ^ TE432(temp) ^
794 rk[5] = rk[
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Daes-internal-dec.c28 static int rijndaelKeySetupDec(u32 rk[], const u8 cipherKey[], int keyBits) argument
34 Nr = rijndaelKeySetupEnc(rk, cipherKey, keyBits);
39 temp = rk[i ]; rk[i ] = rk[j ]; rk[j ] = temp;
40 temp = rk[i + 1]; rk[i + 1] = rk[j + 1]; rk[
61 u32 *rk; local
152 u32 *rk = ctx; local
[all...]
H A Daes-internal-enc.c23 static void rijndaelEncrypt(const u32 rk[], int Nr, const u8 pt[16], u8 ct[16]) argument
34 s0 = GETU32(pt ) ^ rk[0];
35 s1 = GETU32(pt + 4) ^ rk[1];
36 s2 = GETU32(pt + 8) ^ rk[2];
37 s3 = GETU32(pt + 12) ^ rk[3];
40 d##0 = TE0(s##0) ^ TE1(s##1) ^ TE2(s##2) ^ TE3(s##3) ^ rk[4 * i]; \
41 d##1 = TE0(s##1) ^ TE1(s##2) ^ TE2(s##3) ^ TE3(s##0) ^ rk[4 * i + 1]; \
42 d##2 = TE0(s##2) ^ TE1(s##3) ^ TE2(s##0) ^ TE3(s##1) ^ rk[4 * i + 2]; \
43 d##3 = TE0(s##3) ^ TE1(s##0) ^ TE2(s##1) ^ TE3(s##2) ^ rk[4 * i + 3]
65 rk
100 u32 *rk; local
117 u32 *rk = ctx; local
[all...]
H A Daes-internal.c779 int rijndaelKeySetupEnc(u32 rk[], const u8 cipherKey[], int keyBits) argument
784 rk[0] = GETU32(cipherKey );
785 rk[1] = GETU32(cipherKey + 4);
786 rk[2] = GETU32(cipherKey + 8);
787 rk[3] = GETU32(cipherKey + 12);
791 temp = rk[3];
792 rk[4] = rk[0] ^ TE421(temp) ^ TE432(temp) ^
794 rk[5] = rk[
[all...]
/external/ipsec-tools/src/racoon/missing/crypto/rijndael/
H A Drijndael-alg-fst.h19 int rijndaelKeySched(u_int8_t k[RIJNDAEL_MAXKC][4], u_int8_t rk[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);
H A Drijndael-alg-fst.c142 int rijndaelEncrypt(word8 in[16], word8 out[16], word8 rk[MAXROUNDS+1][4][4], int ROUNDS) { argument
158 *((word32*)temp[0]) = *((word32*)(a )) ^ *((word32*)rk[0][0]);
159 *((word32*)temp[1]) = *((word32*)(a+ 4)) ^ *((word32*)rk[0][1]);
160 *((word32*)temp[2]) = *((word32*)(a+ 8)) ^ *((word32*)rk[0][2]);
161 *((word32*)temp[3]) = *((word32*)(a+12)) ^ *((word32*)rk[0][3]);
179 *((word32*)temp[0]) = *((word32*)(b )) ^ *((word32*)rk[r][0]);
180 *((word32*)temp[1]) = *((word32*)(b+ 4)) ^ *((word32*)rk[r][1]);
181 *((word32*)temp[2]) = *((word32*)(b+ 8)) ^ *((word32*)rk[r][2]);
182 *((word32*)temp[3]) = *((word32*)(b+12)) ^ *((word32*)rk[r][3]);
202 *((word32*)temp[0]) = *((word32*)(b )) ^ *((word32*)rk[ROUND
240 rijndaelEncryptRound(word8 a[4][4], word8 rk[MAXROUNDS+1][4][4], int ROUNDS, int rounds) argument
307 rijndaelDecrypt(word8 in[16], word8 out[16], word8 rk[MAXROUNDS+1][4][4], int ROUNDS) argument
409 rijndaelDecryptRound(word8 a[4][4], word8 rk[MAXROUNDS+1][4][4], int ROUNDS, int rounds) argument
[all...]
/external/dropbear/libtomcrypt/src/ciphers/aes/
H A Daes.c126 ulong32 temp, *rk; local
145 rk = skey->rijndael.eK;
146 LOAD32H(rk[0], key );
147 LOAD32H(rk[1], key + 4);
148 LOAD32H(rk[2], key + 8);
149 LOAD32H(rk[3], key + 12);
153 temp = rk[3];
154 rk[4] = rk[0] ^ setup_mix(temp) ^ rcon[i];
155 rk[
294 ulong32 s0, s1, s2, s3, t0, t1, t2, t3, *rk; local
473 ulong32 s0, s1, s2, s3, t0, t1, t2, t3, *rk; local
[all...]
/external/chromium_org/third_party/openssl/openssl/crypto/aes/
H A Daes_core.c631 u32 *rk; local
640 rk = key->rd_key;
649 rk[0] = GETU32(userKey );
650 rk[1] = GETU32(userKey + 4);
651 rk[2] = GETU32(userKey + 8);
652 rk[3] = GETU32(userKey + 12);
655 temp = rk[3];
656 rk[4] = rk[0] ^
662 rk[
732 u32 *rk; local
784 const u32 *rk; local
975 const u32 *rk; local
1206 u32 *rk; local
1307 u32 *rk; local
[all...]
H A Daes_x86core.c473 u32 *rk; local
482 rk = key->rd_key;
491 rk[0] = GETU32(userKey );
492 rk[1] = GETU32(userKey + 4);
493 rk[2] = GETU32(userKey + 8);
494 rk[3] = GETU32(userKey + 12);
497 temp = rk[3];
498 rk[4] = rk[0] ^
504 rk[
574 u32 *rk; local
655 const u32 *rk; local
867 const u32 *rk; local
[all...]
/external/openssl/crypto/aes/
H A Daes_core.c631 u32 *rk; local
640 rk = key->rd_key;
649 rk[0] = GETU32(userKey );
650 rk[1] = GETU32(userKey + 4);
651 rk[2] = GETU32(userKey + 8);
652 rk[3] = GETU32(userKey + 12);
655 temp = rk[3];
656 rk[4] = rk[0] ^
662 rk[
732 u32 *rk; local
784 const u32 *rk; local
975 const u32 *rk; local
1206 u32 *rk; local
1307 u32 *rk; local
[all...]
H A Daes_x86core.c473 u32 *rk; local
482 rk = key->rd_key;
491 rk[0] = GETU32(userKey );
492 rk[1] = GETU32(userKey + 4);
493 rk[2] = GETU32(userKey + 8);
494 rk[3] = GETU32(userKey + 12);
497 temp = rk[3];
498 rk[4] = rk[0] ^
504 rk[
574 u32 *rk; local
655 const u32 *rk; local
867 const u32 *rk; local
[all...]
/external/qemu/
H A Daes.c734 u32 *rk; local
743 rk = key->rd_key;
752 rk[0] = GETU32(userKey );
753 rk[1] = GETU32(userKey + 4);
754 rk[2] = GETU32(userKey + 8);
755 rk[3] = GETU32(userKey + 12);
758 temp = rk[3];
759 rk[4] = rk[0] ^
765 rk[
835 u32 *rk; local
888 const u32 *rk; local
1079 const u32 *rk; local
[all...]
/external/openssh/
H A Drijndael.c727 static int rijndaelKeySetupEnc(u32 rk[/*4*(Nr + 1)*/], const u8 cipherKey[], int keyBits) {
731 rk[0] = GETU32(cipherKey );
732 rk[1] = GETU32(cipherKey + 4);
733 rk[2] = GETU32(cipherKey + 8);
734 rk[3] = GETU32(cipherKey + 12);
737 temp = rk[3];
738 rk[4] = rk[0] ^
744 rk[5] = rk[
[all...]
/external/chromium_org/third_party/openssl/openssl/crypto/aes/asm/
H A Daes-armv4.S453 eor r0,r0,r5 @ rk[4]=rk[0]^...
454 eor r1,r1,r0 @ rk[5]=rk[1]^rk[4]
456 eor r2,r2,r1 @ rk[6]=rk[2]^rk[5]
458 eor r3,r3,r2 @ rk[7]=rk[
[all...]
H A Daes-armv4.pl506 eor $s0,$s0,$t2 @ rk[4]=rk[0]^...
507 eor $s1,$s1,$s0 @ rk[5]=rk[1]^rk[4]
509 eor $s2,$s2,$s1 @ rk[6]=rk[2]^rk[5]
511 eor $s3,$s3,$s2 @ rk[7]=rk[
[all...]
/external/openssl/crypto/aes/asm/
H A Daes-armv4.S453 eor r0,r0,r5 @ rk[4]=rk[0]^...
454 eor r1,r1,r0 @ rk[5]=rk[1]^rk[4]
456 eor r2,r2,r1 @ rk[6]=rk[2]^rk[5]
458 eor r3,r3,r2 @ rk[7]=rk[
[all...]
H A Daes-armv4.pl506 eor $s0,$s0,$t2 @ rk[4]=rk[0]^...
507 eor $s1,$s1,$s0 @ rk[5]=rk[1]^rk[4]
509 eor $s2,$s2,$s1 @ rk[6]=rk[2]^rk[5]
511 eor $s3,$s3,$s2 @ rk[7]=rk[
[all...]
/external/eigen/unsupported/Eigen/src/Splines/
H A DSpline.h402 DenseIndex rk,pk,j1,j2; local
403 rk = r-k; pk = p-k;
407 a(s2,0) = a(s1,0)/ndu(pk+1,rk);
408 d = a(s2,0)*ndu(rk,pk);
411 if (rk>=-1) j1 = 1;
412 else j1 = -rk;
419 a(s2,j) = (a(s1,j)-a(s1,j-1))/ndu(pk+1,rk+j);
420 d += a(s2,j)*ndu(rk+j,pk);
/external/libvpx/libvpx/examples/includes/geshi/contrib/
H A Dlangcheck.php582 foreach($language_data['REGEXPS'] as $rk => $rv) {
583 if(!is_int($rk)) {
584 report_error(TYPE_WARNING, "Language file contains an key '$rk' in \$language_data['REGEXPS'] that is not integer!");
589 report_error(TYPE_WARNING, "Language file contains an empty regular expression at \$language_data['REGEXPS'][$rk]!");
592 report_error(TYPE_WARNING, "Language file contains a regular expression with an unmasked / character at \$language_data['REGEXPS'][$rk]!");
594 report_error(TYPE_WARNING, "Language file contains a regular expression with an unescaped match for a pipe character '|' which needs escaping as '<PIPE>' instead at \$language_data['REGEXPS'][$rk]!");
599 report_error(TYPE_ERROR, "Language file contains no GESHI_SEARCH entry in extended regular expression at \$language_data['REGEXPS'][$rk]!");
601 report_error(TYPE_ERROR, "Language file contains a GESHI_SEARCH entry in extended regular expression at \$language_data['REGEXPS'][$rk] which is not a string!");
604 report_error(TYPE_WARNING, "Language file contains a regular expression with an unmasked / character at \$language_data['REGEXPS'][$rk]!");
606 report_error(TYPE_WARNING, "Language file contains a regular expression with an unescaped match for a pipe character '|' which needs escaping as '<PIPE>' instead at \$language_data['REGEXPS'][$rk]!");
[all...]
/external/chromium_org/third_party/openssl/openssl/crypto/rsa/
H A Drsa_ameth.c129 unsigned char *rk = NULL; local
131 rklen = i2d_RSAPrivateKey(pkey->pkey.rsa, &rk);
140 V_ASN1_NULL, NULL, rk, rklen))

Completed in 280 milliseconds

12