Steven Fackler
|
f36f610d07
|
Move HMAC_CTX_copy to sys-extras
|
2015-11-16 20:16:01 -08:00 |
Steven Fackler
|
a8a10e64ad
|
Split stuff requiring a shim out to a separate crate
|
2015-11-16 20:16:01 -08:00 |
Steven Fackler
|
b0cb0f7c40
|
Revert "Use AsRef for backwards compatibility with passing IV as Vec"
This reverts commit d2d20a8377.
|
2015-11-16 20:16:01 -08:00 |
Thom May
|
11e3b1b563
|
Provide public_decrypt, private_encrypt for PKEY
|
2015-10-28 18:15:55 +00:00 |
Steven Fackler
|
81bc1edb61
|
Merge pull request #284 from bheart/cfb-mode
AES CFB-mode feature
|
2015-10-12 21:18:27 -04:00 |
Will Tange
|
acbcb49414
|
AES CFB{1,8,128} mode support
|
2015-10-11 20:09:36 +02:00 |
Nathan Lilienthal
|
ffa9d330fd
|
Add public key PEM read function.
|
2015-10-01 20:33:12 -04:00 |
Steven Fackler
|
f4bf55faa3
|
Merge pull request #270 from mvdnes/crypto_segv
Check if public/private RSA key is properly loaded
|
2015-09-11 11:31:15 -04:00 |
Mathijs van de Nes
|
87d5c0e429
|
Fix one call to RSA_size found by tests
|
2015-09-11 09:24:24 +02:00 |
Mathijs van de Nes
|
3be32528e5
|
Add tests to ensure a panic occurs instead of segv
|
2015-09-11 09:23:51 +02:00 |
Mathijs van de Nes
|
0eb2f0ecfa
|
Check rsa.is_null() before passing it to RSA_size
RSA_size will cause an segmentation fault if it is null
|
2015-09-10 13:04:25 +02:00 |
Mathijs van de Nes
|
02b109bf04
|
Check _fromstr function for success
|
2015-09-10 12:58:40 +02:00 |
Alex Gaynor
|
4781a3304a
|
Make the docs say that load_pub/save_pub methods take DER bytes
|
2015-09-09 19:58:45 -04:00 |
Edward Barnard
|
8067565707
|
Expose EVP_BytesToKey
This is based on work by pyrho.
Closes #88
|
2015-08-23 17:08:18 +07:00 |
Steven Fackler
|
02dc3eda2f
|
Merge pull request #242 from awelkie/master
Added AES CTR-mode under feature flag.
|
2015-08-02 22:25:09 -04:00 |
Andrew Dunham
|
ab7bfad225
|
Add function to write RSA public key as PEM
|
2015-07-23 22:30:07 -07:00 |
Allen Welkie
|
b478c29151
|
Added AES CTR-mode under feature flag.
|
2015-07-15 20:45:18 -04:00 |
Steven Fackler
|
cb7248d8cb
|
Import shim'd HMAC stuff with the original name
|
2015-06-27 15:23:19 -07:00 |
Jethro Beekman
|
2c18bc7f52
|
Remove superfluous vec! usage
|
2015-06-14 21:56:48 -07:00 |
Jethro Beekman
|
d2d20a8377
|
Use AsRef for backwards compatibility with passing IV as Vec
|
2015-06-14 21:56:23 -07:00 |
Jethro Beekman
|
cbf0cbafbf
|
Pass symmetric crypto initialization vector as a slice
Note: This change is backwards-incompatible. Users will need to add turn their
parameters into references.
|
2015-06-12 18:38:52 -07:00 |
Emeric Chevalier
|
7320c1619f
|
Correction on sign and verify documentation to be more explicit of right
behaviour (no hash done by the functions).
|
2015-05-30 13:08:45 +02:00 |
Manuel Schölling
|
b0bcb44556
|
Move PKey comparison func to public_eq()
|
2015-05-01 10:58:15 +02:00 |
Manuel Schölling
|
123d400277
|
Add comparison for PKeys
|
2015-04-16 17:14:21 +02:00 |
Manuel Schölling
|
7db00b97ba
|
Add X509::public_key()
|
2015-04-15 22:59:07 +02:00 |
Manuel Schölling
|
b6c5c113f5
|
Add SslContext::add_extra_chain_cert()
|
2015-04-03 14:34:24 +02:00 |
Manuel Schölling
|
632d8398cf
|
Add ability to load private keys from files and use raw keys and certificates for SslContext
|
2015-04-03 14:34:24 +02:00 |
Alex Crichton
|
293f1ce5b1
|
Fixup for beta
Add derive(Clone) and don't negate unsigned numbers
|
2015-04-02 18:14:51 -07:00 |
Steven Fackler
|
19a24b80e9
|
Fix doctest errors
|
2015-04-02 11:15:59 -07:00 |
Steven Fackler
|
36c90bb205
|
Fix deprecation warnings
|
2015-03-25 21:50:21 -07:00 |
Steven Fackler
|
b406b7c6e6
|
Fix doc test
|
2015-03-21 10:00:00 -07:00 |
Steven Fackler
|
a65b03c89e
|
Fix warnings
|
2015-03-10 19:38:44 -07:00 |
Steven Fackler
|
6991cc6a30
|
Convert to new IO.
|
2015-02-24 23:01:57 -08:00 |
Kevin Butler
|
cb0e1688c8
|
Update depreciated code
|
2015-02-20 21:04:01 +00:00 |
Steven Fackler
|
2fa1571e2e
|
Remove deprecated functions from openssl-sys
|
2015-02-13 23:31:00 -08:00 |
Steven Fackler
|
6ef819f971
|
Fix builds against 0.9.x OpenSSL
Namely builds on OSX
|
2015-02-08 23:31:46 -08:00 |
Steven Fackler
|
ec65b0c67b
|
Move docs to this repo and auto build
|
2015-02-07 21:30:05 -08:00 |