Classes | Typedefs | Enumerations | Functions
third_party/boringssl-with-bazel/src/crypto/curve25519/internal.h File Reference
#include <openssl/base.h>
#include "../internal.h"
Include dependency graph for third_party/boringssl-with-bazel/src/crypto/curve25519/internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fe
 
struct  fe_loose
 
struct  ge_cached
 
struct  ge_p1p1
 
struct  ge_p2
 
struct  ge_p3
 
struct  ge_precomp
 
struct  spake2_ctx_st
 

Typedefs

typedef struct fe fe
 
typedef struct fe_loose fe_loose
 

Enumerations

enum  spake2_state_t { spake2_state_init = 0, spake2_state_msg_generated, spake2_state_key_generated }
 

Functions

void x25519_ge_add (ge_p1p1 *r, const ge_p3 *p, const ge_cached *q)
 
int x25519_ge_frombytes_vartime (ge_p3 *h, const uint8_t s[32])
 
void x25519_ge_p1p1_to_p2 (ge_p2 *r, const ge_p1p1 *p)
 
void x25519_ge_p1p1_to_p3 (ge_p3 *r, const ge_p1p1 *p)
 
void x25519_ge_p3_to_cached (ge_cached *r, const ge_p3 *p)
 
void x25519_ge_scalarmult (ge_p2 *r, const uint8_t *scalar, const ge_p3 *A)
 
void x25519_ge_scalarmult_base (ge_p3 *h, const uint8_t a[32])
 
void x25519_ge_scalarmult_small_precomp (ge_p3 *h, const uint8_t a[32], const uint8_t precomp_table[15 *2 *32])
 
void x25519_ge_sub (ge_p1p1 *r, const ge_p3 *p, const ge_cached *q)
 
void x25519_ge_tobytes (uint8_t s[32], const ge_p2 *h)
 
void x25519_sc_reduce (uint8_t s[64])
 

Typedef Documentation

◆ fe

typedef struct fe fe

◆ fe_loose

typedef struct fe_loose fe_loose

Enumeration Type Documentation

◆ spake2_state_t

Enumerator
spake2_state_init 
spake2_state_msg_generated 
spake2_state_key_generated 

Definition at line 121 of file third_party/boringssl-with-bazel/src/crypto/curve25519/internal.h.

Function Documentation

◆ x25519_ge_add()

void x25519_ge_add ( ge_p1p1 r,
const ge_p3 p,
const ge_cached q 
)

Definition at line 673 of file curve25519.c.

◆ x25519_ge_frombytes_vartime()

int x25519_ge_frombytes_vartime ( ge_p3 h,
const uint8_t  s[32] 
)

Definition at line 503 of file curve25519.c.

◆ x25519_ge_p1p1_to_p2()

void x25519_ge_p1p1_to_p2 ( ge_p2 r,
const ge_p1p1 p 
)

Definition at line 591 of file curve25519.c.

◆ x25519_ge_p1p1_to_p3()

void x25519_ge_p1p1_to_p3 ( ge_p3 r,
const ge_p1p1 p 
)

Definition at line 598 of file curve25519.c.

◆ x25519_ge_p3_to_cached()

void x25519_ge_p3_to_cached ( ge_cached r,
const ge_p3 p 
)

Definition at line 583 of file curve25519.c.

◆ x25519_ge_scalarmult()

void x25519_ge_scalarmult ( ge_p2 r,
const uint8_t scalar,
const ge_p3 A 
)

Definition at line 882 of file curve25519.c.

◆ x25519_ge_scalarmult_base()

void x25519_ge_scalarmult_base ( ge_p3 h,
const uint8_t  a[32] 
)

Definition at line 823 of file curve25519.c.

◆ x25519_ge_scalarmult_small_precomp()

void x25519_ge_scalarmult_small_precomp ( ge_p3 h,
const uint8_t  a[32],
const uint8_t  precomp_table[15 *2 *32] 
)

Definition at line 724 of file curve25519.c.

◆ x25519_ge_sub()

void x25519_ge_sub ( ge_p1p1 r,
const ge_p3 p,
const ge_cached q 
)

Definition at line 691 of file curve25519.c.

◆ x25519_ge_tobytes()

void x25519_ge_tobytes ( uint8_t  s[32],
const ge_p2 h 
)

Definition at line 479 of file curve25519.c.

◆ x25519_sc_reduce()

void x25519_sc_reduce ( uint8_t  s[64])

Definition at line 1057 of file curve25519.c.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:20