Searched refs:swap_digits (Results 1 – 1 of 1) sorted by relevance
/linux-6.6.21/net/bluetooth/ |
D | ecdh_helper.c | 28 static inline void swap_digits(u64 *in, u64 *out, unsigned int ndigits) in swap_digits() function 63 swap_digits((u64 *)public_key, (u64 *)tmp, 4); /* x */ in compute_ecdh_secret() 64 swap_digits((u64 *)&public_key[32], (u64 *)&tmp[32], 4); /* y */ in compute_ecdh_secret() 80 swap_digits((u64 *)secret, (u64 *)tmp, 4); in compute_ecdh_secret() 112 swap_digits((u64 *)private_key, (u64 *)tmp, 4); in set_ecdh_privkey() 177 swap_digits((u64 *)tmp, (u64 *)public_key, 4); /* x */ in generate_ecdh_public_key() 178 swap_digits((u64 *)&tmp[32], (u64 *)&public_key[32], 4); /* y */ in generate_ecdh_public_key()
|