Hidekatsu Izuno
c4cbf496c7
Add ecx support
2020-09-13 23:48:53 +09:00
Kris Kwiatkowski
5be8a5e9f4
adding PKE interface
...
The patch adds PKE interface functions, namely:
EVP_PKEY_encrypt_init
EVP_PKEY_encrypt
EVP_PKEY_decrypt_init
EVP_PKEY_decrypt
Additionally it adds functions for getting and
setting public and private key to/from byte array.
EVP_PKEY_get_raw_public_key
EVP_PKEY_new_raw_public_key
EVP_PKEY_get_raw_private_key
EVP_PKEY_new_raw_private_key
Finally it also adds a function for getting NID
of a scheme by it's name (SN).
2020-06-03 23:46:32 +00:00
Steven Fackler
406031991f
Run rustfmt on github actions
2020-05-24 10:39:01 -07:00
Henrik Böving
f34e9b993d
ocb is only available in openssl 1.1 and later
2020-05-09 01:02:34 +02:00
Henrik Böving
963e3994a5
Add support for AES-OCB mode
2020-05-08 23:16:13 +02:00
Hiroki Noda
78c1e2409d
Add EVP_EncryptInit_ex/EVP_EncryptFinish_ex, and the equivalently named
...
decrypt functions
Some functions including low level AES functions would be deprecated
in next OpenSSL version(3.0).
OpenSSL team says that application should use the high level EVP APIs,
so I added these functions.
See also:
https://github.com/openssl/openssl/pull/10580
https://github.com/openssl/openssl/pull/10740
2020-01-25 00:49:47 +09:00
oberien
4b2d46c252
Fix pointer constness correctly
2019-12-01 03:38:31 +01:00
oberien
a042edd134
Change *const to *mut to try if it fixes tests
2019-12-01 03:29:57 +01:00
oberien
4218e121d0
move EVP_PKCS82PKEY into evp module
2019-12-01 03:15:52 +01:00
fengyingcai
288b189de0
Add EVP_md_null() and MessageDigest::md_null()
2019-11-22 16:33:15 +08:00
Adam Reichold
bcbebbcace
Expose EVP_{Encode,Decode}Block interfaces for base64 coding
2019-11-14 10:06:24 +01:00
Steven Fackler
7ce0835b74
Implement Clone for PKey
2019-10-01 18:45:10 -07:00
Sebastian Sturm
bdede43afe
Added support for Ed25519 and Ed448 signatures
2019-08-16 11:15:04 +02:00
Leo
88c5bd81c7
Add AES-192 and OFB mode
2019-07-06 17:11:37 +08:00
Vojtěch Pejša
865c613de3
Fix requiret ossl version for EVP_PKEY_size
2019-04-23 12:36:42 +02:00
Vojtěch Pejša
f40a328d43
Remove unnecessary version req and clean up param names.
2019-04-18 10:47:50 +02:00
Vojtěch Pejša
63c7bda0c2
Add minimum ossl version.
2019-04-15 13:41:54 +02:00
Vojtěch Pejša
08879ed512
Add EVP_Seal and EVP_Open
2019-04-15 00:54:49 +02:00
Nathaniel McCallum
d9cb5433b1
Expose EVP_MD_type()
...
This gives us the ability to get the Nid from a MessageDigest.
2019-03-19 11:10:35 -04:00
Ryuichi Okumura
899fc30e9b
Change from EVP_des_ede3_cfb to EVP_des_ede3_cfb64
2019-02-18 19:35:00 +09:00
Ryuichi Okumura
941a69a4d2
Add des_ede3_cfb symm cipher
2019-02-17 22:21:01 +09:00
Sameer
e0e0a96cb3
Add new SHA3 EVP message digest functions in OpenSSL 1.1.1
2018-11-21 15:31:50 -05:00
Steven Fackler
8c6bc774db
Support libressl 2.8.0
...
Closes #988
2018-09-12 20:44:22 -07:00
Steven Fackler
93a4e96255
Refactor openssl-sys
...
The old layout tried to structure itself by version but it ended up with
a lot of duplication. Instead, follow the structure of the header files.
2018-09-12 19:21:18 -07:00