/lib/crypto/ |
D | blake2s-selftest.c | 604 memcpy(&state1, &state, sizeof(state1)); in blake2s_selftest() 605 memcpy(&state2, &state, sizeof(state2)); in blake2s_selftest() 615 memcpy(&state1, &state, sizeof(state1)); in blake2s_selftest() 618 memcpy(unaligned_block + l, blocks, in blake2s_selftest() 620 memcpy(&state2, &state, sizeof(state2)); in blake2s_selftest()
|
D | blake2s.c | 31 memcpy(state->buf + state->buflen, in, fill); in blake2s_update() 43 memcpy(state->buf + state->buflen, in, inlen); in blake2s_update() 56 memcpy(out, state->h, state->outlen); in blake2s_final()
|
D | chacha.c | 81 memcpy(x, state, 64); in chacha_block_generic() 107 memcpy(x, state, 64); in hchacha_block_generic() 111 memcpy(&stream[0], &x[0], 16); in hchacha_block_generic() 112 memcpy(&stream[4], &x[12], 16); in hchacha_block_generic()
|
D | poly1305.c | 37 memcpy(desc->buf + desc->buflen, src, bytes); in poly1305_update_generic() 58 memcpy(desc->buf, src, nbytes); in poly1305_update_generic()
|
D | blake2s-generic.c | 56 memcpy(m, block, BLAKE2S_BLOCK_SIZE); in blake2s_compress_generic() 58 memcpy(v, state->h, 32); in blake2s_compress_generic()
|
D | curve25519-hacl64.c | 287 memcpy(output, input, 5 * sizeof(*input)); in fsquare_fsquare_times() 359 memcpy(tmp, b, 5 * sizeof(*b)); in fdifference() 475 memcpy(output, input, 5 * sizeof(*input)); in point_copy() 476 memcpy(output + 5, input + 5, 5 * sizeof(*input)); in point_copy() 499 memcpy(origx, x, 5 * sizeof(*x)); in addanddouble_fmonty() 502 memcpy(origxprime0, xprime, 5 * sizeof(*xprime)); in addanddouble_fmonty() 519 memcpy(origxprime, xxprime, 5 * sizeof(*xxprime)); in addanddouble_fmonty() 773 memcpy(e, secret, 32); in curve25519_generic()
|
D | sha256.c | 137 memcpy(sctx->buf + partial, data, done + 64); in sha256_update() 151 memcpy(sctx->buf + partial, src, len - done); in sha256_update()
|
/lib/ |
D | xxhash.c | 81 memcpy(dst, src, sizeof(*dst)); in xxh32_copy_state() 87 memcpy(dst, src, sizeof(*dst)); in xxh64_copy_state() 252 memcpy(statePtr, &state, sizeof(state)); in xxh32_reset() 266 memcpy(statePtr, &state, sizeof(state)); in xxh64_reset() 282 memcpy((uint8_t *)(state->mem32) + state->memsize, input, len); in xxh32_update() 290 memcpy((uint8_t *)(state->mem32) + state->memsize, input, in xxh32_update() 331 memcpy(state->mem32, p, (size_t)(b_end-p)); in xxh32_update() 388 memcpy(((uint8_t *)state->mem64) + state->memsize, input, len); in xxh64_update() 396 memcpy(((uint8_t *)p64) + state->memsize, input, in xxh64_update() 436 memcpy(state->mem64, p, (size_t)(b_end-p)); in xxh64_update()
|
D | asn1_encoder.c | 313 memcpy(data, string, len); in asn1_encode_tag() 354 memcpy(data, string, len); in asn1_encode_octet_string() 414 memcpy(data, seq, len); in asn1_encode_sequence()
|
D | test-string_helpers.c | 80 memcpy(&in[p], s, len); in test_string_unescape() 88 memcpy(&out_test[q_test], s, len); in test_string_unescape() 95 memcpy(out_real, in, p); in test_string_unescape() 454 memcpy(&in[p], s2->in, len); in test_string_escape() 459 memcpy(&out_test[q_test], out, len); in test_string_escape()
|
D | test_user_copy.c | 131 memcpy(expected, umem_src, ksize); in test_copy_struct_from_user() 143 memcpy(expected, umem_src, usize); in test_copy_struct_from_user() 164 memcpy(expected, umem_src, ksize); in test_copy_struct_from_user()
|
D | decompress_unlzo.c | 163 memcpy(in_buf_save, in_buf, in_len); in unlzo() 232 memcpy(out_buf, in_buf, src_len); in unlzo()
|
D | nlattr.c | 749 memcpy(dst, src, len); in nla_strscpy() 774 memcpy(dst, src, srclen); in nla_strdup() 796 memcpy(dest, nla_data(src), minlen); in nla_memcpy() 997 memcpy(nla_data(nla), data, attrlen); in __nla_put() 1018 memcpy(nla_data(nla), data, attrlen); in __nla_put_64bit() 1036 memcpy(start, data, attrlen); in __nla_put_nohdr()
|
D | string.c | 147 memcpy(dest, src, len); in strlcpy() 367 memcpy(dest, src, len); in strlcat() 882 void *memcpy(void *dest, const void *src, size_t count) in memcpy() function 891 EXPORT_SYMBOL(memcpy);
|
D | seq_buf.c | 152 memcpy(s->buffer + s->len, str, len); in seq_buf_puts() 199 memcpy(s->buffer + s->len, mem, len); in seq_buf_putmem()
|
D | kfifo.c | 104 memcpy(fifo->data + off, src, l); in kfifo_copy_in() 105 memcpy(fifo->data, src + l, len - l); in kfifo_copy_in() 143 memcpy(dst, fifo->data + off, l); in kfifo_copy_out() 144 memcpy(dst + l, fifo->data, len - l); in kfifo_copy_out()
|
D | test_stackinit.c | 296 memcpy(check_buf, target_start, target_size); \ 412 memcpy(check_buf, target_start, target_size); in __leaf_switch_none() 423 memcpy(check_buf, target_start, target_size); in __leaf_switch_none()
|
D | test_meminit.c | 245 memcpy(buf_copy, buf, size); in do_kmem_cache_size() 292 memcpy(buf_contents, buf, size); in do_kmem_cache_rcu_persistent()
|
/lib/mpi/ |
D | mpicoder.c | 290 memcpy(p, (u8 *)&alimb + lzeros, BYTES_PER_MPI_LIMB - lzeros); in mpi_read_buffer() 616 memcpy(s, tmp, n-!!extra); in mpi_print() 637 memcpy(buffer, tmp, n); in mpi_print() 662 memcpy(s+2, tmp, n); in mpi_print() 704 memcpy(s, tmp, n-!!extra); in mpi_print()
|
/lib/raid6/ |
D | algos.c | 257 memcpy(p, raid6_gfmul, 65536); in raid6_select_algo() 262 memcpy(p, raid6_gfmul, (disks - 2) * PAGE_SIZE % 65536); in raid6_select_algo()
|
/lib/zstd/ |
D | huf_decompress.c | 77 memcpy(&dtd, table, sizeof(dtd)); in HUF_getDTableDesc() 126 memcpy(DTable, &dtd, sizeof(dtd)); in HUF_readDTableX2_wksp() 401 memcpy(rankVal, rankValOrigin, sizeof(rankVal)); in HUF_fillDTableX4Level2() 448 memcpy(rankVal, rankValOrigin, sizeof(rankVal)); in HUF_fillDTableX4() 591 memcpy(DTable, &dtd, sizeof(dtd)); in HUF_readDTableX4_wksp() 598 memcpy(op, dt + val, 2); in HUF_decodeSymbolX4() 606 memcpy(op, dt + val, 1); in HUF_decodeLastSymbolX4() 909 memcpy(dst, cSrc, dstSize); in HUF_decompress4X_DCtx_wksp() 947 memcpy(dst, cSrc, dstSize); in HUF_decompress1X_DCtx_wksp()
|
D | decompress.c | 52 static void ZSTD_copy4(void *dst, const void *src) { memcpy(dst, src, 4); } in ZSTD_copy4() 118 memcpy(dctx->entropy.rep, repStartValue, sizeof(repStartValue)); /* initial repcodes */ in ZSTD_decompressBegin() 136 memcpy(&dctx->customMem, &customMem, sizeof(customMem)); in ZSTD_createDCtx_advanced() 158 memcpy(dstDCtx, srcDCtx, sizeof(ZSTD_DCtx) - workSpaceSize); /* no need to copy workspace */ in ZSTD_copyDCtx() 416 memcpy(dst, src, srcSize); in ZSTD_copyRawBlock() 525 memcpy(dctx->litBuffer, istart + lhSize, litSize); in ZSTD_decodeLiteralsBlock() 1156 memcpy(op, litPtr, lastLLSize); in ZSTD_decompressSequences() 1438 memcpy(op, litPtr, lastLLSize); in ZSTD_decompressSequencesLong() 1756 memcpy(dctx->headerBuffer, src, ZSTD_frameHeaderSize_prefix); in ZSTD_decompressContinue() 1764 memcpy(dctx->headerBuffer, src, ZSTD_frameHeaderSize_prefix); in ZSTD_decompressContinue() [all …]
|
/lib/xz/ |
D | xz_dec_bcj.c | 404 memcpy(b->out + b->out_pos, s->temp.buf, copy_size); in bcj_flush() 451 memcpy(b->out + b->out_pos, s->temp.buf, s->temp.size); in xz_dec_bcj_run() 471 memcpy(s->temp.buf, b->out + b->out_pos, s->temp.size); in xz_dec_bcj_run()
|
/lib/zlib_inflate/ |
D | inflate.c | 130 memcpy(state->window, strm->next_out - state->wsize, state->wsize); in zlib_updatewindow() 137 memcpy(state->window + state->write, strm->next_out - copy, dist); in zlib_updatewindow() 140 memcpy(state->window, strm->next_out - copy, copy); in zlib_updatewindow() 456 memcpy(put, next, copy); in zlib_inflate()
|
/lib/reed_solomon/ |
D | decode_rs.c | 177 memcpy(lambda, t, (nroots + 1) * sizeof(t[0])); 198 memcpy(®[1], &lambda[1], nroots * sizeof(reg[0]));
|