Searched refs:rk (Results 1 - 25 of 36) 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/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/chromium_org/third_party/boringssl/src/crypto/aes/
H A Daes.c561 uint32_t *rk; local
583 rk = aeskey->rd_key;
585 rk[0] = GETU32(key);
586 rk[1] = GETU32(key + 4);
587 rk[2] = GETU32(key + 8);
588 rk[3] = GETU32(key + 12);
591 temp = rk[3];
592 rk[4] = rk[0] ^ (Te2[(temp >> 16) & 0xff] & 0xff000000) ^
596 rk[
656 uint32_t *rk; local
704 const uint32_t *rk; local
892 const uint32_t *rk; local
[all...]
/external/qemu/util/
H A Daes.c729 u32 *rk; local
738 rk = key->rd_key;
747 rk[0] = GETU32(userKey );
748 rk[1] = GETU32(userKey + 4);
749 rk[2] = GETU32(userKey + 8);
750 rk[3] = GETU32(userKey + 12);
753 temp = rk[3];
754 rk[4] = rk[0] ^
760 rk[
830 u32 *rk; local
883 const u32 *rk; local
1074 const u32 *rk; local
[all...]
/external/chromium_org/third_party/boringssl/linux-arm/crypto/aes/
H A Daes-armv4.S520 eor r0,r0,r5 @ rk[4]=rk[0]^...
521 eor r1,r1,r0 @ rk[5]=rk[1]^rk[4]
523 eor r2,r2,r1 @ rk[6]=rk[2]^rk[5]
525 eor r3,r3,r2 @ rk[7]=rk[
[all...]
/external/chromium_org/third_party/boringssl/src/crypto/aes/asm/
H A Daes-armv4.pl540 eor $s0,$s0,$t2 @ rk[4]=rk[0]^...
541 eor $s1,$s1,$s0 @ rk[5]=rk[1]^rk[4]
543 eor $s2,$s2,$s1 @ rk[6]=rk[2]^rk[5]
545 eor $s3,$s3,$s2 @ rk[7]=rk[
[all...]
/external/openssl/crypto/aes/asm/
H A Daes-armv4.S517 eor r0,r0,r5 @ rk[4]=rk[0]^...
518 eor r1,r1,r0 @ rk[5]=rk[1]^rk[4]
520 eor r2,r2,r1 @ rk[6]=rk[2]^rk[5]
522 eor r3,r3,r2 @ rk[7]=rk[
[all...]
H A Daes-armv4.pl537 eor $s0,$s0,$t2 @ rk[4]=rk[0]^...
538 eor $s1,$s1,$s0 @ rk[5]=rk[1]^rk[4]
540 eor $s2,$s2,$s1 @ rk[6]=rk[2]^rk[5]
542 eor $s3,$s3,$s2 @ rk[7]=rk[
[all...]
/external/eigen/Eigen/src/SPQRSupport/
H A DSuiteSparseQRSupport.h153 Index rk = this->rank(); local
154 y.topRows(rk) = this->matrixR().topLeftCorner(rk, rk).template triangularView<Upper>().solve(y.topRows(rk));
155 y.bottomRows(cols()-rk).setZero();
/external/eigen/unsupported/Eigen/src/Splines/
H A DSpline.h412 DenseIndex rk,pk,j1,j2; local
413 rk = r-k; pk = p-k;
417 a(s2,0) = a(s1,0)/ndu(pk+1,rk);
418 d = a(s2,0)*ndu(rk,pk);
421 if (rk>=-1) j1 = 1;
422 else j1 = -rk;
429 a(s2,j) = (a(s1,j)-a(s1,j-1))/ndu(pk+1,rk+j);
430 d += a(s2,j)*ndu(rk+j,pk);
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/
H A Dcmsintrp.c263 cmsS15Fixed16Number k0, k1, rk, K0, K1; local
272 rk = (cmsUInt16Number) FIXED_REST_TO_INT(fk);
281 Output[OutChan] = LinearInterp(rk, LutTable[K0+OutChan], LutTable[K1+OutChan]);
833 cmsS15Fixed16Number k0, rk; local
855 rk = FIXED_REST_TO_INT(fk);
1002 Output[i] = LinearInterp(rk, Tmp1[i], Tmp2[i]);
1063 cmsS15Fixed16Number k0, rk; local
1073 rk = FIXED_REST_TO_INT(fk);
1093 Output[i] = LinearInterp(rk, Tmp1[i], Tmp2[i]);
1151 cmsS15Fixed16Number k0, rk; local
1237 cmsS15Fixed16Number k0, rk; local
1323 cmsS15Fixed16Number k0, rk; local
[all...]
/external/chromium_org/third_party/boringssl/src/crypto/perlasm/
H A Dsparcv9_modes.pl92 xor %g4, %o0, %o0 ! ^= rk[0]
201 xor %g4, %o0, %o0 ! ^= rk[0]
307 xor %g4, %o0, %o2 ! ^= rk[0]
404 xor %g4, %o0, %o4 ! ^= rk[0]
540 xor %g4, %o0, %o4 ! ^= rk[0]
624 xor %o5, %g4, %g4 ! ^= rk[0]
659 xor %g5, %l7, %g1 ! ^= rk[0]
736 xor %g5, %l7, %g1 ! ^= rk[0]
842 xor %g5, %l7, %g1 ! ^= rk[0]
982 xor %g4, %o0, %o0 ! ^= rk[
[all...]
/external/chromium_org/third_party/boringssl/src/crypto/evp/
H A Dp_rsa_asn1.c112 uint8_t *rk = NULL; local
115 rklen = i2d_RSAPrivateKey(pkey->pkey.rsa, &rk);
124 V_ASN1_NULL, NULL, rk, rklen)) {
/external/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 436 milliseconds

12