Searched refs:dh_pack_data (Results 1 – 1 of 1) sorted by relevance
/crypto/ |
D | dh_helper.c | 15 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, ¶ms->key_size, in crypto_dh_encode_key() 55 ptr = dh_pack_data(ptr, end, ¶ms->p_size, sizeof(params->p_size)); in crypto_dh_encode_key() 56 ptr = dh_pack_data(ptr, end, ¶ms->q_size, sizeof(params->q_size)); in crypto_dh_encode_key() 57 ptr = dh_pack_data(ptr, end, ¶ms->g_size, sizeof(params->g_size)); in crypto_dh_encode_key() 58 ptr = dh_pack_data(ptr, end, params->key, params->key_size); in crypto_dh_encode_key() 59 ptr = dh_pack_data(ptr, end, params->p, params->p_size); in crypto_dh_encode_key() 60 ptr = dh_pack_data(ptr, end, params->q, params->q_size); in crypto_dh_encode_key() 61 ptr = dh_pack_data(ptr, end, params->g, params->g_size); in crypto_dh_encode_key()
|