| /crypto/ |
| A D | nhpoly1305.c | 97 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 D | aegis128-core.c | 106 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 D | xor.c | 27 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 D | aegis.h | 21 u8 bytes[AEGIS_BLOCK_SIZE]; member 64 const u8 *s = src->bytes; in crypto_aegis_aesenc()
|
| A D | adiantum.c | 88 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 D | af_alg.c | 646 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 D | Kconfig | 393 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 D | async_raid6_recov.c | 153 __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 D | raid6test.c | 57 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()
|