Searched refs:ecdh_pack_data (Results 1 – 1 of 1) sorted by relevance
/Linux-v4.19/crypto/ |
D | ecdh_helper.c | 19 static inline u8 *ecdh_pack_data(void *dst, const void *src, size_t sz) in ecdh_pack_data() function 52 ptr = ecdh_pack_data(ptr, &secret, sizeof(secret)); in crypto_ecdh_encode_key() 53 ptr = ecdh_pack_data(ptr, ¶ms->curve_id, sizeof(params->curve_id)); in crypto_ecdh_encode_key() 54 ptr = ecdh_pack_data(ptr, ¶ms->key_size, sizeof(params->key_size)); in crypto_ecdh_encode_key() 55 ecdh_pack_data(ptr, params->key, params->key_size); in crypto_ecdh_encode_key()
|