Home
last modified time | relevance | path

Searched defs:len (Results 1 – 25 of 64) sorted by relevance

123

/crypto/async_tx/
Dasync_xor.c102 int src_cnt, size_t len, struct async_submit_ctl *submit) in do_sync_xor_offs()
142 unsigned int *src_offs, int src_cnt, int len) in dma_xor_aligned_offsets()
184 int src_cnt, size_t len, struct async_submit_ctl *submit) in async_xor_offs()
274 int src_cnt, size_t len, struct async_submit_ctl *submit) in async_xor()
281 static int page_is_zero(struct page *p, unsigned int offset, size_t len) in page_is_zero()
288 struct page **src_list, int src_cnt, size_t len) in xor_val_chan()
317 int src_cnt, size_t len, enum sum_check_flags *result, in async_xor_val_offs()
410 int src_cnt, size_t len, enum sum_check_flags *result, in async_xor_val()
Dasync_pq.c108 size_t len, struct async_submit_ctl *submit) in do_sync_gen_syndrome()
144 int src_cnt, size_t len) in is_dma_pq_aligned_offs()
178 size_t len, struct async_submit_ctl *submit) in async_gen_syndrome()
272 pq_val_chan(struct async_submit_ctl *submit, struct page **blocks, int disks, size_t len) in pq_val_chan()
299 size_t len, enum sum_check_flags *pqres, struct page *spare, in async_syndrome_val()
Dasync_memcpy.c33 unsigned int src_offset, size_t len, in async_memcpy()
/crypto/
Dalgif_rng.c55 unsigned int len; member
73 static int _rng_recvmsg(struct crypto_rng *drng, struct msghdr *msg, size_t len, in _rng_recvmsg()
107 static int rng_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, in rng_recvmsg()
117 static int rng_test_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, in rng_test_recvmsg()
133 static int rng_test_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) in rng_test_sendmsg()
247 unsigned int len = sizeof(*ctx); in rng_accept_parent() local
288 unsigned int len) in rng_setentropy()
Dcrc32_generic.c58 unsigned int len) in crc32_update()
67 static int __crc32_finup(u32 *crcp, const u8 *data, unsigned int len, in __crc32_finup()
75 unsigned int len, u8 *out) in crc32_finup()
89 unsigned int len, u8 *out) in crc32_digest()
Decdh_helper.c33 int crypto_ecdh_encode_key(char *buf, unsigned int len, in crypto_ecdh_encode_key()
56 int crypto_ecdh_decode_key(const char *buf, unsigned int len, in crypto_ecdh_decode_key()
Dsha256_generic.c49 unsigned int len) in crypto_sha256_update()
66 unsigned int len, u8 *hash) in crypto_sha256_finup()
Dsha1_generic.c43 unsigned int len) in crypto_sha1_update()
56 unsigned int len, u8 *out) in crypto_sha1_finup()
Ddrbg.c334 size_t len = curr->len; in drbg_ctr_bcc() local
599 int len = min_t(int, buflen, INT_MAX); in drbg_ctr_generate() local
711 int len = 0; in drbg_hmac_generate() local
786 size_t len = addlen; in drbg_add_buf() local
826 size_t len = 0; in drbg_hash_df() local
939 int len = 0; in drbg_hash_hashgen() local
980 int len = 0; in drbg_hash_generate() local
1362 int len = 0; in drbg_generate() local
1495 unsigned int len = 0; in drbg_generate_long() local
1633 const u8 *data, unsigned int len) in drbg_kcapi_set_entropy()
[all …]
Ddh_helper.c40 int crypto_dh_encode_key(char *buf, unsigned int len, const struct dh *params) in crypto_dh_encode_key()
68 int crypto_dh_decode_key(const char *buf, unsigned int len, struct dh *params) in crypto_dh_decode_key()
Dshash.c92 unsigned int len) in shash_update_unaligned()
122 unsigned int len) in crypto_shash_update()
177 unsigned int len, u8 *out) in shash_finup_unaligned()
184 unsigned int len, u8 *out) in crypto_shash_finup()
198 unsigned int len, u8 *out) in shash_digest_unaligned()
205 unsigned int len, u8 *out) in crypto_shash_digest()
222 unsigned int len, u8 *out) in crypto_shash_tfm_digest()
Dcrct10dif_generic.c68 static int __chksum_finup(__u16 crc, const u8 *data, unsigned int len, u8 *out) in __chksum_finup()
75 unsigned int len, u8 *out) in chksum_finup()
Dcrct10dif_common.c70 __u16 crc_t10dif_generic(__u16 crc, const unsigned char *buffer, size_t len) in crc_t10dif_generic()
Dalgif_hash.c26 unsigned int len; member
89 int len = msg_data_left(msg); in hash_sendmsg() local
183 static int hash_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, in hash_recvmsg()
424 unsigned int len = sizeof(*ctx) + crypto_ahash_reqsize(tfm); in hash_accept_parent_nokey() local
Dcrc32c_generic.c100 static int __chksum_finup(u32 *crcp, const u8 *data, unsigned int len, u8 *out) in __chksum_finup()
107 unsigned int len, u8 *out) in chksum_finup()
Dcrypto_null.c43 unsigned int len) in null_update()
54 unsigned int len, u8 *out) in null_digest()
Dsha512_generic.c158 unsigned int len) in crypto_sha512_update()
171 unsigned int len, u8 *hash) in crypto_sha512_finup()
Dsm3_generic.c146 unsigned int len) in crypto_sm3_update()
160 unsigned int len, u8 *hash) in crypto_sm3_finup()
Dcurve25519-generic.c10 unsigned int len) in curve25519_set_secret()
Dcmac.c46 unsigned int len; member
119 unsigned int len) in crypto_cmac_digest_update()
Dxcbc.c45 unsigned int len; member
86 unsigned int len) in crypto_xcbc_digest_update()
Dscatterwalk.c74 unsigned int len) in scatterwalk_ffwd()
Dfips140-module.c440 static void fips140_sha256(void *p, const u8 *data, unsigned int len, u8 *out, in fips140_sha256()
566 void __crypto_xor(u8 *dst, const u8 *src1, const u8 *src2, unsigned int len) in __crypto_xor()
/crypto/asymmetric_keys/
Dasym_tpm.c309 static inline uint32_t definite_length(uint32_t len) in definite_length()
319 uint32_t len) in encode_tag_length()
339 static uint32_t derive_pub_key(const void *pub_key, uint32_t len, uint8_t *buf) in derive_pub_key()
401 int len; in tpm_key_query() local
816 uint32_t len = tk->blob_len; in extract_key_parameters() local
Dpkcs7_key_type.c28 static int pkcs7_view_content(void *ctx, const void *data, size_t len, in pkcs7_view_content()

123