Home
last modified time | relevance | path

Searched refs:rk (Results 1 – 25 of 150) sorted by relevance

123456

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Daes-internal.c779 int rijndaelKeySetupEnc(u32 rk[], const u8 cipherKey[], int keyBits) in rijndaelKeySetupEnc() argument
784 rk[0] = GETU32(cipherKey ); in rijndaelKeySetupEnc()
785 rk[1] = GETU32(cipherKey + 4); in rijndaelKeySetupEnc()
786 rk[2] = GETU32(cipherKey + 8); in rijndaelKeySetupEnc()
787 rk[3] = GETU32(cipherKey + 12); in rijndaelKeySetupEnc()
791 temp = rk[3]; in rijndaelKeySetupEnc()
792 rk[4] = rk[0] ^ TE421(temp) ^ TE432(temp) ^ in rijndaelKeySetupEnc()
794 rk[5] = rk[1] ^ rk[4]; in rijndaelKeySetupEnc()
795 rk[6] = rk[2] ^ rk[5]; in rijndaelKeySetupEnc()
796 rk[7] = rk[3] ^ rk[6]; in rijndaelKeySetupEnc()
[all …]
Daes-internal-dec.c28 static int rijndaelKeySetupDec(u32 rk[], const u8 cipherKey[], int keyBits) in rijndaelKeySetupDec() argument
34 Nr = rijndaelKeySetupEnc(rk, cipherKey, keyBits); in rijndaelKeySetupDec()
39 temp = rk[i ]; rk[i ] = rk[j ]; rk[j ] = temp; in rijndaelKeySetupDec()
40 temp = rk[i + 1]; rk[i + 1] = rk[j + 1]; rk[j + 1] = temp; in rijndaelKeySetupDec()
41 temp = rk[i + 2]; rk[i + 2] = rk[j + 2]; rk[j + 2] = temp; in rijndaelKeySetupDec()
42 temp = rk[i + 3]; rk[i + 3] = rk[j + 3]; rk[j + 3] = temp; in rijndaelKeySetupDec()
47 rk += 4; in rijndaelKeySetupDec()
49 rk[j] = TD0_(TE4((rk[j] >> 24) )) ^ in rijndaelKeySetupDec()
50 TD1_(TE4((rk[j] >> 16) & 0xff)) ^ in rijndaelKeySetupDec()
51 TD2_(TE4((rk[j] >> 8) & 0xff)) ^ in rijndaelKeySetupDec()
[all …]
Daes-internal-enc.c23 static void rijndaelEncrypt(const u32 rk[], int Nr, const u8 pt[16], u8 ct[16]) in rijndaelEncrypt() argument
34 s0 = GETU32(pt ) ^ rk[0]; in rijndaelEncrypt()
35 s1 = GETU32(pt + 4) ^ rk[1]; in rijndaelEncrypt()
36 s2 = GETU32(pt + 8) ^ rk[2]; in rijndaelEncrypt()
37 s3 = GETU32(pt + 12) ^ rk[3]; in rijndaelEncrypt()
40 d##0 = TE0(s##0) ^ TE1(s##1) ^ TE2(s##2) ^ TE3(s##3) ^ rk[4 * i]; \ in rijndaelEncrypt()
41 d##1 = TE0(s##1) ^ TE1(s##2) ^ TE2(s##3) ^ TE3(s##0) ^ rk[4 * i + 1]; \ in rijndaelEncrypt()
42 d##2 = TE0(s##2) ^ TE1(s##3) ^ TE2(s##0) ^ TE3(s##1) ^ rk[4 * i + 2]; \ in rijndaelEncrypt()
43 d##3 = TE0(s##3) ^ TE1(s##0) ^ TE2(s##1) ^ TE3(s##2) ^ rk[4 * i + 3] in rijndaelEncrypt()
65 rk += Nr << 2; in rijndaelEncrypt()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Daes-internal.c779 int rijndaelKeySetupEnc(u32 rk[], const u8 cipherKey[], int keyBits) in rijndaelKeySetupEnc() argument
784 rk[0] = GETU32(cipherKey ); in rijndaelKeySetupEnc()
785 rk[1] = GETU32(cipherKey + 4); in rijndaelKeySetupEnc()
786 rk[2] = GETU32(cipherKey + 8); in rijndaelKeySetupEnc()
787 rk[3] = GETU32(cipherKey + 12); in rijndaelKeySetupEnc()
791 temp = rk[3]; in rijndaelKeySetupEnc()
792 rk[4] = rk[0] ^ TE421(temp) ^ TE432(temp) ^ in rijndaelKeySetupEnc()
794 rk[5] = rk[1] ^ rk[4]; in rijndaelKeySetupEnc()
795 rk[6] = rk[2] ^ rk[5]; in rijndaelKeySetupEnc()
796 rk[7] = rk[3] ^ rk[6]; in rijndaelKeySetupEnc()
[all …]
Daes-internal-dec.c28 static int rijndaelKeySetupDec(u32 rk[], const u8 cipherKey[], int keyBits) in rijndaelKeySetupDec() argument
34 Nr = rijndaelKeySetupEnc(rk, cipherKey, keyBits); in rijndaelKeySetupDec()
39 temp = rk[i ]; rk[i ] = rk[j ]; rk[j ] = temp; in rijndaelKeySetupDec()
40 temp = rk[i + 1]; rk[i + 1] = rk[j + 1]; rk[j + 1] = temp; in rijndaelKeySetupDec()
41 temp = rk[i + 2]; rk[i + 2] = rk[j + 2]; rk[j + 2] = temp; in rijndaelKeySetupDec()
42 temp = rk[i + 3]; rk[i + 3] = rk[j + 3]; rk[j + 3] = temp; in rijndaelKeySetupDec()
47 rk += 4; in rijndaelKeySetupDec()
49 rk[j] = TD0_(TE4((rk[j] >> 24) )) ^ in rijndaelKeySetupDec()
50 TD1_(TE4((rk[j] >> 16) & 0xff)) ^ in rijndaelKeySetupDec()
51 TD2_(TE4((rk[j] >> 8) & 0xff)) ^ in rijndaelKeySetupDec()
[all …]
Daes-internal-enc.c23 static void rijndaelEncrypt(const u32 rk[], int Nr, const u8 pt[16], u8 ct[16]) in rijndaelEncrypt() argument
34 s0 = GETU32(pt ) ^ rk[0]; in rijndaelEncrypt()
35 s1 = GETU32(pt + 4) ^ rk[1]; in rijndaelEncrypt()
36 s2 = GETU32(pt + 8) ^ rk[2]; in rijndaelEncrypt()
37 s3 = GETU32(pt + 12) ^ rk[3]; in rijndaelEncrypt()
40 d##0 = TE0(s##0) ^ TE1(s##1) ^ TE2(s##2) ^ TE3(s##3) ^ rk[4 * i]; \ in rijndaelEncrypt()
41 d##1 = TE0(s##1) ^ TE1(s##2) ^ TE2(s##3) ^ TE3(s##0) ^ rk[4 * i + 1]; \ in rijndaelEncrypt()
42 d##2 = TE0(s##2) ^ TE1(s##3) ^ TE2(s##0) ^ TE3(s##1) ^ rk[4 * i + 2]; \ in rijndaelEncrypt()
43 d##3 = TE0(s##3) ^ TE1(s##0) ^ TE2(s##1) ^ TE3(s##2) ^ rk[4 * i + 3] in rijndaelEncrypt()
65 rk += Nr << 2; in rijndaelEncrypt()
[all …]
/third_party/FreeBSD/sys/crypto/rijndael/
Drijndael-alg-fst.c735 int rijndaelKeySetupEnc(u32 rk[/*4*(Nr + 1)*/], const u8 cipherKey[], int keyBits) { in rijndaelKeySetupEnc() argument
741 rk[0] = GETU32(cipherKey ); in rijndaelKeySetupEnc()
742 rk[1] = GETU32(cipherKey + 4); in rijndaelKeySetupEnc()
743 rk[2] = GETU32(cipherKey + 8); in rijndaelKeySetupEnc()
744 rk[3] = GETU32(cipherKey + 12); in rijndaelKeySetupEnc()
747 temp = rk[3]; in rijndaelKeySetupEnc()
748 rk[4] = rk[0] ^ in rijndaelKeySetupEnc()
754 rk[5] = rk[1] ^ rk[4]; in rijndaelKeySetupEnc()
755 rk[6] = rk[2] ^ rk[5]; in rijndaelKeySetupEnc()
756 rk[7] = rk[3] ^ rk[6]; in rijndaelKeySetupEnc()
[all …]
Drijndael-api-fst.c65 key->Nr = rijndaelKeySetupEnc(key->rk, cipherKey, keyLen); in rijndael_makeKey()
67 key->Nr = rijndaelKeySetupDec(key->rk, cipherKey, keyLen); in rijndael_makeKey()
106 rijndaelEncrypt(key->rk, key->Nr, input, outBuffer); in rijndael_blockEncrypt()
126 rijndaelEncrypt(key->rk, key->Nr, block, outBuffer); in rijndael_blockEncrypt()
143 rijndaelEncrypt(key->rk, key->Nr, block, outBuffer); in rijndael_blockEncrypt()
221 rijndaelEncrypt(key->rk, key->Nr, input, outBuffer); in rijndael_padEncrypt()
231 rijndaelEncrypt(key->rk, key->Nr, block, outBuffer); in rijndael_padEncrypt()
241 rijndaelEncrypt(key->rk, key->Nr, block, outBuffer); in rijndael_padEncrypt()
255 rijndaelEncrypt(key->rk, key->Nr, block, outBuffer); in rijndael_padEncrypt()
284 rijndaelDecrypt(key->rk, key->Nr, input, outBuffer); in rijndael_blockDecrypt()
[all …]
/third_party/openssl/crypto/aes/
Daes_core.c618 u64 *rk; in AES_set_encrypt_key() local
625 rk = (u64*)key->rd_key; in AES_set_encrypt_key()
634 KeyExpansion(userKey, rk, key->rounds, bits/32); in AES_set_encrypt_key()
654 const u64 *rk; in AES_encrypt() local
657 rk = (u64*)key->rd_key; in AES_encrypt()
659 Cipher(in, out, rk, key->rounds); in AES_encrypt()
669 const u64 *rk; in AES_decrypt() local
672 rk = (u64*)key->rd_key; in AES_decrypt()
674 InvCipher(in, out, rk, key->rounds); in AES_decrypt()
1266 u32 *rk; in AES_set_encrypt_key() local
[all …]
Daes_x86core.c478 u32 *rk; in AES_set_encrypt_key() local
487 rk = key->rd_key; in AES_set_encrypt_key()
496 rk[0] = GETU32(userKey ); in AES_set_encrypt_key()
497 rk[1] = GETU32(userKey + 4); in AES_set_encrypt_key()
498 rk[2] = GETU32(userKey + 8); in AES_set_encrypt_key()
499 rk[3] = GETU32(userKey + 12); in AES_set_encrypt_key()
502 temp = rk[3]; in AES_set_encrypt_key()
503 rk[4] = rk[0] ^ in AES_set_encrypt_key()
509 rk[5] = rk[1] ^ rk[4]; in AES_set_encrypt_key()
510 rk[6] = rk[2] ^ rk[5]; in AES_set_encrypt_key()
[all …]
/third_party/boost/libs/numeric/odeint/examples/
Dstepper_details.cpp89 runge_kutta4< state_type > rk; in main() local
90 rk.do_step( sys1 , inout , t , dt ); // In-place transformation of inout in main()
91 rk.do_step( sys2 , inout , t , dt ); // call with different system: Ok in main()
92 rk.do_step( sys1 , in , t , out , dt ); // Out-of-place transformation in main()
93 rk.do_step( sys1 , inout , dxdtin , t , dt ); // In-place tranformation of inout in main()
94 rk.do_step( sys1 , in , dxdtin , t , out , dt ); // Out-of-place transformation in main()
105 runge_kutta_dopri5< state_type > rk; in main() local
106 rk.do_step( sys1 , in , t , out , dt ); in main()
107 rk.do_step( sys2 , in , t , out , dt ); // DONT do this, sys1 is assumed in main()
109 rk.do_step( sys2 , in2 , t , out , dt ); in main()
[all …]
/third_party/mbedtls/library/
Daesni.c130 : "r" (ctx->nr), "r" (ctx->rk), "r" (mode), "r" (input), "r" (output) in mbedtls_aesni_crypt_ecb()
274 static void aesni_setkey_enc_128( unsigned char *rk, in aesni_setkey_enc_128() argument
317 : "r" (rk), "r" (key) in aesni_setkey_enc_128()
324 static void aesni_setkey_enc_192( unsigned char *rk, in aesni_setkey_enc_192() argument
374 : "r" (rk), "r" (key) in aesni_setkey_enc_192()
381 static void aesni_setkey_enc_256( unsigned char *rk, in aesni_setkey_enc_256() argument
440 : "r" (rk), "r" (key) in aesni_setkey_enc_256()
447 int mbedtls_aesni_setkey_enc( unsigned char *rk, in mbedtls_aesni_setkey_enc() argument
453 case 128: aesni_setkey_enc_128( rk, key ); break; in mbedtls_aesni_setkey_enc()
454 case 192: aesni_setkey_enc_192( rk, key ); break; in mbedtls_aesni_setkey_enc()
[all …]
Dpadlock.c80 uint32_t *rk; in mbedtls_padlock_xcryptecb() local
85 rk = ctx->rk; in mbedtls_padlock_xcryptecb()
103 : "m" (ebx), "m" (ctrl), "m" (rk), "m" (blk) in mbedtls_padlock_xcryptecb()
123 uint32_t *rk; in mbedtls_padlock_xcryptcbc() local
132 rk = ctx->rk; in mbedtls_padlock_xcryptcbc()
154 "m" (rk), "m" (input), "m" (output), "m" (iw) in mbedtls_padlock_xcryptcbc()
Daria.c466 aria_rot128( ctx->rk[i ], w[i], w2, 128 - 19 ); in mbedtls_aria_setkey_enc()
467 aria_rot128( ctx->rk[i + 4], w[i], w2, 128 - 31 ); in mbedtls_aria_setkey_enc()
468 aria_rot128( ctx->rk[i + 8], w[i], w2, 61 ); in mbedtls_aria_setkey_enc()
469 aria_rot128( ctx->rk[i + 12], w[i], w2, 31 ); in mbedtls_aria_setkey_enc()
471 aria_rot128( ctx->rk[16], w[0], w[1], 19 ); in mbedtls_aria_setkey_enc()
498 uint32_t t = ctx->rk[i][k]; in mbedtls_aria_setkey_dec()
499 ctx->rk[i][k] = ctx->rk[j][k]; in mbedtls_aria_setkey_dec()
500 ctx->rk[j][k] = t; in mbedtls_aria_setkey_dec()
507 aria_a( &ctx->rk[i][0], &ctx->rk[i][1], in mbedtls_aria_setkey_dec()
508 &ctx->rk[i][2], &ctx->rk[i][3] ); in mbedtls_aria_setkey_dec()
[all …]
/third_party/openssl/crypto/aria/
Daria.c476 const ARIA_u128 *rk; in aria_encrypt() local
482 rk = key->rd_key; in aria_encrypt()
494 ARIA_ADD_ROUND_KEY(rk, reg0, reg1, reg2, reg3); in aria_encrypt()
495 rk++; in aria_encrypt()
498 ARIA_ADD_ROUND_KEY(rk, reg0, reg1, reg2, reg3); in aria_encrypt()
499 rk++; in aria_encrypt()
503 ARIA_ADD_ROUND_KEY(rk, reg0, reg1, reg2, reg3); in aria_encrypt()
504 rk++; in aria_encrypt()
507 ARIA_ADD_ROUND_KEY(rk, reg0, reg1, reg2, reg3); in aria_encrypt()
508 rk++; in aria_encrypt()
[all …]
/third_party/mindspore/mindspore/ccsrc/pipeline/pynative/
Dpynative_cache.h37 bool operator()(const AbsCacheKey &lk, const AbsCacheKey &rk) const { in operator()
38 if (lk.prim_attrs_.size() != rk.prim_attrs_.size()) { in operator()
41 if (lk.prim_name_ != rk.prim_name_) { in operator()
46 [&rk](const std::pair<std::string, ValuePtr> &item) -> bool { in operator()
47 auto iter = rk.prim_attrs_.find(item.first); in operator()
48 if (iter == rk.prim_attrs_.end()) { in operator()
/third_party/openssl/crypto/aes/asm/arm32/
Daes-armv4.S529 eor r0,r0,r5 @ rk[4]=rk[0]^...
530 eor r1,r1,r0 @ rk[5]=rk[1]^rk[4]
532 eor r2,r2,r1 @ rk[6]=rk[2]^rk[5]
534 eor r3,r3,r2 @ rk[7]=rk[3]^rk[6]
593 eor r0,r0,r9 @ rk[6]=rk[0]^...
594 eor r1,r1,r0 @ rk[7]=rk[1]^rk[6]
596 eor r2,r2,r1 @ rk[8]=rk[2]^rk[7]
598 eor r3,r3,r2 @ rk[9]=rk[3]^rk[8]
610 eor r7,r7,r3 @ rk[10]=rk[4]^rk[9]
611 eor r9,r8,r7 @ rk[11]=rk[5]^rk[10]
[all …]
/third_party/mindspore/mindspore/lite/src/runtime/kernel/opencl/cl/
Dargminmax.cl65 int rk = offset + tid_comp * src_size.x;
67 if (buf[lk] > buf[rk]) {
69 swap(buf[lk], buf[rk], tmpf);
71 swap(ids[lk], ids[rk], tmpi);
74 if (buf[lk] < buf[rk]) {
76 swap(buf[lk], buf[rk], tmpf);
78 swap(ids[lk], ids[rk], tmpi);
/third_party/openssl/crypto/sm4/
Dsm4.c173 ks->rk[i] = K[i % 4]; in SM4_set_key()
181 B0 ^= F(B1 ^ B2 ^ B3 ^ ks->rk[k0]); \
182 B1 ^= F(B0 ^ B2 ^ B3 ^ ks->rk[k1]); \
183 B2 ^= F(B0 ^ B1 ^ B3 ^ ks->rk[k2]); \
184 B3 ^= F(B0 ^ B1 ^ B2 ^ ks->rk[k3]); \
/third_party/flutter/skia/third_party/externals/icu/source/data/locales/
Dkkj.txt102 "mɛrkɛrɛdi",
120 "mɛrkɛrɛdi",
129 "mɛrkɛrɛdi",
140 "mɛrkɛrɛdi",
167 "mɛrkɛrɛdi",
/third_party/icu/icu4c/source/data/locales/
Dkkj.txt102 "mɛrkɛrɛdi",
120 "mɛrkɛrɛdi",
129 "mɛrkɛrɛdi",
140 "mɛrkɛrɛdi",
167 "mɛrkɛrɛdi",
/third_party/skia/third_party/externals/icu/source/data/locales/
Dkkj.txt102 "mɛrkɛrɛdi",
120 "mɛrkɛrɛdi",
129 "mɛrkɛrɛdi",
140 "mɛrkɛrɛdi",
167 "mɛrkɛrɛdi",
/third_party/icu/icu4c/source/data/zone/
Daz.txt478 ec{"Mərkəz, Şimal Dakota"}
1296 ls{"Mərkəzi Afrika Vaxtı"}
1320 ld{"Şimali Mərkəzi Amerika Yay Vaxtı"}
1321 lg{"Şimali Mərkəzi Amerika Vaxtı"}
1322 ls{"Şimali Mərkəzi Amerika Standart Vaxtı"}
1370 ld{"Mərkəzi Avstraliya Yay Vaxtı"}
1371 lg{"Mərkəzi Avstraliya Vaxtı"}
1372 ls{"Mərkəzi Avstraliya Standart Vaxtı"}
1375 ld{"Mərkəzi Qərbi Avstraliya Yay Vaxtı"}
1376 lg{"Mərkəzi Qərbi Avstraliya Vaxtı"}
[all …]
/third_party/skia/third_party/externals/icu/source/data/zone/
Daz.txt478 ec{"Mərkəz, Şimal Dakota"}
1296 ls{"Mərkəzi Afrika Vaxtı"}
1320 ld{"Şimali Mərkəzi Amerika Yay Vaxtı"}
1321 lg{"Şimali Mərkəzi Amerika Vaxtı"}
1322 ls{"Şimali Mərkəzi Amerika Standart Vaxtı"}
1370 ld{"Mərkəzi Avstraliya Yay Vaxtı"}
1371 lg{"Mərkəzi Avstraliya Vaxtı"}
1372 ls{"Mərkəzi Avstraliya Standart Vaxtı"}
1375 ld{"Mərkəzi Qərbi Avstraliya Yay Vaxtı"}
1376 lg{"Mərkəzi Qərbi Avstraliya Vaxtı"}
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/data/zone/
Daz.txt478 ec{"Mərkəz, Şimal Dakota"}
1296 ls{"Mərkəzi Afrika Vaxtı"}
1320 ld{"Şimali Mərkəzi Amerika Yay Vaxtı"}
1321 lg{"Şimali Mərkəzi Amerika Vaxtı"}
1322 ls{"Şimali Mərkəzi Amerika Standart Vaxtı"}
1370 ld{"Mərkəzi Avstraliya Yay Vaxtı"}
1371 lg{"Mərkəzi Avstraliya Vaxtı"}
1372 ls{"Mərkəzi Avstraliya Standart Vaxtı"}
1375 ld{"Mərkəzi Qərbi Avstraliya Yay Vaxtı"}
1376 lg{"Mərkəzi Qərbi Avstraliya Vaxtı"}
[all …]

123456