Jacob Barthelmeh
|
1326fe1b0d
|
return values of DES set key and return block size for EVP block_size getter function
|
2016-12-28 14:45:29 -07:00 |
|
Jacob Barthelmeh
|
ccc72d72c2
|
change argument to pointer. In most cases NULL is used for this argument, as was the case in previous ports
|
2016-12-28 14:45:29 -07:00 |
|
Jacob Barthelmeh
|
95ea74a91e
|
sanity checks and one function return type for better compatibility
|
2016-12-28 14:45:29 -07:00 |
|
Jacob Barthelmeh
|
724e50c4fd
|
cast flag to byte type from int
|
2016-12-28 14:45:29 -07:00 |
|
Jacob Barthelmeh
|
aabe456592
|
sanity checks, remove some magic numbers, TLS read ahead
|
2016-12-28 14:45:29 -07:00 |
|
Jacob Barthelmeh
|
ed5ff77e4f
|
account for BIO with no filesystem and rebase commits
|
2016-12-28 14:45:29 -07:00 |
|
Jacob Barthelmeh
|
f7737fdc55
|
expand BIO compatibility
|
2016-12-28 14:45:29 -07:00 |
|
Takashi Kojo
|
5a2794fe9c
|
add EVP_MD_CTX_md, EVP_MD_type
|
2016-12-28 14:45:29 -07:00 |
|
Jacob Barthelmeh
|
2b3438e11b
|
pem x509 read from bio and bio set fd
|
2016-12-28 14:45:29 -07:00 |
|
Takashi Kojo
|
80efc366df
|
add wolfSSL_EVP_MD_CTX_new/free
|
2016-12-28 14:45:29 -07:00 |
|
Takashi Kojo
|
b377125ad1
|
add alias to EVP_get_cipher/digestbyname
|
2016-12-28 14:45:29 -07:00 |
|
Takashi Kojo
|
a774f26613
|
add EVP_get_cipherbyname
|
2016-12-28 14:45:29 -07:00 |
|
Takashi Kojo
|
2ef85e3d4d
|
EVP_CIPHER_CTX_new/free, EVP_get_digestbyname
|
2016-12-28 14:45:29 -07:00 |
|
Jacob Barthelmeh
|
64a3333870
|
adjust wolfSSL_set_options and test case
|
2016-12-28 14:45:29 -07:00 |
|
Jacob Barthelmeh
|
2daeecdb90
|
BIO s_socket and BN mod exp
|
2016-12-28 14:45:29 -07:00 |
|
Jacob Barthelmeh
|
e741a24089
|
add get last error and line function, fix ASN1 object redeclaration
|
2016-12-28 14:45:29 -07:00 |
|
Jacob Barthelmeh
|
1d0fc83d40
|
function to add X509 to cert chain
|
2016-12-28 14:45:29 -07:00 |
|
Takashi Kojo
|
280f5cb542
|
fix int long type mismatch
|
2016-12-28 14:45:29 -07:00 |
|
Jacob Barthelmeh
|
1704a8d683
|
expand compatibility layer with write bio function
|
2016-12-28 14:45:29 -07:00 |
|
Takashi Kojo
|
570486b90c
|
add SL_CTX_need/set_tmp_RSA
|
2016-12-28 14:45:29 -07:00 |
|
Takashi Kojo
|
4baf494ddd
|
add EVP_CipherUpdate/Final
|
2016-12-28 14:45:29 -07:00 |
|
Jacob Barthelmeh
|
7e91838d4a
|
memory management and add to compatibility layer
|
2016-12-28 14:45:29 -07:00 |
|
Jacob Barthelmeh
|
ff05c8a7a5
|
expanding compatibility layer
|
2016-12-28 14:45:29 -07:00 |
|
Jacob Barthelmeh
|
9d1cb18616
|
add function X509_get_ext_d2i
|
2016-12-28 14:45:29 -07:00 |
|
Jacob Barthelmeh
|
5f3fa171cd
|
templates wolfSSL_ctrl and wolfSSL_CTX_ctrl
|
2016-12-28 14:44:05 -07:00 |
|
Jacob Barthelmeh
|
79472e11a1
|
add bio.c to dist and implement wolfSSL_check_private_key , wolfSSL_get_server_random
|
2016-12-28 14:44:05 -07:00 |
|
Jacob Barthelmeh
|
fed4ed40a9
|
compatibility functions for X509
|
2016-12-28 14:44:05 -07:00 |
|
Jacob Barthelmeh
|
0d7c259282
|
compatibility functions for ssl cert and private key
|
2016-12-28 14:44:05 -07:00 |
|
Takashi Kojo
|
d8d3cd5269
|
staub: SSL_get_server_random
|
2016-12-28 14:44:05 -07:00 |
|
Takashi Kojo
|
a09a761d07
|
stubs: PEM_read_bio_DSAparams/X509_AUX/PrivateKey,SSL_CTX_get_default_passwd_cb/userdata
|
2016-12-28 14:44:05 -07:00 |
|
Takashi Kojo
|
ee86325ae4
|
template: ERR_peek_last_error_line/print_errors_fp, EVP_add_digest
|
2016-12-28 14:44:05 -07:00 |
|
Takashi Kojo
|
f3435eefbd
|
templates: ASN1_INTEGER_to_BN, BN_mod_exp, CONF_modules_free/unload, DSA_dup_DH
|
2016-12-28 14:44:05 -07:00 |
|
Jacob Barthelmeh
|
f2f52c3ec9
|
add more compatiblity functions
|
2016-12-28 14:44:05 -07:00 |
|
Jacob Barthelmeh
|
6520a77fac
|
DES ECB prototypes
|
2016-12-28 14:44:05 -07:00 |
|
Jacob Barthelmeh
|
8554912d68
|
COMPAT. LAYER : jenkins warnings and build configurations
|
2016-12-28 14:44:05 -07:00 |
|
Takashi Kojo
|
8844554fca
|
Templates BIO/SSL/SSL_CTX_ctrl
|
2016-12-28 14:44:05 -07:00 |
|
Takashi Kojo
|
86014fb0d0
|
add BIO_ctrl and other BIO templates
|
2016-12-28 14:44:05 -07:00 |
|
Takashi Kojo
|
de91e7df03
|
add EVP_Cipher with AES Counter
|
2016-12-28 14:44:05 -07:00 |
|
Takashi Kojo
|
aed9b2d3bb
|
add EVP_CIPHER_CTX_block_size/mode/set_flags/set_padding
|
2016-12-28 14:44:05 -07:00 |
|
Takashi Kojo
|
bb400789b8
|
add EVP_Cipher with EVP_aes_256_ecb()
|
2016-12-28 14:44:05 -07:00 |
|
Jacob Barthelmeh
|
1c17b8eed6
|
static analysis check of null dereference and memory management
|
2016-12-21 16:20:18 -07:00 |
|
David Garske
|
45d26876c8
|
Moved wolfSSL_GetEccKey logic to internal.c and use only for PK_CALLBACK. Added other ECC key info to the EccSharedSecretCb. Cleanup of the "if (ssl->ctx->EccSharedSecretCb == NULL)" logic to revert indent so changes are minimized. Removed new wolfSSL_GetEccKey API.
|
2016-12-07 07:57:55 -08:00 |
|
David Garske
|
eaca90db28
|
New Atmel support (WOLFSSL_ATMEL) and port for ATECC508A (WOLFSSL_ATECC508A). Adds wolfCrypt support for ECC Hardware acceleration using the ATECC508A. Adds new PK callback for ECC shared secret. Fixed missing "wc_InitRng_ex" when using "CUSTOM_RAND_GENERATE_BLOCK". Added ATECC508A RNG block function for P-RNG bypass ability. Added internal "wolfSSL_GetEccPrivateKey" function for getting reference to private key for ECC shared secret (used in test.h for testing PK_CALLBACK mode). Added README.md for using the Atmel ATECC508A port.
|
2016-12-07 07:57:55 -08:00 |
|
David Garske
|
039aedcfba
|
Added "wolfSSL_use_certificate_chain_buffer_format". Added "wolfSSL_SESSION_CIPHER_get_name" to get cipher suite name using WOLFSSL_SESSION*. Moved the "wolfSSL_get_cipher_name_from_suite" function to internal.c. Added new server-cert-chain.der, which is combination of ca-cert.der and server-cert.der. Enhanced load_buffer to detect format using file extension. Can test use of DER cert chain with NO_FILESYSTEM defined using "./examples/server/server -c ./certs/server-cert-chain.der -k ./certs/server-key.der".
|
2016-11-30 16:26:02 -08:00 |
|
David Garske
|
3d920b23a0
|
Fix for building with NO_ERROR_STRINGS.
|
2016-11-30 16:26:02 -08:00 |
|
David Garske
|
7a35d904c2
|
Added new API "wolfSSL_CIPHER_get_name_from_suite" to allow use of the cipherSuite and cipherSuite0 args directly to get cipher suite name. Changed "wolfSSL_CIPHER_get_name" to call new API (based on original). ASN change to allow ToTraditional and SetName for OPENSSL_EXTRA.
|
2016-11-30 16:26:02 -08:00 |
|
David Garske
|
c3c3419138
|
Added processing of user cert chain in DER format. Added arg check on "wolfSSL_get_certificate" to fix NULL dereference if certificate not yet set via "wolfSSL_use_certificate_buffer" or "wolfSSL_use_certificate_file". Added "wolfSSL_CTX_use_certificate_chain_buffer_format" to expose way to import certificate chain buffer as ASN1 (since "wolfSSL_CTX_use_certificate_chain_buffer" assumes PEM) . Changed ProcessFile from static and added as local in internal.h.
|
2016-11-30 16:26:01 -08:00 |
|
toddouska
|
8f89d4922f
|
allow separate set fds for read/write, helpful for DTLS multicast
|
2016-11-30 11:15:57 -08:00 |
|
toddouska
|
f922d3f2d6
|
Merge pull request #624 from SparkiDev/sha224
SHA224 implementation added
|
2016-11-15 13:53:34 -08:00 |
|
toddouska
|
1a7fe0d4c5
|
fix non ecc_make_key init_mulit potential problems
|
2016-11-14 12:49:42 -08:00 |
|