Module: Oqs

Extended by:
Fiddle::Importer
Defined in:
lib/oqs.rb,
lib/oqs/kem.rb,
lib/oqs/sig.rb,
lib/oqs/global.rb,
lib/oqs/struct.rb,
lib/oqs/version.rb,
lib/oqs/wrapper.rb,
lib/oqs/kem_wrapper.rb,
lib/oqs/sig_wrapper.rb,
lib/oqs/common_wrapper.rb

Defined Under Namespace

Modules: CommonWrapper, KEMWrapper, SIGWrapper, Wrapper Classes: Error, Global, KEM, SIG

Constant Summary collapse

OQS_ERROR =

OQS_STATUS

-1
OQS_SUCCESS =
0
OQS_EXTERNAL_LIB_ERROR_OPENSSL =
50
OQS_KEM =
struct [
  "const char * intrinsic_name",
  "const char * algo_version",
  "uint8_t claimed_nist_level",
  "int ind_cca",
  "size_t length_public_key",
  "size_t length_secret_key",
  "size_t length_ciphertext",
  "size_t length_shared_secret",
  "int (*keypair)(uint8_t *pubKey, uint8_t* secretKey)",
  "int (*encaps)(uint8_t *cipher_text, uint8_t* shared_secret, const unit8_t * pubKey)",
  "int (*decaps)(uint8_t *shared_secret, uint8_t* cipher_text, const unit8_t * secretKey)"
]
OQS_SIG =
struct [
  "const char * intrinsic_name",
  "const char * algo_version",
  "uint8_t claimed_nist_level",
  "int euf_cma",
  "size_t length_public_key",
  "size_t length_secret_key",
  "size_t length_signature",
  "int (*keypair)(uint8_t *pubKey, uint8_t* secretKey)",
  "int (*sign)(uint8_t *signature, size_t signature_len, const uint8_t* message, size_t message_len, const unit8_t * secretKey)",
  "int (*verify)(uint8_t *message, size_t message_len, const uint8_t* signature, size_t signature_len, const unit8_t * pubKey)"
]
VERSION =
"0.1.0"