Lines Matching +full:right +full:- +full:most
58 * ecc_swap_digits() - Copy ndigits from big endian array to native array
69 out[i] = get_unaligned_be64(&src[ndigits - 1 - i]); in ecc_swap_digits()
73 * ecc_digits_from_bytes() - Create ndigits-sized digits array from byte array
79 * The first byte in the input byte array is expected to hold the most
86 * ecc_is_key_valid() - Validate a given ECDH private key
99 * ecc_gen_privkey() - Generates an ECC private key.
114 * ecc_make_pub_key() - Compute an ECC public key
128 * crypto_ecdh_shared_secret() - Compute a shared secret
147 * ecc_is_pubkey_valid_partial() - Partial public key validation
152 * Valdiate public key according to SP800-56A section 5.6.2.3.4 ECC Partial
153 * Public-Key Validation Routine.
158 * Return: 0 if validation is successful, -EINVAL if validation is failed.
164 * ecc_is_pubkey_valid_full() - Full public key validation
169 * Valdiate public key according to SP800-56A section 5.6.2.3.3 ECC Full
170 * Public-Key Validation Routine.
172 * Return: 0 if validation is successful, -EINVAL if validation is failed.
178 * vli_is_zero() - Determine is vli is zero
186 * vli_cmp() - compare left and right vlis
189 * @right: vli
192 * Returns sign of @left - @right, i.e. -1 if @left < @right,
193 * 0 if @left == @right, 1 if @left > @right.
195 int vli_cmp(const u64 *left, const u64 *right, unsigned int ndigits);
198 * vli_sub() - Subtracts right from left
202 * @right vli
205 * Note: can modify in-place.
209 u64 vli_sub(u64 *result, const u64 *left, const u64 *right,
213 * vli_from_be64() - Load vli from big-endian u64 array
222 * vli_from_le64() - Load vli from little-endian u64 array
231 * vli_mod_inv() - Modular inversion
242 * vli_mod_mult_slow() - Modular multiplication
245 * @left: vli number to multiply with @right
246 * @right: vli number to multiply with @left
252 void vli_mod_mult_slow(u64 *result, const u64 *left, const u64 *right,
256 * vli_num_bits() - Counts the number of bits required for vli.
266 * ecc_aloc_point() - Allocate ECC point.
275 * ecc_free_point() - Free ECC point.
282 * ecc_point_is_zero() - Check if point is zero.
291 * ecc_point_mult_shamir() - Add two points multiplied by scalars