Home
last modified time | relevance | path

Searched refs:rcon (Results 1 – 16 of 16) sorted by relevance

/external/selinux/libselinux/src/
Dcheck_context.c39 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()
Dget_initial_context.c61 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()
Dcanonicalize_context.c69 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/
Daesv8-armx.pl76 my ($zero,$rcon,$mask,$in0,$in1,$tmp,$key)=
117 vld1.32 {$rcon,$mask},[$ptr],#32
135 veor $key,$key,$rcon
137 vshl.u8 $rcon,$rcon,#1
141 vld1.32 {$rcon},[$ptr]
152 veor $key,$key,$rcon
154 vshl.u8 $rcon,$rcon,#1
166 veor $key,$key,$rcon
197 veor $key,$key,$rcon
199 vshl.u8 $rcon,$rcon,#1
[all …]
Daesp8-ppc.pl82 my ($zero,$in0,$in1,$key,$rcon,$mask,$tmp)=map("v$_",(0..6));
142 lvx $rcon,0,$ptr
169 vcipherlast $key,$key,$rcon
178 vadduwm $rcon,$rcon,$rcon
182 lvx $rcon,0,$ptr # last two round keys
189 vcipherlast $key,$key,$rcon
198 vadduwm $rcon,$rcon,$rcon
206 vcipherlast $key,$key,$rcon
244 vcipherlast $key,$key,$rcon
256 vadduwm $rcon,$rcon,$rcon
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
DAESEngine.java110 private static final int[] rcon = { field in AESEngine
306 int u = subWord(shift(t3, 8)) ^ rcon[i - 1]; in generateWorkingKey()
324 int rcon = 1; in generateWorkingKey() local
325 int u = subWord(shift(t5, 8)) ^ rcon; rcon <<= 1; in generateWorkingKey()
335 u = subWord(shift(t5, 8)) ^ rcon; rcon <<= 1; in generateWorkingKey()
342 u = subWord(shift(t5, 8)) ^ rcon; rcon <<= 1; in generateWorkingKey()
351 u = subWord(shift(t5, 8)) ^ rcon; in generateWorkingKey()
370 int u, rcon = 1; in generateWorkingKey() local
374 u = subWord(shift(t7, 8)) ^ rcon; rcon <<= 1; in generateWorkingKey()
386 u = subWord(shift(t7, 8)) ^ rcon; in generateWorkingKey()
DAESFastEngine.java111 private static final int[] rcon = { field in AESFastEngine
635 int u = subWord(shift(t3, 8)) ^ rcon[i - 1]; in generateWorkingKey()
653 int rcon = 1; in generateWorkingKey() local
654 int u = subWord(shift(t5, 8)) ^ rcon; rcon <<= 1; in generateWorkingKey()
664 u = subWord(shift(t5, 8)) ^ rcon; rcon <<= 1; in generateWorkingKey()
671 u = subWord(shift(t5, 8)) ^ rcon; rcon <<= 1; in generateWorkingKey()
680 u = subWord(shift(t5, 8)) ^ rcon; in generateWorkingKey()
699 int u, rcon = 1; in generateWorkingKey() local
703 u = subWord(shift(t7, 8)) ^ rcon; rcon <<= 1; in generateWorkingKey()
715 u = subWord(shift(t7, 8)) ^ rcon; in generateWorkingKey()
/external/selinux/mcstrans/src/
Dmcstrans.c914 char *rcon = NULL; in new_context_str() local
920 rcon = strdup(context_str(con)); in new_context_str()
921 if (!rcon) { in new_context_str()
925 return rcon; in new_context_str()
1491 trans_context(const security_context_t incon, security_context_t *rcon) { in trans_context() argument
1493 *rcon = NULL; in trans_context()
1576 *rcon = new_context_str(incon, trans); in trans_context()
1579 *rcon = new_context_str(incon, range); in trans_context()
1592 log_debug(" trans_context input='%s' output='%s in %ld ms'\n", incon, *rcon, ms); in trans_context()
1598 untrans_context(const security_context_t incon, security_context_t *rcon) { in untrans_context() argument
[all …]
/external/wpa_supplicant_8/src/crypto/
Daes_i.h27 extern const u32 rcon[10];
33 #define RCON(i) rcon[(i)]
Daes-internal.c729 const u32 rcon[] = { variable
/external/boringssl/src/crypto/fipsmodule/aes/
Daes.c531 static const uint32_t rcon[] = { variable
572 (Te1[(temp >> 24)] & 0x000000ff) ^ rcon[i]; in AES_set_encrypt_key()
590 (Te1[(temp >> 24)] & 0x000000ff) ^ rcon[i]; in AES_set_encrypt_key()
610 (Te1[(temp >> 24)] & 0x000000ff) ^ rcon[i]; in AES_set_encrypt_key()
/external/boringssl/ios-arm/crypto/fipsmodule/
Daes-armv4.S161 @ rcon[]
525 add r6,r10,#256 @ rcon
539 ldr r4,[r6],#4 @ rcon[i++]
588 add r6,r10,#256 @ rcon
603 ldr r4,[r6],#4 @ rcon[i++]
660 add r6,r10,#256 @ rcon
675 ldr r4,[r6],#4 @ rcon[i++]
/external/boringssl/linux-arm/crypto/fipsmodule/
Daes-armv4.S162 @ rcon[]
520 add r6,r10,#256 @ rcon
534 ldr r4,[r6],#4 @ rcon[i++]
583 add r6,r10,#256 @ rcon
598 ldr r4,[r6],#4 @ rcon[i++]
655 add r6,r10,#256 @ rcon
670 ldr r4,[r6],#4 @ rcon[i++]
/external/ipsec-tools/src/racoon/missing/crypto/rijndael/
Drijndael-alg-fst.c70 tk[0][0] ^= rcon[rconpointer++]; in rijndaelKeySched()
Dboxes-fst.dat955 static const word32 rcon[30] = {
/external/boringssl/linux-ppc64le/crypto/aes/
Daesp8-ppc.S6 rcon: label