Sha256: d3a03b325ec2b055db803b8e28be2e696ab975e9756877a742d193fe8c657a0c
Contents?: true
Size: 1.14 KB
Versions: 1
Compression:
Stored size: 1.14 KB
Contents
require 'fiddle' require 'fiddle/import' module Oqs extend Fiddle::Importer 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)" ] end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
liboqs-0.1.0 | lib/oqs/struct.rb |