| /linux/lib/crypto/x86/ |
| H A D | chacha.h | 15 unsigned int len, int nrounds); 18 unsigned int len, int nrounds); 20 u32 out[HCHACHA_OUT_WORDS], int nrounds); 24 unsigned int len, int nrounds); 27 unsigned int len, int nrounds); 30 unsigned int len, int nrounds); 34 unsigned int len, int nrounds); 37 unsigned int len, int nrounds); 40 unsigned int len, int nrounds); 53 unsigned int bytes, int nrounds) in chacha_dosimd() argument [all …]
|
| H A D | chacha-ssse3-x86_64.S | 119 # %r8d: nrounds 205 # %edx: nrounds 228 # %r8d: nrounds
|
| H A D | chacha-avx512vl-x86_64.S | 32 # %r8d: nrounds 197 # %r8d: nrounds 463 # %r8d: nrounds
|
| H A D | chacha-avx2-x86_64.S | 42 # %r8d: nrounds 234 # %r8d: nrounds 539 # %r8d: nrounds
|
| /linux/lib/crypto/arm/ |
| H A D | chacha.h | 18 u8 *dst, const u8 *src, int nrounds); 21 int nrounds, unsigned int nbytes); 23 u32 out[HCHACHA_OUT_WORDS], int nrounds); 25 u32 out[HCHACHA_OUT_WORDS], int nrounds); 28 const struct chacha_state *state, int nrounds); 38 unsigned int bytes, int nrounds) in chacha_doneon() argument 45 chacha_4block_xor_neon(state, dst, src, nrounds, l); in chacha_doneon() 57 chacha_block_xor_neon(state, d, s, nrounds); in chacha_doneon() 65 u32 out[HCHACHA_OUT_WORDS], int nrounds) in hchacha_block_arch() argument 68 hchacha_block_arm(state, out, nrounds); in hchacha_block_arch() [all …]
|
| H A D | chacha-scalar-core.S | 132 .macro _chacha_permute nrounds argument 135 .rept \nrounds / 2 140 .macro _chacha nrounds argument 147 _chacha_permute \nrounds
|
| /linux/lib/crypto/arm64/ |
| H A D | chacha.h | 29 u8 *dst, const u8 *src, int nrounds); 32 int nrounds, int bytes); 34 u32 out[HCHACHA_OUT_WORDS], int nrounds); 39 int bytes, int nrounds) in chacha_doneon() argument 48 chacha_block_xor_neon(state, buf, buf, nrounds); in chacha_doneon() 53 chacha_4block_xor_neon(state, dst, src, nrounds, l); in chacha_doneon() 62 u32 out[HCHACHA_OUT_WORDS], int nrounds) in hchacha_block_arch() argument 65 hchacha_block_generic(state, out, nrounds); in hchacha_block_arch() 68 hchacha_block_neon(state, out, nrounds); in hchacha_block_arch() 73 const u8 *src, unsigned int bytes, int nrounds) in chacha_crypt_arch() argument [all …]
|
| /linux/lib/crypto/ |
| H A D | chacha.c | 16 unsigned int bytes, int nrounds) in chacha_crypt_generic() argument 22 chacha_block_generic(state, stream, nrounds); in chacha_crypt_generic() 29 chacha_block_generic(state, stream, nrounds); in chacha_crypt_generic() 42 unsigned int bytes, int nrounds) in chacha_crypt() argument 44 chacha_crypt_arch(state, dst, src, bytes, nrounds); in chacha_crypt() 49 u32 out[HCHACHA_OUT_WORDS], int nrounds) in hchacha_block() argument 51 hchacha_block_arch(state, out, nrounds); in hchacha_block()
|
| H A D | chacha-block-generic.c | 16 static void chacha_permute(struct chacha_state *state, int nrounds) in chacha_permute() argument 22 WARN_ON_ONCE(nrounds != 20 && nrounds != 12); in chacha_permute() 24 for (i = 0; i < nrounds; i += 2) { in chacha_permute() 78 u8 out[CHACHA_BLOCK_SIZE], int nrounds) in chacha_block_generic() argument 83 chacha_permute(&permuted_state, nrounds); in chacha_block_generic() 105 u32 out[HCHACHA_OUT_WORDS], int nrounds) in hchacha_block_generic() argument 109 chacha_permute(&permuted_state, nrounds); in hchacha_block_generic()
|
| /linux/lib/crypto/powerpc/ |
| H A D | chacha.h | 16 const u8 *src, unsigned int len, int nrounds); 33 unsigned int bytes, int nrounds) in chacha_p10_do_8x() argument 38 chacha_p10le_8x(state, dst, src, l, nrounds); in chacha_p10_do_8x() 46 chacha_crypt_generic(state, dst, src, bytes, nrounds); in chacha_p10_do_8x() 52 const u8 *src, unsigned int bytes, int nrounds) in chacha_crypt_arch() argument 56 return chacha_crypt_generic(state, dst, src, bytes, nrounds); in chacha_crypt_arch() 62 chacha_p10_do_8x(state, dst, src, todo, nrounds); in chacha_crypt_arch()
|
| H A D | chacha-p10le-8x.S | 576 # unsigned int len, int nrounds);
|
| /linux/lib/crypto/riscv/ |
| H A D | chacha.h | 17 size_t nblocks, int nrounds); 22 const u8 *src, unsigned int bytes, int nrounds) in chacha_crypt_arch() argument 29 return chacha_crypt_generic(state, dst, src, bytes, nrounds); in chacha_crypt_arch() 33 chacha_zvkb(state, src, dst, full_blocks, nrounds); in chacha_crypt_arch() 39 chacha_zvkb(state, block_buffer, block_buffer, 1, nrounds); in chacha_crypt_arch()
|
| /linux/crypto/ |
| H A D | chacha.c | 17 int nrounds; member 21 const u8 *key, unsigned int keysize, int nrounds) in chacha_setkey() argument 32 ctx->nrounds = nrounds; in chacha_setkey() 67 nbytes, ctx->nrounds); in chacha_stream_xor() 92 hchacha_block(&state, subctx.key, ctx->nrounds); in crypto_xchacha_crypt() 93 subctx.nrounds = ctx->nrounds; in crypto_xchacha_crypt()
|
| /linux/lib/crypto/s390/ |
| H A D | chacha.h | 18 const u8 *src, unsigned int bytes, int nrounds) in chacha_crypt_arch() argument 24 if (bytes <= CHACHA_BLOCK_SIZE || nrounds != 20 || !cpu_has_vx()) { in chacha_crypt_arch() 25 chacha_crypt_generic(state, dst, src, bytes, nrounds); in chacha_crypt_arch()
|
| /linux/include/crypto/ |
| H A D | chacha.h | 41 u8 out[at_least CHACHA_BLOCK_SIZE], int nrounds); 49 u32 out[at_least HCHACHA_OUT_WORDS], int nrounds); 52 u32 out[at_least HCHACHA_OUT_WORDS], int nrounds); 89 unsigned int bytes, int nrounds);
|
| /linux/lib/crypto/mips/ |
| H A D | chacha.h | 12 unsigned int bytes, int nrounds); 14 u32 out[HCHACHA_OUT_WORDS], int nrounds);
|
| /linux/arch/arm64/crypto/ |
| H A D | ghash-ce-glue.c | 299 int nrounds = num_rounds(&ctx->aes_key); in gcm_encrypt() local 334 dg, iv, ctx->aes_key.key_enc, nrounds, in gcm_encrypt() 362 int nrounds = num_rounds(&ctx->aes_key); in gcm_decrypt() local 405 nrounds, tag, otag, authsize); in gcm_decrypt()
|