Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/crypto/
H A Daesp10-ppc.pl121 my ($zero,$in0,$in1,$key,$rcon,$mask,$tmp)=map("v$_",(0..6));
179 lvx $rcon,0,$ptr
206 vcipherlast $key,$key,$rcon
215 vadduwm $rcon,$rcon,$rcon
219 lvx $rcon,0,$ptr # last two round keys
226 vcipherlast $key,$key,$rcon
235 vadduwm $rcon,$rcon,$rcon
243 vcipherlast $key,$key,$rcon
281 vcipherlast $key,$key,$rcon
293 vadduwm $rcon,$rcon,$rcon
[all …]
/openbmc/linux/arch/arm64/crypto/
H A Daes-ce-glue.c80 static u8 const rcon[] = { in ce_aes_expandkey() local
98 for (i = 0; i < sizeof(rcon); i++) { in ce_aes_expandkey()
102 rko[0] = ror32(__aes_ce_sub(rki[kwords - 1]), 8) ^ rcon[i] ^ rki[0]; in ce_aes_expandkey()
/openbmc/linux/drivers/crypto/vmx/
H A Daesp8-ppc.pl121 my ($zero,$in0,$in1,$key,$rcon,$mask,$tmp)=map("v$_",(0..6));
179 lvx $rcon,0,$ptr
206 vcipherlast $key,$key,$rcon
215 vadduwm $rcon,$rcon,$rcon
219 lvx $rcon,0,$ptr # last two round keys
226 vcipherlast $key,$key,$rcon
235 vadduwm $rcon,$rcon,$rcon
243 vcipherlast $key,$key,$rcon
281 vcipherlast $key,$key,$rcon
293 vadduwm $rcon,$rcon,$rcon
[all …]
/openbmc/u-boot/lib/
H A Daes.c507 static u8 rcon[11] = { variable
527 tmp0 = sbox[tmp1] ^ rcon[idx / AES_KEYCOLS]; in aes_expand_key()
/openbmc/u-boot/arch/m68k/include/asm/
H A Dimmap_520x.h89 u16 rcon; /* 0x04 Reset Cfg */ member
H A Dimmap_5235.h201 u16 rcon; /* 0x08 Rreset configuration register */ member
H A Dimmap_5227x.h73 u16 rcon; /* Reset Configuration (Rd-only) */ member
H A Dimmap_5301x.h147 u16 rcon; /* 0x04 Reset Cfg */ member
H A Dimmap_5445x.h91 u16 rcon; /* Reset Configuration (256 TEPBGA, Read-only) */ member
H A Dimmap_5329.h130 u16 rcon; /* 0x04 Rreset configuration register */ member
H A Dimmap_5441x.h107 u16 rcon; /* 0x08 Reset Configuration */ member
/openbmc/linux/arch/arm/crypto/
H A Daes-ce-glue.c75 static u8 const rcon[] = { in ce_aes_expandkey() local
93 for (i = 0; i < sizeof(rcon); i++) { in ce_aes_expandkey()
98 rko[0] = rko[0] ^ rki[0] ^ rcon[i]; in ce_aes_expandkey()
/openbmc/u-boot/arch/m68k/cpu/mcf5445x/
H A Dspeed.c197 vco = pPllmult[ccm->rcon & fbpll_mask] * CONFIG_SYS_INPUT_CLKSRC; in setup_5445x_clocks()
/openbmc/qemu/crypto/
H A Daes.c946 static const u32 rcon[] = { variable
1326 rcon[i]; in AES_set_encrypt_key()
1346 rcon[i]; in AES_set_encrypt_key()
1368 rcon[i]; in AES_set_encrypt_key()
/openbmc/qemu/target/riscv/
H A Dvcrypto_helper.c321 static const uint32_t rcon[] = { local
336 ^ rcon[uimm - 1];
369 static const uint32_t rcon[] = { in HELPER() local
389 ^ rcon[(uimm - 1) / 2]; in HELPER()
/openbmc/linux/drivers/staging/rtl8712/
H A Drtl871x_security.c762 u8 rcon; in next_key() local
773 rcon = rcon_table[round]; in next_key()
775 key[0] = key[0] ^ rcon; in next_key()