Lines Matching +full:left +full:- +full:most
46 * ecc_swap_digits() - Copy ndigits from big endian array to native array
57 out[i] = get_unaligned_be64(&src[ndigits - 1 - i]); in ecc_swap_digits()
61 * ecc_digits_from_bytes() - Create ndigits-sized digits array from byte array
67 * The first byte in the input byte array is expected to hold the most
74 * ecc_is_key_valid() - Validate a given ECDH private key
87 * ecc_gen_privkey() - Generates an ECC private key.
102 * ecc_make_pub_key() - Compute an ECC public key
116 * crypto_ecdh_shared_secret() - Compute a shared secret
135 * ecc_is_pubkey_valid_partial() - Partial public key validation
140 * Valdiate public key according to SP800-56A section 5.6.2.3.4 ECC Partial
141 * Public-Key Validation Routine.
146 * Return: 0 if validation is successful, -EINVAL if validation is failed.
152 * ecc_is_pubkey_valid_full() - Full public key validation
157 * Valdiate public key according to SP800-56A section 5.6.2.3.3 ECC Full
158 * Public-Key Validation Routine.
160 * Return: 0 if validation is successful, -EINVAL if validation is failed.
166 * vli_is_zero() - Determine is vli is zero
174 * vli_cmp() - compare left and right vlis
176 * @left: vli
180 * Returns sign of @left - @right, i.e. -1 if @left < @right,
181 * 0 if @left == @right, 1 if @left > @right.
183 int vli_cmp(const u64 *left, const u64 *right, unsigned int ndigits);
186 * vli_sub() - Subtracts right from left
189 * @left: vli
193 * Note: can modify in-place.
197 u64 vli_sub(u64 *result, const u64 *left, const u64 *right,
201 * vli_from_be64() - Load vli from big-endian u64 array
210 * vli_from_le64() - Load vli from little-endian u64 array
219 * vli_mod_inv() - Modular inversion
230 * vli_mod_mult_slow() - Modular multiplication
233 * @left: vli number to multiply with @right
234 * @right: vli number to multiply with @left
240 void vli_mod_mult_slow(u64 *result, const u64 *left, const u64 *right,
244 * vli_num_bits() - Counts the number of bits required for vli.
254 * ecc_aloc_point() - Allocate ECC point.
263 * ecc_free_point() - Free ECC point.
270 * ecc_point_is_zero() - Check if point is zero.
279 * ecc_point_mult_shamir() - Add two points multiplied by scalars