Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 19 of 19) sorted by relevance

/crypto/
Dscatterwalk.c23 static inline void memcpy_dir(void *buf, void *sgdata, size_t nbytes, int out) in memcpy_dir()
31 void scatterwalk_copychunks(void *buf, struct scatter_walk *walk, in scatterwalk_copychunks()
60 void scatterwalk_map_and_copy(void *buf, struct scatterlist *sg, in scatterwalk_map_and_copy()
Decdh_helper.c37 int crypto_ecdh_encode_key(char *buf, unsigned int len, in crypto_ecdh_encode_key()
61 int crypto_ecdh_decode_key(const char *buf, unsigned int len, in crypto_ecdh_decode_key()
Ddh_helper.c42 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()
Decdh.c39 static int ecdh_set_secret(struct crypto_kpp *tfm, const void *buf, in ecdh_set_secret()
75 void *buf; in ecdh_compute_value() local
Ddrbg.c231 static inline void drbg_cpu_to_be32(__u32 val, unsigned char *buf) in drbg_cpu_to_be32()
544 unsigned char *buf, unsigned int buflen, in drbg_ctr_generate()
657 unsigned char *buf, in drbg_hmac_generate()
886 unsigned char *buf, in drbg_hash_hashgen()
927 unsigned char *buf, unsigned int buflen, in drbg_hash_generate()
1246 unsigned char *buf, unsigned int buflen, in drbg_generate()
1373 unsigned char *buf, unsigned int buflen, in drbg_generate_long()
1921 unsigned char buf[OUTBUFLEN]; in drbg_healthcheck_sanity() local
Dmd5.c36 static inline void le32_to_cpu_array(u32 *buf, unsigned int words) in le32_to_cpu_array()
44 static inline void cpu_to_le32_array(u32 *buf, unsigned int words) in cpu_to_le32_array()
Dmd4.c68 static inline void le32_to_cpu_array(u32 *buf, unsigned int words) in le32_to_cpu_array()
76 static inline void cpu_to_le32_array(u32 *buf, unsigned int words) in cpu_to_le32_array()
Dxts.c42 le128 buf[XTS_BUFFER_SIZE / sizeof(le128)]; member
102 le128 *buf = rctx->ext ?: rctx->buf; in post_crypt() local
153 le128 *buf = rctx->ext ?: rctx->buf; in pre_crypt() local
Dlrw.c41 be128 buf[LRW_BUFFER_SIZE / sizeof(be128)]; member
153 be128 *buf = rctx->ext ?: rctx->buf; in post_crypt() local
206 be128 *buf = rctx->ext ?: rctx->buf; in pre_crypt() local
Dansi_cprng.c58 static void hexdump(char *note, unsigned char *buf, unsigned int len) in hexdump()
186 static int get_prng_bytes(char *buf, size_t nbytes, struct prng_context *ctx, in get_prng_bytes()
Dghash-generic.c118 u8 *buf = dctx->buffer; in ghash_final() local
Ddh.c73 static int dh_set_secret(struct crypto_kpp *tfm, const void *buf, in dh_set_secret()
Drng.c38 u8 *buf = NULL; in crypto_rng_reset() local
Dsalsa20_generic.c142 u8 buf[64]; in salsa20_encrypt_bytes() local
Dkeywrap.c101 static inline void crypto_kw_cpu_to_be64(u64 val, u8 *buf) in crypto_kw_cpu_to_be64()
Dshash.c102 u8 *buf = PTR_ALIGN(&ubuf[0], alignmask + 1); in shash_update_unaligned() local
138 u8 *buf = PTR_ALIGN(&ubuf[0], alignmask + 1); in shash_final_unaligned() local
Drsa-pkcs1pad.c164 static void pkcs1pad_sg_set_buf(struct scatterlist *sg, void *buf, size_t len, in pkcs1pad_sg_set_buf()
Dtestmgr.c151 static void hexdump(unsigned char *buf, unsigned int len) in hexdump()
1914 unsigned char *buf = kzalloc(test->expectedlen, GFP_KERNEL); in drbg_cavs_test() local
Dgcm.c87 u8 buf[16]; member