Home
last modified time | relevance | path

Searched refs:rounds (Results 1 – 25 of 29) sorted by relevance

12

/arch/arm64/crypto/
A Daes-ce.S38 .macro enc_prepare, rounds, rk, temp
39 load_round_keys \rk, \rounds, \temp
43 .macro enc_switch_key, rounds, rk, temp
44 load_round_keys \rk, \rounds, \temp
48 .macro dec_prepare, rounds, rk, temp
49 load_round_keys \rk, \rounds, \temp
108 tbz \rounds, #2, .L\@ /* 128 bits */
111 tbz \rounds, #1, .L\@ /* 192 bits */
121 do_block_Nx e, \rounds, \in
125 do_block_Nx e, \rounds, \i0, \i1, \i2, \i3
[all …]
A Daes-neonbs-glue.c30 int rounds, int blocks);
32 int rounds, int blocks);
35 int rounds, int blocks, u8 iv[]);
38 int rounds, int blocks, u8 iv[]);
47 int rounds, int blocks);
61 int rounds; member
86 ctx->rounds = 6 + key_len / 4; in aesbs_setkey()
97 int rounds, int blocks)) in __ecb_crypt() argument
115 ctx->rounds, blocks); in __ecb_crypt()
145 ctx->key.rounds = 6 + key_len / 4; in aesbs_cbc_ctr_setkey()
[all …]
A Daes-cipher-glue.c12 asmlinkage void __aes_arm64_encrypt(u32 *rk, u8 *out, const u8 *in, int rounds);
13 asmlinkage void __aes_arm64_decrypt(u32 *rk, u8 *out, const u8 *in, int rounds);
18 int rounds = 6 + ctx->key_length / 4; in aes_arm64_encrypt() local
20 __aes_arm64_encrypt(ctx->key_enc, out, in, rounds); in aes_arm64_encrypt()
26 int rounds = 6 + ctx->key_length / 4; in aes_arm64_decrypt() local
28 __aes_arm64_decrypt(ctx->key_dec, out, in, rounds); in aes_arm64_decrypt()
A Daes-glue.c79 int rounds, int blocks);
81 int rounds, int blocks);
84 int rounds, int blocks, u8 iv[]);
86 int rounds, int blocks, u8 iv[]);
94 int rounds, int bytes, u8 ctr[]);
192 ctx->key_enc, rounds, blocks); in ecb_encrypt()
212 ctx->key_dec, rounds, blocks); in ecb_decrypt()
584 ctx->key1.key_enc, rounds, nbytes, in xts_encrypt()
822 int rounds = 6 + key_len / 4; in cmac_setkey() local
832 rounds, 1); in cmac_setkey()
[all …]
A Daes-neon.S98 .macro do_block, enc, in, rounds, rk, rkp, i
101 mov \i, \rounds
114 .macro encrypt_block, in, rounds, rk, rkp, i
115 do_block 1, \in, \rounds, \rk, \rkp, \i
118 .macro decrypt_block, in, rounds, rk, rkp, i
119 do_block 0, \in, \rounds, \rk, \rkp, \i
208 mov \i, \rounds
231 .macro encrypt_block4x, in0, in1, in2, in3, rounds, rk, rkp, i
232 do_block_4x 1, \in0, \in1, \in2, \in3, \rounds, \rk, \rkp, \i
235 .macro decrypt_block4x, in0, in1, in2, in3, rounds, rk, rkp, i
[all …]
A Daes-cipher-core.S17 rounds .req x3
102 tbnz rounds, #1, 1f
107 1: subs rounds, rounds, #4
A Daes-ce-ccm-glue.c35 asmlinkage u32 ce_aes_mac_update(u8 const in[], u32 const rk[], int rounds,
40 u32 const rk[], u32 rounds, u8 mac[],
44 u32 const rk[], u32 rounds, u8 mac[],
101 u32 macp, u32 const rk[], u32 rounds) in ce_aes_ccm_auth_data() argument
109 u32 rem = ce_aes_mac_update(in, rk, rounds, blocks, mac, in ce_aes_ccm_auth_data()
A Daes-ce-glue.c27 asmlinkage void __aes_ce_encrypt(u32 *rk, u8 *out, const u8 *in, int rounds);
28 asmlinkage void __aes_ce_decrypt(u32 *rk, u8 *out, const u8 *in, int rounds);
A Daes-neonbs-core.S23 rounds .req x11
456 sub rounds, rounds, #1
464 subs rounds, rounds, #1
496 lsl x9, rounds, #7
522 sub rounds, rounds, #1
530 subs rounds, rounds, #1
597 mov rounds, x22
678 mov rounds, x22
767 mov rounds, x3
841 mov rounds, x3
/arch/powerpc/crypto/
A Daes-spe-glue.c44 u32 rounds; member
51 u32 rounds; member
99 ctx->rounds = 4; in ppc_aes_setkey()
103 ctx->rounds = 5; in ppc_aes_setkey()
107 ctx->rounds = 6; in ppc_aes_setkey()
139 ctx->rounds = 4; in ppc_xts_setkey()
144 ctx->rounds = 5; in ppc_xts_setkey()
149 ctx->rounds = 6; in ppc_xts_setkey()
236 ctx->key_enc, ctx->rounds, nbytes, in ppc_cbc_crypt()
240 ctx->key_dec, ctx->rounds, nbytes, in ppc_cbc_crypt()
[all …]
A Daesp10-ppc.pl261 li $rounds,10
335 li $rounds,12
343 li $rounds,14
397 stw $rounds,0($out)
417 slwi $cnt,$rounds,4
419 srwi $rounds,$rounds,1
421 mtctr $rounds
463 lwz $rounds,240($key)
480 srwi $rounds,$rounds,1
483 subi $rounds,$rounds,1
[all …]
A Daesp8-ppc.pl420 srwi $rounds,$rounds,1
481 srwi $rounds,$rounds,1
484 subi $rounds,$rounds,1
574 srwi $rounds,$rounds,1
576 subi $rounds,$rounds,1
1344 srwi $rounds,$rounds,1
1346 subi $rounds,$rounds,1
2010 srwi $rounds,$rounds,1
2011 subi $rounds,$rounds,1
2054 srwi $rounds,$rounds,1
[all …]
A Daes-gcm-p10.S303 # r23: AES rounds
319 # Pre-load 8 AES rounds to scratch vectors.
328 lwz 23, 240(6) # n rounds
329 addi 22, 23, -9 # remaing AES rounds
405 lwz 23, 240(6) # n rounds
511 lwz 23, 240(6) # n rounds
646 # rounds is at offset 240 in rk
685 # load rounds - 10 (128), 12 (192), 14 (256)
686 lwz 23, 240(6) # n rounds
963 # load rounds - 10 (128), 12 (192), 14 (256)
[all …]
A Daesp8-ppc.h7 int rounds; member
/arch/arm/crypto/
A Daes-neonbs-glue.c29 int rounds, int blocks);
31 int rounds, int blocks);
34 int rounds, int blocks, u8 iv[]);
37 int rounds, int blocks, u8 ctr[]);
45 int rounds; member
71 ctx->rounds = 6 + key_len / 4; in aesbs_setkey()
82 int rounds, int blocks)) in __ecb_crypt() argument
100 ctx->rounds, blocks); in __ecb_crypt()
129 ctx->key.rounds = 6 + key_len / 4; in aesbs_cbc_setkey()
156 ctx->key.rounds, dst, dst); in cbc_encrypt()
[all …]
A Daes-cipher-glue.c20 int rounds = 6 + ctx->key_length / 4; in aes_arm_encrypt() local
22 __aes_arm_encrypt(ctx->key_enc, rounds, in, out); in aes_arm_encrypt()
28 int rounds = 6 + ctx->key_length / 4; in aes_arm_decrypt() local
30 __aes_arm_decrypt(ctx->key_dec, rounds, in, out); in aes_arm_decrypt()
A Daes-cipher.h8 asmlinkage void __aes_arm_encrypt(const u32 rk[], int rounds,
10 asmlinkage void __aes_arm_decrypt(const u32 rk[], int rounds,
A Daes-ce-glue.c28 int rounds, int blocks);
30 int rounds, int blocks);
33 int rounds, int blocks, u8 iv[]);
35 int rounds, int blocks, u8 iv[]);
37 int rounds, int bytes, u8 const iv[]);
39 int rounds, int bytes, u8 const iv[]);
42 int rounds, int blocks, u8 ctr[]);
45 int rounds, int bytes, u8 iv[],
48 int rounds, int bytes, u8 iv[],
423 int err, first, rounds = num_rounds(&ctx->key1); in xts_encrypt() local
[all …]
A Daes-cipher-core.S17 rounds .req r1
146 tst rounds, #2
152 1: subs rounds, rounds, #4
171 pop {rounds} // oldcpsr
172 \round r4, r5, r6, r7, r8, r9, r10, r11, \bsz, b, rounds
A Dghash-ce-glue.c45 int rounds; member
188 const char *iv, int rounds, u32 counter);
192 const char *iv, int rounds, u32 counter);
196 const char *iv, int rounds, u32 counter);
200 const char *iv, int rounds, u32 counter,
218 ctx->rounds = 6 + keylen / 4; in gcm_aes_setkey()
330 ctx->rounds, counter); in gcm_encrypt()
371 ctx->rounds, counter); in gcm_encrypt()
423 ctx->rounds, counter); in gcm_decrypt()
455 ctx->rounds, counter, otag, authsize); in gcm_decrypt()
A Daes-neonbs-core.S24 rounds .req ip
507 sub rounds, rounds, #1
521 subs rounds, rounds, #1
551 add bskey, bskey, rounds, lsl #7
576 sub rounds, rounds, #1
590 subs rounds, rounds, #1
643 mov rounds, r3
704 mov rounds, r3
813 mov rounds, r3
988 mov rounds, r3
A Daes-ce-core.S110 blo 0f @ AES-128: 10 rounds
113 beq 1f @ AES-192: 12 rounds
162 .macro prepare_key, rk, rounds
163 add ip, \rk, \rounds, lsl #4
/arch/x86/kernel/
A Dasm-offsets.c123 OFFSET(ARIA_CTX_rounds, aria_ctx, rounds); in common()
/arch/sparc/crypto/
A Dmd5_glue.c34 unsigned int rounds);
/arch/x86/crypto/
A Dtwofish-x86_64-asm_64-3way.S48 # used only before/after all rounds
53 # used only during rounds

Completed in 44 milliseconds

12