/external/rust/crates/ring/crypto/fipsmodule/aes/asm/ |
D | aesv8-armx.pl | 76 my ($zero,$rcon,$mask,$in0,$in1,$tmp,$key)= 132 vld1.32 {$rcon,$mask},[$ptr],#32 150 veor $key,$key,$rcon 152 vshl.u8 $rcon,$rcon,#1 156 vld1.32 {$rcon},[$ptr] 167 veor $key,$key,$rcon 169 vshl.u8 $rcon,$rcon,#1 181 veor $key,$key,$rcon 210 veor $key,$key,$rcon 212 vshl.u8 $rcon,$rcon,#1
|
/external/selinux/libselinux/src/ |
D | check_context.c | 39 char * rcon; in hidden_def() local 41 if (selinux_trans_to_raw_context(con, &rcon)) in hidden_def() 44 ret = security_check_context_raw(rcon); in hidden_def() 46 freecon(rcon); in hidden_def()
|
D | get_initial_context.c | 61 char * rcon; in hidden_def() local 63 ret = security_get_initial_context_raw(name, &rcon); in hidden_def() 65 ret = selinux_raw_to_trans_context(rcon, con); in hidden_def() 66 freecon(rcon); in hidden_def()
|
D | canonicalize_context.c | 69 char * rcon; in hidden_def() local 72 if (selinux_trans_to_raw_context(con, &rcon)) in hidden_def() 75 ret = security_canonicalize_context_raw(rcon, &rcanoncon); in hidden_def() 77 freecon(rcon); in hidden_def()
|
/external/boringssl/src/crypto/fipsmodule/aes/asm/ |
D | aesv8-armx.pl | 76 my ($zero,$rcon,$mask,$in0,$in1,$tmp,$key)= 132 vld1.32 {$rcon,$mask},[$ptr],#32 150 veor $key,$key,$rcon 152 vshl.u8 $rcon,$rcon,#1 156 vld1.32 {$rcon},[$ptr] 167 veor $key,$key,$rcon 169 vshl.u8 $rcon,$rcon,#1 181 veor $key,$key,$rcon 212 veor $key,$key,$rcon 214 vshl.u8 $rcon,$rcon,#1 [all …]
|
D | vpaes-armv7.pl | 548 my ($rcon,$s0F,$invlo,$invhi,$s63) = map("q$_",(8..12)); 604 vld1.64 {$rcon}, [r11] @ .Lk_rcon 836 vext.8 q1, $rcon, q4, #15 @ vpalignr \$15, %xmm8, %xmm4, %xmm1 837 vext.8 $rcon, $rcon, $rcon, #15 @ vpalignr \$15, %xmm8, %xmm8, %xmm8
|
D | vpaes-armv8.pl | 656 my ($invlo,$invhi,$iptlo,$ipthi,$rcon) = map("v$_.16b",(18..21,8)); 915 ext v1.16b, $rcon, v4.16b, #15 // vpalignr \$15, %xmm8, %xmm4, %xmm1 916 ext $rcon, $rcon, $rcon, #15 // vpalignr \$15, %xmm8, %xmm8, %xmm8
|
D | aesp8-ppc.pl | 84 my ($zero,$in0,$in1,$key,$rcon,$mask,$tmp)=map("v$_",(0..6)); 144 lvx $rcon,0,$ptr 171 vcipherlast $key,$key,$rcon 180 vadduwm $rcon,$rcon,$rcon 184 lvx $rcon,0,$ptr # last two round keys 191 vcipherlast $key,$key,$rcon 200 vadduwm $rcon,$rcon,$rcon 208 vcipherlast $key,$key,$rcon 246 vcipherlast $key,$key,$rcon 258 vadduwm $rcon,$rcon,$rcon [all …]
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/engines/ |
D | AESEngine.java | 112 private static final int[] rcon = { field in AESEngine 308 int colx = subWord(shift(col3, 8)) ^ rcon[i - 1]; in generateWorkingKey() 327 int i = 1, rcon = 1, colx; in generateWorkingKey() local 332 colx = subWord(shift(col5, 8)) ^ rcon; rcon <<= 1; in generateWorkingKey() 341 colx = subWord(shift(col5, 8)) ^ rcon; rcon <<= 1; in generateWorkingKey() 370 int i = 2, rcon = 1, colx; in generateWorkingKey() local 373 colx = subWord(shift(col7, 8)) ^ rcon; rcon <<= 1; in generateWorkingKey()
|
D | AESFastEngine.java | 113 private static final int[] rcon = { field in AESFastEngine 637 int colx = subWord(shift(col3, 8)) ^ rcon[i - 1]; in generateWorkingKey() 656 int i = 1, rcon = 1, colx; in generateWorkingKey() local 661 colx = subWord(shift(col5, 8)) ^ rcon; rcon <<= 1; in generateWorkingKey() 670 colx = subWord(shift(col5, 8)) ^ rcon; rcon <<= 1; in generateWorkingKey() 699 int i = 2, rcon = 1, colx; in generateWorkingKey() local 702 colx = subWord(shift(col7, 8)) ^ rcon; rcon <<= 1; in generateWorkingKey()
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/engines/ |
D | AESEngine.java | 112 private static final int[] rcon = { field in AESEngine 308 int colx = subWord(shift(col3, 8)) ^ rcon[i - 1]; in generateWorkingKey() 327 int i = 1, rcon = 1, colx; in generateWorkingKey() local 332 colx = subWord(shift(col5, 8)) ^ rcon; rcon <<= 1; in generateWorkingKey() 341 colx = subWord(shift(col5, 8)) ^ rcon; rcon <<= 1; in generateWorkingKey() 370 int i = 2, rcon = 1, colx; in generateWorkingKey() local 373 colx = subWord(shift(col7, 8)) ^ rcon; rcon <<= 1; in generateWorkingKey()
|
D | AESFastEngine.java | 113 private static final int[] rcon = { field in AESFastEngine 637 int colx = subWord(shift(col3, 8)) ^ rcon[i - 1]; in generateWorkingKey() 656 int i = 1, rcon = 1, colx; in generateWorkingKey() local 661 colx = subWord(shift(col5, 8)) ^ rcon; rcon <<= 1; in generateWorkingKey() 670 colx = subWord(shift(col5, 8)) ^ rcon; rcon <<= 1; in generateWorkingKey() 699 int i = 2, rcon = 1, colx; in generateWorkingKey() local 702 colx = subWord(shift(col7, 8)) ^ rcon; rcon <<= 1; in generateWorkingKey()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/ |
D | AESEngine.java | 110 private static final int[] rcon = { field in AESEngine 306 int colx = subWord(shift(col3, 8)) ^ rcon[i - 1]; in generateWorkingKey() 325 int i = 1, rcon = 1, colx; in generateWorkingKey() local 330 colx = subWord(shift(col5, 8)) ^ rcon; rcon <<= 1; in generateWorkingKey() 339 colx = subWord(shift(col5, 8)) ^ rcon; rcon <<= 1; in generateWorkingKey() 368 int i = 2, rcon = 1, colx; in generateWorkingKey() local 371 colx = subWord(shift(col7, 8)) ^ rcon; rcon <<= 1; in generateWorkingKey()
|
D | AESFastEngine.java | 111 private static final int[] rcon = { field in AESFastEngine 635 int colx = subWord(shift(col3, 8)) ^ rcon[i - 1]; in generateWorkingKey() 654 int i = 1, rcon = 1, colx; in generateWorkingKey() local 659 colx = subWord(shift(col5, 8)) ^ rcon; rcon <<= 1; in generateWorkingKey() 668 colx = subWord(shift(col5, 8)) ^ rcon; rcon <<= 1; in generateWorkingKey() 697 int i = 2, rcon = 1, colx; in generateWorkingKey() local 700 colx = subWord(shift(col7, 8)) ^ rcon; rcon <<= 1; in generateWorkingKey()
|
/external/selinux/mcstrans/src/ |
D | mcstrans.c | 915 char *rcon = NULL; in new_context_str() local 921 rcon = strdup(context_str(con)); in new_context_str() 922 if (!rcon) { in new_context_str() 926 return rcon; in new_context_str() 1492 trans_context(const security_context_t incon, security_context_t *rcon) { in trans_context() argument 1494 *rcon = NULL; in trans_context() 1593 *rcon = new_context_str(incon, trans); in trans_context() 1596 *rcon = new_context_str(incon, range); in trans_context() 1609 log_debug(" trans_context input='%s' output='%s in %ld ms'\n", incon, *rcon, ms); in trans_context() 1615 untrans_context(const security_context_t incon, security_context_t *rcon) { in untrans_context() argument [all …]
|
/external/boringssl/src/crypto/fipsmodule/aes/ |
D | aes_nohw.c | 919 static inline aes_word_t aes_nohw_rcon_slice(uint8_t rcon, size_t i) { in aes_nohw_rcon_slice() argument 920 rcon = (rcon >> (i * AES_NOHW_BATCH_SIZE)) & ((1 << AES_NOHW_BATCH_SIZE) - 1); in aes_nohw_rcon_slice() 922 return _mm_set_epi32(0, 0, 0, rcon); in aes_nohw_rcon_slice() 924 return ((aes_word_t)rcon); in aes_nohw_rcon_slice() 949 uint8_t rcon = aes_nohw_rcon[i - 1]; in aes_nohw_setup_key_128() local 952 block[j] = aes_nohw_xor(block[j], aes_nohw_rcon_slice(rcon, j)); in aes_nohw_setup_key_128() 991 uint8_t rcon = aes_nohw_rcon[2 * i]; in aes_nohw_setup_key_192() local 1000 aes_nohw_xor(block1[j], aes_nohw_rcon_slice(rcon, j)), 8)); in aes_nohw_setup_key_192() 1033 rcon = aes_nohw_rcon[2 * i + 1]; in aes_nohw_setup_key_192() 1042 block2[j] = aes_nohw_xor(block2[j], aes_nohw_rcon_slice(rcon, j)); in aes_nohw_setup_key_192() [all …]
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/aes/ |
D | aes_nohw.c | 919 static inline aes_word_t aes_nohw_rcon_slice(uint8_t rcon, size_t i) { in aes_nohw_rcon_slice() argument 920 rcon = (rcon >> (i * AES_NOHW_BATCH_SIZE)) & ((1 << AES_NOHW_BATCH_SIZE) - 1); in aes_nohw_rcon_slice() 922 return _mm_set_epi32(0, 0, 0, rcon); in aes_nohw_rcon_slice() 924 return ((aes_word_t)rcon); in aes_nohw_rcon_slice() 949 uint8_t rcon = aes_nohw_rcon[i - 1]; in aes_nohw_setup_key_128() local 952 block[j] = aes_nohw_xor(block[j], aes_nohw_rcon_slice(rcon, j)); in aes_nohw_setup_key_128() 991 uint8_t rcon = aes_nohw_rcon[2 * i]; in aes_nohw_setup_key_192() local 1000 aes_nohw_xor(block1[j], aes_nohw_rcon_slice(rcon, j)), 8)); in aes_nohw_setup_key_192() 1033 rcon = aes_nohw_rcon[2 * i + 1]; in aes_nohw_setup_key_192() 1042 block2[j] = aes_nohw_xor(block2[j], aes_nohw_rcon_slice(rcon, j)); in aes_nohw_setup_key_192() [all …]
|
/external/rust/crates/ring/crypto/fipsmodule/aes/ |
D | aes_nohw.c | 785 static inline aes_word_t aes_nohw_rcon_slice(uint8_t rcon, size_t i) { in aes_nohw_rcon_slice() argument 786 rcon = (rcon >> (i * AES_NOHW_BATCH_SIZE)) & ((1 << AES_NOHW_BATCH_SIZE) - 1); in aes_nohw_rcon_slice() 788 return _mm_set_epi32(0, 0, 0, rcon); in aes_nohw_rcon_slice() 790 return ((aes_word_t)rcon); in aes_nohw_rcon_slice() 815 uint8_t rcon = aes_nohw_rcon[i - 1]; in aes_nohw_setup_key_128() local 818 block[j] = aes_nohw_xor(block[j], aes_nohw_rcon_slice(rcon, j)); in aes_nohw_setup_key_128() 847 uint8_t rcon = aes_nohw_rcon[i / 2 - 1]; in aes_nohw_setup_key_256() local 850 block1[j] = aes_nohw_xor(block1[j], aes_nohw_rcon_slice(rcon, j)); in aes_nohw_setup_key_256()
|
/external/wpa_supplicant_8/src/crypto/ |
D | aes_i.h | 27 extern const u32 rcon[10]; 33 #define RCON(i) rcon[(i)]
|
D | aes-internal.c | 729 const u32 rcon[] = { variable
|
/external/openssh/ |
D | rijndael.c | 615 static const u32 rcon[] = { variable 647 rcon[i]; in rijndaelKeySetupEnc() 667 rcon[i]; in rijndaelKeySetupEnc() 689 rcon[i]; in rijndaelKeySetupEnc()
|
/external/rust/crates/ring/pregenerated/ |
D | vpaes-armv7-linux32.S | 322 @@ high side's, except no rcon and no rotation. 400 @@ Adds rcon from low byte of q8, then rotates q8 for 401 @@ next rcon. 412 @ extract rcon from xmm8 424 @ low round: same as high round, but no rotation and no rcon.
|
D | vpaes-armv7-ios32.S | 331 @@ high side's, except no rcon and no rotation. 409 @@ Adds rcon from low byte of q8, then rotates q8 for 410 @@ next rcon. 423 @ extract rcon from xmm8 435 @ low round: same as high round, but no rotation and no rcon.
|
D | vpaes-armv8-linux64.S | 434 ## high side's, except no rcon and no rotation. 546 ## Adds rcon from low byte of %xmm8, then rotates %xmm8 for 547 ## next rcon.
|
/external/boringssl/ios-arm/crypto/fipsmodule/ |
D | aes-armv4.S | 175 @ rcon[] 539 add r6,r10,#256 @ rcon 553 ldr r4,[r6],#4 @ rcon[i++] 602 add r6,r10,#256 @ rcon 617 ldr r4,[r6],#4 @ rcon[i++] 674 add r6,r10,#256 @ rcon 689 ldr r4,[r6],#4 @ rcon[i++]
|