ffi-hydrogen 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ffi-hydrogen.gemspec +1 -1
- data/lib/ffi/hydrogen.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ccbd8be472cd4723875fdd43e8160ee1a3170cc58d677686fdf375d4fbfdb91d
|
4
|
+
data.tar.gz: a69956b47424d4670dbef066e5e1039b36eb94fff0a2af00c336b312a76e2d2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 608dc549fb320cb3e62498651482b15b67f1d1667fd40c222bf5d37d56e0d9e639dd61290a708daf1de04000e8505293d3f9c41f900b689eff9bc658ffd91e7f
|
7
|
+
data.tar.gz: cf511f398a700940d129803fb502ae71d27087227310b7e489c72983107e49cab0c399172e77d080f79f12dba2aeb2aec8683034f38f0bb0b3ea0a35d162da66
|
data/ffi-hydrogen.gemspec
CHANGED
data/lib/ffi/hydrogen.rb
CHANGED
@@ -9,7 +9,8 @@ module FFI
|
|
9
9
|
KEYBYTES = 32
|
10
10
|
HEADERBYTES = 36
|
11
11
|
|
12
|
-
|
12
|
+
gem_base = ::File.join(::File.dirname(__FILE__), "..", "..")
|
13
|
+
ffi_lib "#{gem_base}/vendor/main.#{::FFI::Platform::LIBSUFFIX}"
|
13
14
|
|
14
15
|
# void hydro_secretbox_keygen(uint8_t key[hydro_secretbox_KEYBYTES])
|
15
16
|
attach_function :_hydro_secretbox_keygen, :hydro_secretbox_keygen, [:pointer], :void
|