#include "gnunet_common.h"
#include "gnunet_util_lib.h"
#include <gcrypt.h>
#include <stdio.h>
#include <sodium.h>
Go to the source code of this file.
Functions | |
static void | eddsa_pub_to_hpke_key (struct GNUNET_CRYPTO_EddsaPublicKey *edpk, struct GNUNET_CRYPTO_EcdhePublicKey *pk) |
int | main (int argc, char *const *argv) |
The main function of the test vector generation tool. More... | |
Variables | |
static uint8_t | seed = 6 |
static uint8_t | skRmBytes [32] |
static uint8_t | pkRmBytes [32] |
static uint8_t | skEmBytes [32] |
|
static |
Definition at line 56 of file gnunet-elligator-tvg.c.
References GNUNET_CRYPTO_hpke_pk_to_x25519(), GNUNET_PUBLIC_KEY_TYPE_EDDSA, key, and pk.
Referenced by main().
int main | ( | int | argc, |
char *const * | argv | ||
) |
The main function of the test vector generation tool.
argc | number of arguments from the command line |
argv | command line arguments |
Definition at line 74 of file gnunet-elligator-tvg.c.
References GNUNET_HashCode::bits, GNUNET_CRYPTO_EddsaPrivateKey::d, GNUNET_CRYPTO_ElligatorEcdhePrivateKey::d, eddsa_pub_to_hpke_key(), enc, GNUNET_CRYPTO_ecdhe_elligator_key_get_public_norand(), GNUNET_CRYPTO_hpke_elligator_kem_encaps_norand(), GNUNET_print_bytes(), key, pkRmBytes, GNUNET_CRYPTO_EddsaPublicKey::q_y, GNUNET_CRYPTO_EcdhePublicKey::q_y, seed, skEmBytes, and skRmBytes.
|
static |
Definition at line 32 of file gnunet-elligator-tvg.c.
Referenced by derive_auth_key(), derive_h(), derive_iv(), derive_pong_iv(), GNUNET_CRYPTO_cs_r_derive(), GNUNET_CRYPTO_edx25519_key_create(), GNUNET_CRYPTO_edx25519_key_create_from_seed(), GNUNET_CRYPTO_edx25519_private_key_derive(), GNUNET_CRYPTO_edx25519_public_key_derive(), GNUNET_CRYPTO_seed_weak_random(), main(), and output_vectors().
|
static |
Definition at line 34 of file gnunet-elligator-tvg.c.
Referenced by main().
|
static |
Definition at line 41 of file gnunet-elligator-tvg.c.
Referenced by main().
|
static |
Definition at line 48 of file gnunet-elligator-tvg.c.
Referenced by main().