Home
last modified time | relevance | path

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

123

/crypto/
Dcrc32_generic.c82 unsigned int len) in crc32_update()
91 static int __crc32_finup(u32 *crcp, const u8 *data, unsigned int len, in __crc32_finup()
99 unsigned int len, u8 *out) in crc32_finup()
113 unsigned int len, u8 *out) in crc32_digest()
Dalgif_rng.c54 unsigned int len; member
58 static int rng_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, in rng_recvmsg()
139 unsigned int len = sizeof(*ctx); in rng_accept_parent() local
Dsha256_generic.c47 unsigned int len) in crypto_sha256_update()
62 unsigned int len, u8 *hash) in crypto_sha256_finup()
Dsha1_generic.c44 unsigned int len) in crypto_sha1_update()
57 unsigned int len, u8 *out) in crypto_sha1_finup()
Decdh_helper.c33 int crypto_ecdh_encode_key(char *buf, unsigned int len, in crypto_ecdh_encode_key()
57 int crypto_ecdh_decode_key(const char *buf, unsigned int len, in crypto_ecdh_decode_key()
Ddrbg.c333 size_t len = curr->len; in drbg_ctr_bcc() local
598 int len = min_t(int, buflen, INT_MAX); in drbg_ctr_generate() local
710 int len = 0; in drbg_hmac_generate() local
785 size_t len = addlen; in drbg_add_buf() local
825 size_t len = 0; in drbg_hash_df() local
938 int len = 0; in drbg_hash_hashgen() local
979 int len = 0; in drbg_hash_generate() local
1335 int len = 0; in drbg_generate() local
1462 unsigned int len = 0; in drbg_generate_long() local
1639 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()
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()
Dshash.c81 unsigned int len) in shash_update_unaligned()
111 unsigned int len) in crypto_shash_update()
166 unsigned int len, u8 *out) in shash_finup_unaligned()
173 unsigned int len, u8 *out) in crypto_shash_finup()
187 unsigned int len, u8 *out) in shash_digest_unaligned()
194 unsigned int len, u8 *out) in crypto_shash_digest()
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()
431 unsigned int len = sizeof(*ctx) + crypto_ahash_reqsize(tfm); in hash_accept_parent_nokey() local
Dcrc32c_generic.c102 static int __chksum_finup(u32 *crcp, const u8 *data, unsigned int len, u8 *out) in __chksum_finup()
109 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.c161 unsigned int len) in crypto_sha512_update()
174 unsigned int len, u8 *hash) in crypto_sha512_finup()
Dsm3_generic.c146 unsigned int len) in crypto_sm3_update()
159 unsigned int len, u8 *hash) in crypto_sm3_finup()
Dcmac.c45 unsigned int len; member
118 unsigned int len) in crypto_cmac_digest_update()
Dxcbc.c44 unsigned int len; member
85 unsigned int len) in crypto_xcbc_digest_update()
Dscatterwalk.c74 unsigned int len) in scatterwalk_ffwd()
Dalgif_skcipher.c62 size_t len = 0; in _skcipher_recvmsg() local
338 unsigned int len = sizeof(*ctx); in skcipher_accept_parent_nokey() local
Decdh.c36 unsigned int len) in ecdh_set_secret()
/crypto/async_tx/
Dasync_xor.c101 int src_cnt, size_t len, struct async_submit_ctl *submit) in do_sync_xor()
161 int src_cnt, size_t len, struct async_submit_ctl *submit) in async_xor()
223 static int page_is_zero(struct page *p, unsigned int offset, size_t len) in page_is_zero()
230 struct page **src_list, int src_cnt, size_t len) in xor_val_chan()
257 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()
164 size_t len, struct async_submit_ctl *submit) in async_gen_syndrome()
256 pq_val_chan(struct async_submit_ctl *submit, struct page **blocks, int disks, size_t len) in pq_val_chan()
282 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/asymmetric_keys/
Dasym_tpm.c325 static inline uint32_t definite_length(uint32_t len) in definite_length()
335 uint32_t len) in encode_tag_length()
355 static uint32_t derive_pub_key(const void *pub_key, uint32_t len, uint8_t *buf) in derive_pub_key()
417 int len; in tpm_key_query() local
833 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