Sha256: 426a347b53d5bec86dbda2fffc1df37a72d2c413a211bee7a013939bbff4b2aa

Contents?: true

Size: 506 Bytes

Versions: 3

Compression:

Stored size: 506 Bytes

Contents

require 'fiddle'
require 'fiddle/import'

module Roqs
  module CommonWrapper
   extend Fiddle::Importer
   include Roqs::Wrapper

   #dlload File.join(File.dirname(__FILE__),"..","..","native","linux","x86_64","liboqs.so.0.7.0")
   load_oqs_lib

   extern 'int OQS_MEM_secure_bcmp(const void *a, const void *b, size_t len)'
   extern 'int OQS_MEM_cleanse(const void *ptr, size_t len)'
   extern 'int OQS_MEM_secure_free(void *ptr, size_t len)'
   extern 'int OQS_MEM_insecure_free(void *ptr)'


  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
roqs-0.1.2 lib/roqs/common_wrapper.rb
roqs-0.1.1 lib/roqs/common_wrapper.rb
roqs-0.1.0 lib/roqs/common_wrapper.rb