Questions tagged [polarssl]

PolarSSL is a light-weight (embedded) open source cryptographic and SSL/TLS library written in C that is easy to understand, easy to use, easy to integrate and easy to expand.

PolarSSL is a light-weight (embedded) open source cryptographic and SSL/TLS library written in C that is easy to understand, easy to use, easy to integrate and easy to expand.

Questions tagged polarssl should be directly related to the library, its API or its application to problems. Questions about SSL/TLS in general should not be tagged polarssl.

50 questions
0
votes
0 answers

Segmentation fault in polarssl read function

I am attempting to create an SSL server with Polarssl. The program compiles and runs, however I encounter a segfault upon connecting to the server from a browser. It occurs in the loop in the following function. Thanks! int db_read(SSL_STRUCT* ssl,…
0
votes
1 answer

Polarssl - SHA1 gives different results when input with special characters

I'm trying to hash some data includes Turkish characters inside. For example; when I hashed "aaç" string with Polarssl, sha-1 result comes like that : 10 bf 94 7f 94 65 9f b0 66 76 97 b d4 25 de 9d e4 85 8e ca but I looked from internet same…
nerd
  • 115
  • 1
  • 7
0
votes
1 answer

Replacement of OpenSSL by PolarSSL

I must change OpenSSL library to PolarSSL in my project, but i have some troubles. When i encrypt my session key with function below from from OpenSSL library RSA_public_encrypt((const int)session_key_len,(const unsigned char*) session_key …
Silicium
  • 31
  • 5
0
votes
1 answer

Do web servers need to verify browser client certificates?

I'm implementing an SSL layer for a web server project. I'm using polarSSL, though I think this question is a general SSL question. When I get a connection to my server from a client I configure the SSL protcol like this: ssl_set_endpoint( &mSsl,…
Rafael Baptista
  • 11,181
  • 5
  • 39
  • 59
0
votes
1 answer

Mapping PolarSSL x509_cert structure to PKCS#11 X.509 object

I want to write a C++ program to parse a X.509 compatible certificate file with PolarSSL, extract all of it's attributes & map them to a PKCS#11 object template for storing on a cryptographic token. I also need to be able to fetch stored object…
Ehsan Khodarahmi
  • 4,772
  • 10
  • 60
  • 87
1 2 3
4