| /arch/arm64/crypto/ |
| A D | aes-ce.S | 38 .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 D | aes-neonbs-glue.c | 30 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 D | aes-cipher-glue.c | 12 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 D | aes-glue.c | 79 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 D | aes-neon.S | 98 .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 D | aes-cipher-core.S | 17 rounds .req x3 102 tbnz rounds, #1, 1f 107 1: subs rounds, rounds, #4
|
| A D | aes-ce-ccm-glue.c | 35 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 D | aes-ce-glue.c | 27 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 D | aes-neonbs-core.S | 23 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 D | aes-spe-glue.c | 44 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 D | aesp10-ppc.pl | 261 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 D | aesp8-ppc.pl | 420 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 D | aes-gcm-p10.S | 303 # 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 D | aesp8-ppc.h | 7 int rounds; member
|
| /arch/arm/crypto/ |
| A D | aes-neonbs-glue.c | 29 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 D | aes-cipher-glue.c | 20 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 D | aes-cipher.h | 8 asmlinkage void __aes_arm_encrypt(const u32 rk[], int rounds, 10 asmlinkage void __aes_arm_decrypt(const u32 rk[], int rounds,
|
| A D | aes-ce-glue.c | 28 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 D | aes-cipher-core.S | 17 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 D | ghash-ce-glue.c | 45 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 D | aes-neonbs-core.S | 24 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 D | aes-ce-core.S | 110 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 D | asm-offsets.c | 123 OFFSET(ARIA_CTX_rounds, aria_ctx, rounds); in common()
|
| /arch/sparc/crypto/ |
| A D | md5_glue.c | 34 unsigned int rounds);
|
| /arch/x86/crypto/ |
| A D | twofish-x86_64-asm_64-3way.S | 48 # used only before/after all rounds 53 # used only during rounds
|