Home
last modified time | relevance | path

Searched refs:length (Results 1 – 13 of 13) sorted by relevance

/crypto/
Dcrct10dif_generic.c52 unsigned int length) in chksum_update() argument
56 ctx->crc = crc_t10dif_generic(ctx->crc, data, length); in chksum_update()
83 unsigned int length, u8 *out) in chksum_digest() argument
85 return __chksum_finup(0, data, length, out); in chksum_digest()
Dxxhash_generic.c42 unsigned int length) in xxhash64_update() argument
46 xxh64_update(&dctx->xxhstate, data, length); in xxhash64_update()
61 unsigned int length, u8 *out) in xxhash64_digest() argument
65 put_unaligned_le64(xxh64(data, length, tctx->seed), out); in xxhash64_digest()
Dcrc32c_generic.c84 unsigned int length) in chksum_update() argument
88 ctx->crc = __crc32c_le(ctx->crc, data, length); in chksum_update()
115 unsigned int length, u8 *out) in chksum_digest() argument
119 return __chksum_finup(&mctx->key, data, length, out); in chksum_digest()
Dscatterwalk.c80 if (src->length > len) in scatterwalk_ffwd()
83 len -= src->length; in scatterwalk_ffwd()
88 sg_set_page(dst, sg_page(src), src->length - len, src->offset + len); in scatterwalk_ffwd()
Daf_alg.c556 if (offset >= sg[i].length) { in af_alg_count_tsgl()
557 offset -= sg[i].length; in af_alg_count_tsgl()
558 bytes -= sg[i].length; in af_alg_count_tsgl()
562 bytes_count = sg[i].length - offset; in af_alg_count_tsgl()
609 size_t plen = min_t(size_t, used, sg[i].length); in af_alg_pull_tsgl()
634 sg[i].length -= plen; in af_alg_pull_tsgl()
640 if (sg[i].length) in af_alg_pull_tsgl()
896 PAGE_SIZE - sg->offset - sg->length); in af_alg_sendmsg()
899 sg->offset + sg->length, in af_alg_sendmsg()
904 sg->length += len; in af_alg_sendmsg()
[all …]
Dkeywrap.c113 if (sg->length > skip) { in crypto_kw_scatterlist_ff()
118 skip -= sg->length; in crypto_kw_scatterlist_ff()
Dtestmgr.c566 size_t length; in build_test_sglist() member
586 partitions[tsgl->nents].length = len_this_sg; in build_test_sglist()
593 partitions[tsgl->nents].length = 0; in build_test_sglist()
596 partitions[tsgl->nents - 1].length += len_remaining; in build_test_sglist()
607 while (offset + partitions[i].length + TESTMGR_POISON_LEN > in build_test_sglist()
615 sg_set_buf(&tsgl->sgl[i], addr, partitions[i].length); in build_test_sglist()
623 copy_len = min(partitions[i].length, data->count); in build_test_sglist()
627 testmgr_poison(addr + copy_len, partitions[i].length + in build_test_sglist()
630 testmgr_poison(addr, partitions[i].length + in build_test_sglist()
662 unsigned int len = sg->length; in verify_correct_output()
[all …]
DKconfig527 Adiantum is a tweakable, length-preserving encryption mode
1241 Anubis is a variable key length cipher which can use keys from
1242 128 bits to 320 bits in length. It was evaluated as a entrant
1258 bits in length. This algorithm is required for driver-based
1269 This is a variable key length cipher which can use keys from 32
1270 bits to 448 bits in length. It's fast, simple and specifically
1293 This is a variable key length cipher which can use keys from 32
1294 bits to 448 bits in length. It's fast, simple and specifically
1513 rather than to Salsa20. XChaCha20 extends ChaCha20's nonce length
1559 Keys are allowed to be from 0 to 256 bits in length, in steps
[all …]
Dalgif_aead.c186 if (!(process_sg->length) || !sg_page(process_sg)) in _aead_recvmsg()
Dadiantum.c269 n = min_t(unsigned int, miter.length, bulk_len - i); in adiantum_hash_message()
Dshash.c330 nbytes <= min(sg->length, ((unsigned int)(PAGE_SIZE)) - offset))) { in shash_ahash_digest()
Dahash.c70 walk->entrylen = sg->length; in hash_walk_new_entry()
/crypto/asymmetric_keys/
Dverify_pefile.c136 wrapper.length, wrapper.revision, wrapper.cert_type); in pefile_strip_sig_wrapper()
144 if (wrapper.length > ctx->sig_len) { in pefile_strip_sig_wrapper()
146 ctx->sig_len, wrapper.length); in pefile_strip_sig_wrapper()
163 ctx->sig_len = wrapper.length; in pefile_strip_sig_wrapper()