Home
last modified time | relevance | path

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

/linux-6.1.9/crypto/
Ddh_helper.c15 static inline u8 *dh_pack_data(u8 *dst, u8 *end, const void *src, size_t size) in dh_pack_data() function
52 ptr = dh_pack_data(ptr, end, &secret, sizeof(secret)); in crypto_dh_encode_key()
53 ptr = dh_pack_data(ptr, end, &params->key_size, in crypto_dh_encode_key()
55 ptr = dh_pack_data(ptr, end, &params->p_size, sizeof(params->p_size)); in crypto_dh_encode_key()
56 ptr = dh_pack_data(ptr, end, &params->g_size, sizeof(params->g_size)); in crypto_dh_encode_key()
57 ptr = dh_pack_data(ptr, end, params->key, params->key_size); in crypto_dh_encode_key()
58 ptr = dh_pack_data(ptr, end, params->p, params->p_size); in crypto_dh_encode_key()
59 ptr = dh_pack_data(ptr, end, params->g, params->g_size); in crypto_dh_encode_key()