Searched refs:blocks (Results 1 – 9 of 9) sorted by relevance
/crypto/async_tx/ |
D | async_pq.c | 107 do_sync_gen_syndrome(struct page **blocks, unsigned int *offsets, int disks, in do_sync_gen_syndrome() argument 117 srcs = (void **) blocks; in do_sync_gen_syndrome() 120 if (blocks[i] == NULL) { in do_sync_gen_syndrome() 124 srcs[i] = page_address(blocks[i]) + offsets[i]; in do_sync_gen_syndrome() 177 async_gen_syndrome(struct page **blocks, unsigned int *offsets, int disks, in async_gen_syndrome() argument 182 &P(blocks, disks), 2, in async_gen_syndrome() 183 blocks, src_cnt, len); in async_gen_syndrome() 187 BUG_ON(disks > MAX_DISKS || !(P(blocks, disks) || Q(blocks, disks))); in async_gen_syndrome() 211 if (blocks[i] == NULL) in async_gen_syndrome() 213 unmap->addr[j] = dma_map_page(device->dev, blocks[i], in async_gen_syndrome() [all …]
|
D | async_raid6_recov.c | 154 struct page **blocks, unsigned int *offs, in __2data_recov_4() argument 168 p = blocks[disks-2]; in __2data_recov_4() 170 q = blocks[disks-1]; in __2data_recov_4() 173 a = blocks[faila]; in __2data_recov_4() 175 b = blocks[failb]; in __2data_recov_4() 204 struct page **blocks, unsigned int *offs, in __2data_recov_5() argument 222 if (blocks[i] == NULL) in __2data_recov_5() 231 p = blocks[disks-2]; in __2data_recov_5() 233 q = blocks[disks-1]; in __2data_recov_5() 235 g = blocks[good]; in __2data_recov_5() [all …]
|
D | raid6test.c | 75 struct page *blocks[NDISKS]; in raid6_dual_recov() local 88 blocks[count++] = ptrs[i]; in raid6_dual_recov() 93 tx = async_xor(dest, blocks, 0, count, bytes, &submit); in raid6_dual_recov()
|
/crypto/ |
D | aegis128-core.c | 32 union aegis_block blocks[AEGIS128_STATE_BLOCKS]; member 66 tmp = state->blocks[AEGIS128_STATE_BLOCKS - 1]; in crypto_aegis128_update() 68 crypto_aegis_aesenc(&state->blocks[i], &state->blocks[i - 1], in crypto_aegis128_update() 69 &state->blocks[i]); in crypto_aegis128_update() 70 crypto_aegis_aesenc(&state->blocks[0], &tmp, &state->blocks[0]); in crypto_aegis128_update() 83 crypto_aegis_block_xor(&state->blocks[0], msg); in crypto_aegis128_update_a() 95 crypto_xor(state->blocks[0].bytes, msg, AEGIS_BLOCK_SIZE); in crypto_aegis128_update_u() 108 state->blocks[0] = key_iv; in crypto_aegis128_init() 109 state->blocks[1] = crypto_aegis_const[1]; in crypto_aegis128_init() 110 state->blocks[2] = crypto_aegis_const[0]; in crypto_aegis128_init() [all …]
|
D | sha1_generic.c | 31 int blocks) in sha1_generic_block_fn() argument 35 while (blocks--) { in sha1_generic_block_fn()
|
D | sm3.c | 170 u8 const *data, int blocks, u32 W[16]) in sm3_block() argument 172 while (blocks--) { in sm3_block() 186 int blocks; in sm3_update() local 198 blocks = len / SM3_BLOCK_SIZE; in sm3_update() 201 if (blocks) { in sm3_update() 202 sm3_block(sctx, data, blocks, W); in sm3_update() 203 data += blocks * SM3_BLOCK_SIZE; in sm3_update()
|
D | sha512_generic.c | 149 int blocks) in sha512_generic_block_fn() argument 151 while (blocks--) { in sha512_generic_block_fn()
|
D | vmac.c | 401 const __le64 *mptr, unsigned int blocks) in vhash_blocks() argument 416 blocks--; in vhash_blocks() 419 while (blocks--) { in vhash_blocks()
|
D | Kconfig | 808 stream cipher. It generates keystream blocks, which are then XORed 809 with the plaintext blocks to get the ciphertext. Flipping a bit in the
|