Searched refs:dh_pack_data (Results 1 – 1 of 1) sorted by relevance
/Linux-v4.19/crypto/ |
D | dh_helper.c | 19 static inline u8 *dh_pack_data(u8 *dst, u8 *end, const void *src, size_t size) in dh_pack_data() function 56 ptr = dh_pack_data(ptr, end, &secret, sizeof(secret)); in crypto_dh_encode_key() 57 ptr = dh_pack_data(ptr, end, ¶ms->key_size, in crypto_dh_encode_key() 59 ptr = dh_pack_data(ptr, end, ¶ms->p_size, sizeof(params->p_size)); in crypto_dh_encode_key() 60 ptr = dh_pack_data(ptr, end, ¶ms->q_size, sizeof(params->q_size)); in crypto_dh_encode_key() 61 ptr = dh_pack_data(ptr, end, ¶ms->g_size, sizeof(params->g_size)); in crypto_dh_encode_key() 62 ptr = dh_pack_data(ptr, end, params->key, params->key_size); in crypto_dh_encode_key() 63 ptr = dh_pack_data(ptr, end, params->p, params->p_size); in crypto_dh_encode_key() 64 ptr = dh_pack_data(ptr, end, params->q, params->q_size); in crypto_dh_encode_key() 65 ptr = dh_pack_data(ptr, end, params->g, params->g_size); in crypto_dh_encode_key()
|