OpenSSL bindings for Go
Go to file
Steven Allen adf4e19c17
Merge pull request #2 from libp2p/fix/freebsd
feat: add freebsd support
2019-07-31 14:25:35 -07:00
utils add license 2014-05-09 15:38:13 -06:00
.gitignore openssl 1.1.x support 2017-06-05 18:07:03 -06:00
AUTHORS Ed25519 key support (#103) 2018-09-13 16:07:17 -06:00
bio.go add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
build_static.go feat: add freebsd support 2019-07-26 16:41:04 -07:00
build.go feat: add freebsd support 2019-07-26 16:41:04 -07:00
cert_test.go add support for get/set x509 version 2018-09-05 07:34:06 -06:00
cert.go add m4 and m5 wrappers (#104) 2018-09-13 16:38:26 -06:00
ciphers_gcm.go add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
ciphers_test.go add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
ciphers.go avoid panic while encrypting empty data (#109) 2018-10-17 14:33:07 -06:00
conn.go move to libp2p 2019-06-29 11:53:15 +02:00
ctx_test.go add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
ctx.go Add P521 to defined curves 2018-01-05 16:06:25 -07:00
dh_test.go add shared secret derivation and test for ECDH. 2018-01-05 16:06:15 -07:00
dh.go change error checking style to match existing code. 2018-01-05 16:06:15 -07:00
dhparam.go add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
digest.go add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
engine.go add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
fips.go add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
go.mod move to libp2p 2019-06-29 11:53:15 +02:00
go.sum move to libp2p 2019-06-29 11:53:15 +02:00
hmac_test.go add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
hmac.go add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
hostname.c add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
hostname.go Fix hostname validation with an IPv4 SAN 2018-04-17 08:51:22 -06:00
http.go add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
init_posix.go feat: add freebsd support 2019-07-26 16:41:04 -07:00
init_windows.go set callback thread id on windows 2018-07-26 11:32:16 -06:00
init.go add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
key_test.go feat: add Equal method to compare keys 2019-06-28 13:37:09 +02:00
key.go feat: add Equal method to compare keys 2019-06-28 13:37:09 +02:00
LICENSE add license 2014-05-09 15:38:13 -06:00
mapping.go add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
md4_test.go remove dependency on golang.org/x/crypto in md4 tests 2018-09-13 16:41:04 -06:00
md4.go add m4 and m5 wrappers (#104) 2018-09-13 16:38:26 -06:00
md5_test.go add m4 and m5 wrappers (#104) 2018-09-13 16:38:26 -06:00
md5.go add m4 and m5 wrappers (#104) 2018-09-13 16:38:26 -06:00
net.go add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
nid.go Ed25519 key support (#103) 2018-09-13 16:07:17 -06:00
pem.go add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
README.md move to libp2p 2019-06-29 11:53:15 +02:00
sha1_test.go Make test confom to new requirement enforced in go 1.10 https://tip.golang.org/doc/go1.10#test. With out this change tests will always fails with go 1.10+. 2018-01-17 09:59:19 -07:00
sha1.go add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
sha256_test.go Make test confom to new requirement enforced in go 1.10 https://tip.golang.org/doc/go1.10#test. With out this change tests will always fails with go 1.10+. 2018-01-17 09:59:19 -07:00
sha256.go add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
shim.c add m4 and m5 wrappers (#104) 2018-09-13 16:38:26 -06:00
shim.h add m4 and m5 wrappers (#104) 2018-09-13 16:38:26 -06:00
sni.c add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
ssl_test.go move to libp2p 2019-06-29 11:53:15 +02:00
ssl.go add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
tickets.go add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00

OpenSSL bindings for Go

Please see http://godoc.org/github.com/libp2p/go-openssl for more info

License

Copyright (C) 2017. See AUTHORS.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Using on macOS

  1. Install homebrew
  2. $ brew install openssl or $ brew install openssl@1.1

Using on Windows

  1. Install mingw-w64
  2. Install pkg-config-lite
  3. Build (or install precompiled) openssl for mingw32-w64
  4. Set PKG_CONFIG_PATH to the directory containing openssl.pc (i.e. c:\mingw64\mingw64\lib\pkgconfig)