Searched refs:nblocks (Results 1 – 5 of 5) sorted by relevance
/arch/x86/crypto/ |
D | sm4_aesni_avx_glue.c | 23 const u8 *src, int nblocks); 25 const u8 *src, int nblocks); 61 unsigned int nblocks = min(nbytes >> 4, 4u); in ecb_do_crypt() local 62 sm4_aesni_avx_crypt4(rkey, dst, src, nblocks); in ecb_do_crypt() 63 dst += nblocks * SM4_BLOCK_SIZE; in ecb_do_crypt() 64 src += nblocks * SM4_BLOCK_SIZE; in ecb_do_crypt() 65 nbytes -= nblocks * SM4_BLOCK_SIZE; in ecb_do_crypt() 153 unsigned int nblocks = min(nbytes >> 4, 8u); in sm4_avx_cbc_decrypt() local 157 src, nblocks); in sm4_avx_cbc_decrypt() 159 src += ((int)nblocks - 2) * SM4_BLOCK_SIZE; in sm4_avx_cbc_decrypt() [all …]
|
D | blake2s-glue.c | 20 const u8 *block, const size_t nblocks, 23 const u8 *block, const size_t nblocks, 30 size_t nblocks, const u32 inc) in blake2s_compress() argument 36 blake2s_compress_generic(state, block, nblocks, inc); in blake2s_compress() 41 const size_t blocks = min_t(size_t, nblocks, in blake2s_compress() 52 nblocks -= blocks; in blake2s_compress() 54 } while (nblocks); in blake2s_compress()
|
D | polyval-clmulni_glue.c | 49 const u8 *in, size_t nblocks, u8 *accumulator); 58 const u8 *in, size_t nblocks, u8 *accumulator) in internal_polyval_update() argument 62 clmul_polyval_update(keys, in, nblocks, accumulator); in internal_polyval_update() 66 nblocks, accumulator); in internal_polyval_update() 116 unsigned int nblocks; in polyval_x86_update() local 136 nblocks = min(srclen, 4096U) / POLYVAL_BLOCK_SIZE; in polyval_x86_update() 137 internal_polyval_update(tctx, src, nblocks, dctx->buffer); in polyval_x86_update() 138 srclen -= nblocks * POLYVAL_BLOCK_SIZE; in polyval_x86_update() 139 src += nblocks * POLYVAL_BLOCK_SIZE; in polyval_x86_update()
|
/arch/arm64/crypto/ |
D | polyval-ce-glue.c | 45 const u8 *in, size_t nblocks, u8 *accumulator); 49 const u8 *in, size_t nblocks, u8 *accumulator) in internal_polyval_update() argument 53 pmull_polyval_update(keys, in, nblocks, accumulator); in internal_polyval_update() 57 nblocks, accumulator); in internal_polyval_update() 107 unsigned int nblocks; in polyval_arm64_update() local 127 nblocks = min(srclen, 4096U) / POLYVAL_BLOCK_SIZE; in polyval_arm64_update() 128 internal_polyval_update(tctx, src, nblocks, dctx->buffer); in polyval_arm64_update() 129 srclen -= nblocks * POLYVAL_BLOCK_SIZE; in polyval_arm64_update() 130 src += nblocks * POLYVAL_BLOCK_SIZE; in polyval_arm64_update()
|
/arch/arm/crypto/ |
D | blake2b-neon-glue.c | 19 const u8 *block, size_t nblocks, u32 inc); 22 const u8 *block, size_t nblocks, u32 inc) in blake2b_compress_arch() argument 25 blake2b_compress_generic(state, block, nblocks, inc); in blake2b_compress_arch() 30 const size_t blocks = min_t(size_t, nblocks, in blake2b_compress_arch() 37 nblocks -= blocks; in blake2b_compress_arch() 39 } while (nblocks); in blake2b_compress_arch()
|