Re: Best Practice of Creating TLS Client /Server in C?

2022-02-11 Thread Matt Caswell
There is a demo echo client and server currently nearing the end of review here: https://github.com/openssl/openssl/pull/17260 Matt On 11/02/2022 21:13, Joseph Chen via openssl-users wrote: Hello, Could someone point me to some good reads or C coed examples for creating a TLS

Re: Best Practice of Creating TLS Client /Server in C?

2022-02-11 Thread Viktor Dukhovni
On Fri, Feb 11, 2022 at 09:13:05PM +, Joseph Chen via openssl-users wrote: > Could someone point me to some good reads or C code examples for > creating a TLS client/server with best practices? Best practices vary between application applications. For example, a Web browser retrieving an

Re: Best Practice of Creating TLS Client /Server in C?

2022-02-11 Thread Steffen Nurpmeso
Viktor Dukhovni wrote in : |On Fri, Feb 11, 2022 at 09:13:05PM +, Joseph Chen via openssl-users \ |wrote: |> Could someone point me to some good reads or C code examples for |> creating a TLS client/server with best practices? ... |In Postfix, you'll find clean, well commented code that

Best Practice of Creating TLS Client /Server in C?

2022-02-11 Thread Joseph Chen via openssl-users
Hello, Could someone point me to some good reads or C coed examples for creating a TLS client/server with best practices? After googling for some time, I am unable to find an recent example of how to create a TLS client/server in C. I even tried compiling and running the

SHA1 Hashing in FIPS Provider

2022-02-11 Thread Kevin Millson
Hello OpenSSL Users, I’m trying to use SHA1 message digest hashing in combination with the FIPS provider, but seem to be running into issues. My code looks like the following: EVP_PKEY* privateKey = getPrivateKey(); EVP_MD_CTX* mdContex = EVP_MD_CTX_new(); if (mdContex != NULL) { const

Re: SHA1 Hashing in FIPS Provider

2022-02-11 Thread Tomas Mraz
On Fri, 2022-02-11 at 08:35 +, Kevin Millson wrote: > Hello OpenSSL Users, >   > I’m trying to use SHA1 message digest hashing in combination with the > FIPS provider, but seem to be running into issues. My code looks like > the following: >   > EVP_PKEY* privateKey = getPrivateKey(); >