nettle
3.1.1
About: Nettle is a low-level cryptographic library.
![]() ![]() |
#include "nettle-types.h"
Go to the source code of this file.
Macros | |
#define | curve25519_mul_g nettle_curve25519_mul_g |
#define | curve25519_mul nettle_curve25519_mul |
#define | CURVE25519_SIZE 32 |
Functions | |
void | curve25519_mul_g (uint8_t *q, const uint8_t *n) |
void | curve25519_mul (uint8_t *q, const uint8_t *n, const uint8_t *p) |
#define curve25519_mul nettle_curve25519_mul |
Definition at line 43 of file curve25519.h.
#define curve25519_mul_g nettle_curve25519_mul_g |
Definition at line 42 of file curve25519.h.
#define CURVE25519_SIZE 32 |
Definition at line 45 of file curve25519.h.
Referenced by curve25519_mul(), and curve25519_mul_g().
void curve25519_mul | ( | uint8_t * | q, |
const uint8_t * | n, | ||
const uint8_t * | p | ||
) |
Definition at line 45 of file curve25519-mul.c.
References _nettle_curve25519, A, AA, B, BB, C, CB, cnd_copy, cnd_swap, CURVE25519_SIZE, D, DA, E, ecc_modp_add, ecc_modp_addmul_1, ecc_modp_mul, ecc_modp_sqr, ecc_modp_sub, gmp_alloc_limbs, gmp_free_limbs, ecc_modulo::invert, ecc_modulo::m, mpn_copyi, mpn_get_base256_le, mpn_set_base256_le, mpn_sub_n(), mpn_zero, ecc_curve::p, ecc_modulo::size, x1, x2, x3, z2, and z3.
void curve25519_mul_g | ( | uint8_t * | q, |
const uint8_t * | n | ||
) |
Definition at line 45 of file curve25519-mul-g.c.
References _nettle_curve25519, curve25519_eh_to_x, CURVE25519_SIZE, ecc_mul_g_eh, gmp_alloc_limbs, gmp_free_limbs, mpn_get_base256_le, mpn_set_base256_le, ecc_curve::mul_g_itch, ng, ecc_curve::p, scratch_out, ecc_modulo::size, ecc_curve::t, and x.