1
0
mirror of https://github.com/libp2p/go-openssl.git synced 2025-03-26 13:40:09 +08:00
OpenSSL bindings for Go
Go to file
Scott Kidder 535a60be66 HMAC functions
Resolves 

Author:    Scott Kidder <skidder@brightcove.com>
Date:      Fri May 22 10:41:35 2015 -0700

	First commit of HMAC functions
	Renamed HMAC Update function to Write
	Eliminate debug logging
	Compare the HMAC result
	Call Reset function in Final return statement
2017-03-03 12:35:14 -07:00
utils add license 2014-05-09 15:38:13 -06:00
bio.go fixes for go1.6 2016-03-24 14:41:08 +00:00
build.go add flags to work with homebrew openssl by default 2017-03-02 15:14:35 -07:00
cert_test.go fix a leak and compiler error 2015-11-29 11:45:32 -07:00
cert.go HMAC functions 2017-03-03 12:35:14 -07:00
ciphers_gcm.go fix taking address of first element of empty byte slice 2014-06-30 17:21:08 -06:00
ciphers_test.go Fix init'ing non-authenticated decryption contexts 2014-12-19 02:32:36 -06:00
ciphers.go Fix init'ing non-authenticated decryption contexts 2014-12-19 02:32:36 -06:00
conn.go expose information about the *SSL on the *Conn 2017-03-02 15:14:35 -07:00
ctx_test.go use time.Duration instead of int to specify session timeout 2015-05-14 09:17:34 +03:00
ctx.go add SNI (RFC 6066) 2015-11-29 11:31:05 -07:00
dhparam.go added diffie-hellman parameter functions. allows using DHE-* cipher suites 2014-12-10 20:38:24 -05:00
digest.go support session resumption and hooking into the ticket callback 2015-06-09 20:31:03 +00:00
engine.go add license 2014-05-09 15:38:13 -06:00
fips.go lock OS thread when changing FIPS mode 2016-11-28 19:43:27 -05:00
hmac_test.go HMAC functions 2017-03-03 12:35:14 -07:00
hmac.go HMAC functions 2017-03-03 12:35:14 -07:00
hostname.c fix bug with hostname validation on newer openssl 2017-03-02 15:14:35 -07:00
hostname.go fix bug with hostname validation on newer openssl 2017-03-02 15:14:35 -07:00
http.go add license 2014-05-09 15:38:13 -06:00
init_posix.go windows mingw support 2014-06-30 17:21:08 -06:00
init_windows.go use pkgconfig on windows too 2014-08-15 17:26:29 -06:00
init.go fixes for go1.6 2016-03-24 14:41:08 +00:00
key_test.go adding GenerateRSAKeyWithExponent 2016-08-09 18:51:09 -06:00
key.go adding GenerateRSAKeyWithExponent 2016-08-09 18:51:09 -06:00
LICENSE add license 2014-05-09 15:38:13 -06:00
mapping.go fixes for go1.6 2016-03-24 14:41:08 +00:00
net.go support session resumption and hooking into the ticket callback 2015-06-09 20:31:03 +00:00
nid.go restructure certs/keys; add key/cert generation 2014-11-18 17:47:07 -08:00
old_openssl_compat.go fix darwin build 2014-10-09 11:25:36 -06:00
oracle_stubs.go add license 2014-05-09 15:38:13 -06:00
pem.go add pem.go with SplitPEM function 2014-11-18 23:25:48 -08:00
README.md fix mingw-w64 url path 2014-06-19 08:55:29 +03:00
sha1_test.go add license 2014-05-09 15:38:13 -06:00
sha1.go add license 2014-05-09 15:38:13 -06:00
sha256_test.go add license 2014-05-09 15:38:13 -06:00
sha256.go add license 2014-05-09 15:38:13 -06:00
sni_test.go add SNI (RFC 6066) 2015-11-29 11:31:05 -07:00
sni.c add SNI (RFC 6066) 2015-11-29 11:31:05 -07:00
ssl_test.go case change 2014-05-13 09:44:10 -06:00
ssl.go expose information about the *SSL on the *Conn 2017-03-02 15:14:35 -07:00
tickets.c support session resumption and hooking into the ticket callback 2015-06-09 20:31:03 +00:00
tickets.go support session resumption and hooking into the ticket callback 2015-06-09 20:31:03 +00:00
verify.c add SNI (RFC 6066) 2015-11-29 11:31:05 -07:00

OpenSSL bindings for Go

Please see http://godoc.org/github.com/spacemonkeygo/openssl for more info

License

Copyright (C) 2014 Space Monkey, Inc.

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 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)