Lux GPU Core 0.2.0
Lightweight plugin-based GPU acceleration for blockchain and ML
Loading...
Searching...
No Matches
crypto.h File Reference
#include <stdint.h>
#include <stddef.h>

Go to the source code of this file.

Data Structures

struct  LuxScalar256
 
struct  LuxFp384
 
struct  LuxG1Affine254
 
struct  LuxG1Projective254
 
struct  LuxG1Affine381
 
struct  LuxG1Projective381
 
struct  LuxFp2_381
 
struct  LuxG2Affine381
 
struct  LuxG2Projective381
 
struct  LuxFp12_381
 

Typedefs

typedef uint64_t LuxGoldilocks
 

Enumerations

enum  LuxCryptoError {
  LUX_CRYPTO_OK = 0 , LUX_CRYPTO_ERROR_INVALID_ARG = 1 , LUX_CRYPTO_ERROR_OUT_OF_MEMORY = 2 , LUX_CRYPTO_ERROR_NOT_SUPPORTED = 3 ,
  LUX_CRYPTO_ERROR_INVALID_CURVE = 4 , LUX_CRYPTO_ERROR_INVALID_POINT = 5 , LUX_CRYPTO_ERROR_DEVICE_ERROR = 6
}
 

Typedef Documentation

◆ LuxGoldilocks

typedef uint64_t LuxGoldilocks

Definition at line 35 of file crypto.h.

Enumeration Type Documentation

◆ LuxCryptoError

Enumerator
LUX_CRYPTO_OK 
LUX_CRYPTO_ERROR_INVALID_ARG 
LUX_CRYPTO_ERROR_OUT_OF_MEMORY 
LUX_CRYPTO_ERROR_NOT_SUPPORTED 
LUX_CRYPTO_ERROR_INVALID_CURVE 
LUX_CRYPTO_ERROR_INVALID_POINT 
LUX_CRYPTO_ERROR_DEVICE_ERROR 

Definition at line 109 of file crypto.h.