/Linux-v4.19/crypto/ |
D | sm4_generic.c | 101 static u32 sm4_round(const u32 *x, const u32 rk) in sm4_round() argument 103 return x[0] ^ sm4_enc_sub(x[1] ^ x[2] ^ x[3] ^ rk); in sm4_round() 119 u32 rk[4], t; in crypto_sm4_expand_key() local 127 rk[i] = get_unaligned_be32(&key[i]) ^ fk[i]; in crypto_sm4_expand_key() 130 t = rk[0] ^ sm4_key_sub(rk[1] ^ rk[2] ^ rk[3] ^ ck[i]); in crypto_sm4_expand_key() 132 rk[0] = rk[1]; in crypto_sm4_expand_key() 133 rk[1] = rk[2]; in crypto_sm4_expand_key() 134 rk[2] = rk[3]; in crypto_sm4_expand_key() 135 rk[3] = t; in crypto_sm4_expand_key() 172 static void sm4_do_crypt(const u32 *rk, u32 *out, const u32 *in) in sm4_do_crypt() argument [all …]
|
/Linux-v4.19/arch/arm64/crypto/ |
D | aes-neonbs-glue.c | 29 asmlinkage void aesbs_convert_key(u8 out[], u32 const rk[], int rounds); 31 asmlinkage void aesbs_ecb_encrypt(u8 out[], u8 const in[], u8 const rk[], 33 asmlinkage void aesbs_ecb_decrypt(u8 out[], u8 const in[], u8 const rk[], 36 asmlinkage void aesbs_cbc_decrypt(u8 out[], u8 const in[], u8 const rk[], 39 asmlinkage void aesbs_ctr_encrypt(u8 out[], u8 const in[], u8 const rk[], 42 asmlinkage void aesbs_xts_encrypt(u8 out[], u8 const in[], u8 const rk[], 44 asmlinkage void aesbs_xts_decrypt(u8 out[], u8 const in[], u8 const rk[], 48 asmlinkage void neon_aes_ecb_encrypt(u8 out[], u8 const in[], u32 const rk[], 50 asmlinkage void neon_aes_cbc_encrypt(u8 out[], u8 const in[], u32 const rk[], 54 u8 rk[13 * (8 * AES_BLOCK_SIZE) + 32]; member [all …]
|
D | aes-ce.S | 21 .macro load_round_keys, rounds, rk 25 ld1 {v17.4s-v18.4s}, [\rk], #32 26 1111: ld1 {v19.4s-v20.4s}, [\rk], #32 27 2222: ld1 {v21.4s-v24.4s}, [\rk], #64 28 ld1 {v25.4s-v28.4s}, [\rk], #64 29 ld1 {v29.4s-v31.4s}, [\rk] 33 .macro enc_prepare, rounds, rk, temp 34 mov \temp, \rk 39 .macro enc_switch_key, rounds, rk, temp 40 mov \temp, \rk [all …]
|
D | aes-neon.S | 88 .macro do_block, enc, in, rounds, rk, rkp, i 89 ld1 {v15.4s}, [\rk] 90 add \rkp, \rk, #16 104 .macro encrypt_block, in, rounds, rk, rkp, i 105 do_block 1, \in, \rounds, \rk, \rkp, \i 108 .macro decrypt_block, in, rounds, rk, rkp, i 109 do_block 0, \in, \rounds, \rk, \rkp, \i 212 .macro do_block_2x, enc, in0, in1, rounds, rk, rkp, i 213 ld1 {v15.4s}, [\rk] 214 add \rkp, \rk, #16 [all …]
|
D | aes-ce-glue.c | 25 asmlinkage void __aes_arm64_encrypt(u32 *rk, u8 *out, const u8 *in, int rounds); 26 asmlinkage void __aes_arm64_decrypt(u32 *rk, u8 *out, const u8 *in, int rounds); 32 asmlinkage void __aes_ce_encrypt(u32 *rk, u8 *out, const u8 *in, int rounds); 33 asmlinkage void __aes_ce_decrypt(u32 *rk, u8 *out, const u8 *in, int rounds);
|
D | ghash-ce-glue.c | 69 u8 ctr[], u32 const rk[], int rounds, 74 u8 ctr[], u32 const rk[], int rounds); 77 u32 const rk[], int rounds); 79 asmlinkage void __aes_arm64_encrypt(u32 *rk, u8 *out, const u8 *in, int rounds); 390 u32 const *rk = NULL; in gcm_encrypt() local 403 if (rk) in gcm_encrypt() 408 iv, rk, nrounds, ks); in gcm_encrypt() 414 rk = ctx->aes_key.key_enc; in gcm_encrypt() 511 u32 const *rk = NULL; in gcm_decrypt() local 521 if (rk) in gcm_decrypt() [all …]
|
D | aes-glue.c | 66 asmlinkage void aes_ecb_encrypt(u8 out[], u8 const in[], u8 const rk[], 68 asmlinkage void aes_ecb_decrypt(u8 out[], u8 const in[], u8 const rk[], 71 asmlinkage void aes_cbc_encrypt(u8 out[], u8 const in[], u8 const rk[], 73 asmlinkage void aes_cbc_decrypt(u8 out[], u8 const in[], u8 const rk[], 76 asmlinkage void aes_ctr_encrypt(u8 out[], u8 const in[], u8 const rk[], 86 asmlinkage void aes_mac_update(u8 const in[], u32 const rk[], int rounds, 415 u8 *rk = (u8 *)ctx->key.key_enc; in cmac_setkey() local 425 aes_ecb_encrypt(ctx->consts, (u8[AES_BLOCK_SIZE]){}, rk, rounds, 1); in cmac_setkey() 444 u8 *rk = (u8 *)ctx->key.key_enc; in xcbc_setkey() local 454 aes_ecb_encrypt(key, ks[0], rk, rounds, 1); in xcbc_setkey() [all …]
|
D | aes-cipher-glue.c | 15 asmlinkage void __aes_arm64_encrypt(u32 *rk, u8 *out, const u8 *in, int rounds); 18 asmlinkage void __aes_arm64_decrypt(u32 *rk, u8 *out, const u8 *in, int rounds);
|
D | aes-cipher-core.S | 17 rk .req x0 60 ldp \out0, \out1, [rk], #8 90 ldp w8, w9, [rk], #16 91 ldp w10, w11, [rk, #-8]
|
D | aes-ce-ccm-glue.c | 35 u32 *macp, u32 const rk[], u32 rounds); 38 u32 const rk[], u32 rounds, u8 mac[], 42 u32 const rk[], u32 rounds, u8 mac[], 45 asmlinkage void ce_aes_ccm_final(u8 mac[], u8 const ctr[], u32 const rk[], 48 asmlinkage void __aes_arm64_encrypt(u32 *rk, u8 *out, const u8 *in, int rounds);
|
D | aes-ctr-fallback.h | 15 asmlinkage void __aes_arm64_encrypt(u32 *rk, u8 *out, const u8 *in, int rounds);
|
D | sm4-ce-glue.c | 17 asmlinkage void sm4_ce_do_crypt(const u32 *rk, void *out, const void *in);
|
D | crct10dif-ce-core.S | 212 .macro fold16, reg, rk 215 .ifnb \rk 216 ldr_l q10, \rk, x8
|
D | ghash-ce-core.S | 369 .macro load_round_keys, rounds, rk 373 ld1 {v17.4s-v18.4s}, [\rk], #32 374 1111: ld1 {v19.4s-v20.4s}, [\rk], #32 375 2222: ld1 {v21.4s-v24.4s}, [\rk], #64 376 ld1 {v25.4s-v28.4s}, [\rk], #64 377 ld1 {v29.4s-v31.4s}, [\rk]
|
/Linux-v4.19/arch/arm/crypto/ |
D | aes-neonbs-glue.c | 27 asmlinkage void aesbs_convert_key(u8 out[], u32 const rk[], int rounds); 29 asmlinkage void aesbs_ecb_encrypt(u8 out[], u8 const in[], u8 const rk[], 31 asmlinkage void aesbs_ecb_decrypt(u8 out[], u8 const in[], u8 const rk[], 34 asmlinkage void aesbs_cbc_decrypt(u8 out[], u8 const in[], u8 const rk[], 37 asmlinkage void aesbs_ctr_encrypt(u8 out[], u8 const in[], u8 const rk[], 40 asmlinkage void aesbs_xts_encrypt(u8 out[], u8 const in[], u8 const rk[], 42 asmlinkage void aesbs_xts_decrypt(u8 out[], u8 const in[], u8 const rk[], 47 u8 rk[13 * (8 * AES_BLOCK_SIZE) + 32] __aligned(AES_BLOCK_SIZE); 64 struct crypto_aes_ctx rk; in aesbs_setkey() local 67 err = crypto_aes_expand_key(&rk, in_key, key_len); in aesbs_setkey() [all …]
|
D | sha2-ce-core.S | 20 rk .req r3 37 vld1.32 {k\ev}, [rk, :128]! 92 adr rk, .Lsha256_rcon 93 vld1.32 {k0}, [rk, :128]!
|
D | aes-cipher-glue.c | 16 asmlinkage void __aes_arm_encrypt(u32 *rk, int rounds, const u8 *in, u8 *out); 19 asmlinkage void __aes_arm_decrypt(u32 *rk, int rounds, const u8 *in, u8 *out);
|
D | aes-ce-glue.c | 29 asmlinkage void ce_aes_ecb_encrypt(u8 out[], u8 const in[], u8 const rk[], 31 asmlinkage void ce_aes_ecb_decrypt(u8 out[], u8 const in[], u8 const rk[], 34 asmlinkage void ce_aes_cbc_encrypt(u8 out[], u8 const in[], u8 const rk[], 36 asmlinkage void ce_aes_cbc_decrypt(u8 out[], u8 const in[], u8 const rk[], 39 asmlinkage void ce_aes_ctr_encrypt(u8 out[], u8 const in[], u8 const rk[],
|
D | aes-cipher-core.S | 18 rk .req r0 78 ldm rk!, {t1, t2} 126 ldm rk!, {r8-r11}
|
D | crct10dif-ce-core.S | 208 .macro fold16, reg, rk 211 .ifnb \rk
|
/Linux-v4.19/drivers/staging/rtl8723bs/core/ |
D | rtw_security.c | 2193 static void rijndaelKeySetupEnc(u32 rk[/*44*/], const u8 cipherKey[]) in rijndaelKeySetupEnc() argument 2198 rk[0] = GETU32(cipherKey); in rijndaelKeySetupEnc() 2199 rk[1] = GETU32(cipherKey + 4); in rijndaelKeySetupEnc() 2200 rk[2] = GETU32(cipherKey + 8); in rijndaelKeySetupEnc() 2201 rk[3] = GETU32(cipherKey + 12); in rijndaelKeySetupEnc() 2203 temp = rk[3]; in rijndaelKeySetupEnc() 2204 rk[4] = rk[0] ^ in rijndaelKeySetupEnc() 2207 rk[5] = rk[1] ^ rk[4]; in rijndaelKeySetupEnc() 2208 rk[6] = rk[2] ^ rk[5]; in rijndaelKeySetupEnc() 2209 rk[7] = rk[3] ^ rk[6]; in rijndaelKeySetupEnc() [all …]
|
/Linux-v4.19/Documentation/devicetree/bindings/timer/ |
D | rockchip,rk-timer.txt | 1 Rockchip rk timer
|
/Linux-v4.19/drivers/net/ethernet/stmicro/stmmac/ |
D | Makefile | 18 obj-$(CONFIG_DWMAC_ROCKCHIP) += dwmac-rk.o
|
/Linux-v4.19/Documentation/devicetree/bindings/misc/ |
D | atmel-ssc.txt | 21 - atmel,clk-from-rk-pin: bool property.
|
/Linux-v4.19/arch/arm/boot/dts/ |
D | at91-dvk_su60_somc.dtsi | 55 atmel,clk-from-rk-pin;
|