Lines Matching +full:pk +full:- +full:pk

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
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
150 * @pk: public key as a point
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.
161 struct ecc_point *pk);
164 * ecc_is_pubkey_valid_full() - Full public key validation
167 * @pk: public key as a point
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.
175 struct ecc_point *pk);
178 * vli_is_zero() - Determine is vli is zero
186 * vli_cmp() - compare left and right vlis
192 * Returns sign of @left - @right, i.e. -1 if @left < @right,
198 * vli_sub() - Subtracts right from left
205 * Note: can modify in-place.
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
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