Sha256: 2377cd10c4cd4592723b3d5ed0301a8e52730e4f9c4c28560bfffc50a9820788

Contents?: true

Size: 504 Bytes

Versions: 1

Compression:

Stored size: 504 Bytes

Contents

require 'fiddle'
require 'fiddle/import'

module Oqs
  module CommonWrapper
   extend Fiddle::Importer
   include Oqs::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

1 entries across 1 versions & 1 rubygems

Version Path
liboqs-0.1.0 lib/oqs/common_wrapper.rb