Home
last modified time | relevance | path

Searched refs:bytes (Results 1 – 9 of 9) sorted by relevance

/crypto/
A Dnhpoly1305.c97 unsigned int bytes; in nhpoly1305_units() local
111 bytes = min(srclen, state->nh_remaining); in nhpoly1305_units()
116 state->nh_remaining -= bytes; in nhpoly1305_units()
120 src += bytes; in nhpoly1305_units()
121 srclen -= bytes; in nhpoly1305_units()
161 unsigned int bytes; in crypto_nhpoly1305_update_helper() local
166 state->buflen += bytes; in crypto_nhpoly1305_update_helper()
172 src += bytes; in crypto_nhpoly1305_update_helper()
173 srclen -= bytes; in crypto_nhpoly1305_update_helper()
179 src += bytes; in crypto_nhpoly1305_update_helper()
[all …]
A Daegis128-core.c106 crypto_xor(key_iv.bytes, iv, AEGIS_BLOCK_SIZE); in crypto_aegis128_init()
185 crypto_xor(tmp.bytes, src, AEGIS_BLOCK_SIZE); in crypto_aegis128_encrypt_chunk()
189 memcpy(dst, tmp.bytes, AEGIS_BLOCK_SIZE); in crypto_aegis128_encrypt_chunk()
199 memcpy(msg.bytes, src, size); in crypto_aegis128_encrypt_chunk()
210 memcpy(dst, msg.bytes, size); in crypto_aegis128_encrypt_chunk()
246 crypto_xor(tmp.bytes, src, AEGIS_BLOCK_SIZE); in crypto_aegis128_decrypt_chunk()
250 memcpy(dst, tmp.bytes, AEGIS_BLOCK_SIZE); in crypto_aegis128_decrypt_chunk()
260 memcpy(msg.bytes, src, size); in crypto_aegis128_decrypt_chunk()
272 memcpy(dst, msg.bytes, size); in crypto_aegis128_decrypt_chunk()
294 memcpy(buf.bytes + pos, src, fill); in crypto_aegis128_process_ad()
[all …]
A Dxor.c27 xor_blocks(unsigned int src_count, unsigned int bytes, void *dest, void **srcs) in xor_blocks() argument
33 active_template->do_2(bytes, dest, p1); in xor_blocks()
39 active_template->do_3(bytes, dest, p1, p2); in xor_blocks()
45 active_template->do_4(bytes, dest, p1, p2, p3); in xor_blocks()
50 active_template->do_5(bytes, dest, p1, p2, p3, p4); in xor_blocks()
A Daegis.h21 u8 bytes[AEGIS_BLOCK_SIZE]; member
64 const u8 *s = src->bytes; in crypto_aegis_aesenc()
A Dadiantum.c88 u8 bytes[XCHACHA_IV_SIZE]; member
291 crypto_cipher_decrypt_one(tctx->blockcipher, rctx->rbuf.bytes, in adiantum_finish()
292 rctx->rbuf.bytes); in adiantum_finish()
383 crypto_cipher_encrypt_one(tctx->blockcipher, rctx->rbuf.bytes, in adiantum_crypt()
384 rctx->rbuf.bytes); in adiantum_crypt()
A Daf_alg.c646 unsigned int af_alg_count_tsgl(struct sock *sk, size_t bytes, size_t offset) in af_alg_count_tsgl() argument
654 if (!bytes) in af_alg_count_tsgl()
666 bytes -= sg[i].length; in af_alg_count_tsgl()
676 if (bytes_count >= bytes) in af_alg_count_tsgl()
679 bytes -= bytes_count; in af_alg_count_tsgl()
A DKconfig393 256 bytes each, and attempts to eliminate data dependent latencies by
768 multiple of 16 bytes.
895 of any size between 1 and 64 bytes. The keyed hash is also implemented.
/crypto/async_tx/
A Dasync_raid6_recov.c153 __2data_recov_4(int disks, size_t bytes, int faila, int failb, in __2data_recov_4() argument
248 tx = async_memcpy(dp, g, dp_off, g_off, bytes, submit); in __2data_recov_5()
251 raid6_gfexp[good], bytes, submit); in __2data_recov_5()
421 raid6_2data_recov(disks, bytes, faila, failb, ptrs); in async_raid6_2data_recov()
444 return __2data_recov_4(disks, bytes, faila, failb, in async_raid6_2data_recov()
452 return __2data_recov_5(disks, bytes, faila, failb, in async_raid6_2data_recov()
455 return __2data_recov_n(disks, bytes, faila, failb, in async_raid6_2data_recov()
471 async_raid6_datap_recov(int disks, size_t bytes, int faila, in async_raid6_datap_recov() argument
504 raid6_datap_recov(disks, bytes, faila, ptrs); in async_raid6_datap_recov()
548 tx = async_memcpy(p, g, p_off, g_off, bytes, submit); in async_raid6_datap_recov()
[all …]
A Draid6test.c57 static void raid6_dual_recov(int disks, size_t bytes, int faila, int failb, in raid6_dual_recov() argument
73 disks, bytes, &submit); in raid6_dual_recov()
93 tx = async_xor(dest, blocks, 0, count, bytes, &submit); in raid6_dual_recov()
97 disks, bytes, &submit); in raid6_dual_recov()
103 tx = async_raid6_datap_recov(disks, bytes, in raid6_dual_recov()
108 tx = async_raid6_2data_recov(disks, bytes, in raid6_dual_recov()
115 disks, bytes, &result, spare, 0, &submit); in raid6_dual_recov()

Completed in 20 milliseconds