Module: Secp256k1::C
Overview
C interface
Class Method Summary collapse
-
.ecdh_hash_function_default ⇒ FFI::Pointer
Pointer to secp256k1_ecdh_hash_function_default constant.
-
.ecdh_hash_function_sha256 ⇒ FFI::Pointer
Pointer to secp256k1_ecdh_hash_function_sha256 constant (the default ECDH hash function).
-
.ellswift_xdh_hash_function_bip324 ⇒ FFI::Pointer
Pointer to secp256k1_ellswift_xdh_hash_function_bip324 constant.
Class Method Details
.ecdh_hash_function_default ⇒ FFI::Pointer
Pointer to secp256k1_ecdh_hash_function_default constant.
111 112 113 |
# File 'lib/secp256k1/c.rb', line 111 def self.ecdh_hash_function_default FFI::Pointer.new(secp256k1_ecdh_hash_function_default) end |
.ecdh_hash_function_sha256 ⇒ FFI::Pointer
Pointer to secp256k1_ecdh_hash_function_sha256 constant (the default ECDH hash function).
105 106 107 |
# File 'lib/secp256k1/c.rb', line 105 def self.ecdh_hash_function_sha256 FFI::Pointer.new(secp256k1_ecdh_hash_function_sha256) end |
.ellswift_xdh_hash_function_bip324 ⇒ FFI::Pointer
Pointer to secp256k1_ellswift_xdh_hash_function_bip324 constant.
99 100 101 |
# File 'lib/secp256k1/c.rb', line 99 def self.ellswift_xdh_hash_function_bip324 FFI::Pointer.new(secp256k1_ellswift_xdh_hash_function_bip324) end |