/Linux-v5.4/arch/x86/crypto/ |
D | chacha_glue.c | 20 unsigned int len, int nrounds); 22 unsigned int len, int nrounds); 23 asmlinkage void hchacha_block_ssse3(const u32 *state, u32 *out, int nrounds); 26 unsigned int len, int nrounds); 28 unsigned int len, int nrounds); 30 unsigned int len, int nrounds); 34 unsigned int len, int nrounds); 36 unsigned int len, int nrounds); 38 unsigned int len, int nrounds); 50 unsigned int bytes, int nrounds) in chacha_dosimd() argument [all …]
|
D | chacha-ssse3-x86_64.S | 119 # %r8d: nrounds 205 # %edx: nrounds 228 # %r8d: nrounds
|
D | chacha-avx512vl-x86_64.S | 32 # %r8d: nrounds 197 # %r8d: nrounds 463 # %r8d: nrounds
|
D | chacha-avx2-x86_64.S | 42 # %r8d: nrounds 234 # %r8d: nrounds 539 # %r8d: nrounds
|
/Linux-v5.4/arch/arm/crypto/ |
D | chacha-neon-glue.c | 34 int nrounds); 36 int nrounds); 37 asmlinkage void hchacha_block_neon(const u32 *state, u32 *out, int nrounds); 40 unsigned int bytes, int nrounds) in chacha_doneon() argument 45 chacha_4block_xor_neon(state, dst, src, nrounds); in chacha_doneon() 52 chacha_block_xor_neon(state, dst, src, nrounds); in chacha_doneon() 60 chacha_block_xor_neon(state, buf, buf, nrounds); in chacha_doneon() 84 nbytes, ctx->nrounds); in chacha_neon_stream_xor() 117 hchacha_block_neon(state, subctx.key, ctx->nrounds); in xchacha_neon() 119 subctx.nrounds = ctx->nrounds; in xchacha_neon()
|
/Linux-v5.4/arch/arm64/crypto/ |
D | chacha-neon-glue.c | 34 int nrounds); 36 int nrounds, int bytes); 37 asmlinkage void hchacha_block_neon(const u32 *state, u32 *out, int nrounds); 40 int bytes, int nrounds) in chacha_doneon() argument 49 chacha_block_xor_neon(state, buf, buf, nrounds); in chacha_doneon() 54 chacha_4block_xor_neon(state, dst, src, nrounds, l); in chacha_doneon() 81 nbytes, ctx->nrounds); in chacha_neon_stream_xor() 114 hchacha_block_neon(state, subctx.key, ctx->nrounds); in xchacha_neon() 116 subctx.nrounds = ctx->nrounds; in xchacha_neon()
|
D | ghash-ce-glue.c | 428 int nrounds = num_rounds(&ctx->aes_key); in gcm_encrypt() local 443 pmull_gcm_encrypt_block(tag, iv, ctx->aes_key.key_enc, nrounds); in gcm_encrypt() 445 pmull_gcm_encrypt_block(ks, iv, NULL, nrounds); in gcm_encrypt() 447 pmull_gcm_encrypt_block(ks + AES_BLOCK_SIZE, iv, NULL, nrounds); in gcm_encrypt() 458 iv, rk, nrounds, ks); in gcm_encrypt() 548 int nrounds = num_rounds(&ctx->aes_key); in gcm_decrypt() local 563 pmull_gcm_encrypt_block(tag, iv, ctx->aes_key.key_enc, nrounds); in gcm_decrypt() 575 iv, rk, nrounds); in gcm_decrypt() 586 pmull_gcm_encrypt_block(iv, iv, NULL, nrounds); in gcm_decrypt() 590 nrounds); in gcm_decrypt()
|
/Linux-v5.4/crypto/ |
D | chacha_generic.c | 16 unsigned int bytes, int nrounds) in chacha_docrypt() argument 22 chacha_block(state, stream, nrounds); in chacha_docrypt() 29 chacha_block(state, stream, nrounds); in chacha_docrypt() 52 nbytes, ctx->nrounds); in chacha_stream_xor() 81 unsigned int keysize, int nrounds) in chacha_setkey() argument 92 ctx->nrounds = nrounds; in chacha_setkey() 129 hchacha_block(state, subctx.key, ctx->nrounds); in crypto_xchacha_crypt() 130 subctx.nrounds = ctx->nrounds; in crypto_xchacha_crypt()
|
/Linux-v5.4/lib/ |
D | chacha.c | 15 static void chacha_permute(u32 *x, int nrounds) in chacha_permute() argument 20 WARN_ON_ONCE(nrounds != 20 && nrounds != 12); in chacha_permute() 22 for (i = 0; i < nrounds; i += 2) { in chacha_permute() 75 void chacha_block(u32 *state, u8 *stream, int nrounds) in chacha_block() argument 82 chacha_permute(x, nrounds); in chacha_block() 102 void hchacha_block(const u32 *in, u32 *out, int nrounds) in hchacha_block() argument 108 chacha_permute(x, nrounds); in hchacha_block()
|
/Linux-v5.4/include/crypto/ |
D | chacha.h | 34 int nrounds; member 37 void chacha_block(u32 *state, u8 *stream, int nrounds); 42 void hchacha_block(const u32 *in, u32 *out, int nrounds);
|