Module: JWT::PQ::LibOQS Private
- Extended by:
- FFI::Library
- Defined in:
- lib/jwt/pq/liboqs.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
FFI bindings for liboqs signature operations.
Library search order:
- OQS_LIB environment variable (explicit path)
- Vendored liboqs (compiled during gem install)
- System-installed liboqs (via standard library search)
Constant Summary collapse
- OQS_SUCCESS =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
0- OQS_ERROR =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
-1
Class Method Summary collapse
- .lib_path ⇒ Object private
Class Method Details
.lib_path ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
21 22 23 24 25 26 27 28 29 30 31 |
# File 'lib/jwt/pq/liboqs.rb', line 21 def self.lib_path # 1. Explicit path from environment return ENV["OQS_LIB"] if ENV["OQS_LIB"] # 2. Vendored library (compiled during gem install) vendored = vendored_lib_path return vendored if vendored # 3. System library "oqs" end |