Home
last modified time | relevance | path

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

/crypto/
Dscatterwalk.c18 static inline void memcpy_dir(void *buf, void *sgdata, size_t nbytes, int out) in memcpy_dir()
26 void scatterwalk_copychunks(void *buf, struct scatter_walk *walk, in scatterwalk_copychunks()
55 void scatterwalk_map_and_copy(void *buf, struct scatterlist *sg, in scatterwalk_map_and_copy()
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()
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()
Decdh.c35 static int ecdh_set_secret(struct crypto_kpp *tfm, const void *buf, in ecdh_set_secret()
71 void *buf; in ecdh_compute_value() local
Daegis128-neon-inner.c168 uint8_t buf[AEGIS_BLOCK_SIZE] = {}; in crypto_aegis128_encrypt_chunk_neon() local
200 uint8_t buf[AEGIS_BLOCK_SIZE]; in crypto_aegis128_decrypt_chunk_neon() local
Ddrbg.c282 static inline void drbg_cpu_to_be32(__u32 val, unsigned char *buf) in drbg_cpu_to_be32()
594 unsigned char *buf, unsigned int buflen, in drbg_ctr_generate()
706 unsigned char *buf, in drbg_hmac_generate()
935 unsigned char *buf, in drbg_hash_hashgen()
976 unsigned char *buf, unsigned int buflen, in drbg_hash_generate()
1332 unsigned char *buf, unsigned int buflen, in drbg_generate()
1459 unsigned char *buf, unsigned int buflen, in drbg_generate_long()
1987 unsigned char buf[OUTBUFLEN]; in drbg_healthcheck_sanity() local
Dansi_cprng.c52 static void hexdump(char *note, unsigned char *buf, unsigned int len) in hexdump()
180 static int get_prng_bytes(char *buf, size_t nbytes, struct prng_context *ctx, in get_prng_bytes()
Dghash-generic.c137 u8 *buf = dctx->buffer; in ghash_final() local
Drng.c34 u8 *buf = NULL; in crypto_rng_reset() local
Ddh.c74 static int dh_set_secret(struct crypto_kpp *tfm, const void *buf, in dh_set_secret()
Dstreebog_generic.c989 struct streebog_uint512 buf = { { 0 } }; in streebog_stage3() local
Dshash.c93 u8 *buf = PTR_ALIGN(&ubuf[0], alignmask + 1); in shash_update_unaligned() local
135 u8 *buf = PTR_ALIGN(&ubuf[0], alignmask + 1); in shash_final_unaligned() local
Daegis128-core.c286 union aegis_block buf; in crypto_aegis128_process_ad() local
Drsa-pkcs1pad.c161 static void pkcs1pad_sg_set_buf(struct scatterlist *sg, void *buf, size_t len, in pkcs1pad_sg_set_buf()
Dtestmgr.c143 static void hexdump(unsigned char *buf, unsigned int len) in hexdump()
763 static void mutate_buffer(u8 *buf, size_t count) in mutate_buffer()
787 static void generate_random_bytes(u8 *buf, size_t count) in generate_random_bytes()
3375 unsigned char *buf = kzalloc(test->expectedlen, GFP_KERNEL); in drbg_cavs_test() local
Dgcm.c79 u8 buf[16]; member
/crypto/asymmetric_keys/
Dpkcs7_verify.c125 int pkcs7_get_digest(struct pkcs7_message *pkcs7, const u8 **buf, u32 *len, in pkcs7_get_digest()
Dasym_tpm.c334 static inline uint8_t *encode_tag_length(uint8_t *buf, uint8_t tag, 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()