TLS KDF

2014-03-13 Thread Anil Kumar K K
Hi All, I have written a test program to test TLS Key Derivation Function(KDF). I am trying to compile this. I have created a new directory inside main openssl-fips-1.2 and included a make file more similar to "fips/aes/Makefile". But heading lots of linker issues. Could somebody help me include

Re: How to get 'pre master secret' of a tls session?

2014-03-06 Thread Anil Kumar K K
DEBUG macro can be enabled to log this : TLS_DEBUG It will write the pre master key to standard output. This is where it is logging : tls1_setup_key_block Thanks On Thu, Mar 6, 2014 at 3:32 PM, Prasun Bheri wrote: > Hi Group, > for debugging purpose, I would like to log 'pre master secret' of

TLS 1.1 and 1.2 support in openssl-fips 1.2

2013-10-10 Thread Anil Kumar K K
Hi OpenSSL experts, I have been trying to find out whether TLS verion 1.1 and 1.2 are supported in openssl package openssl-fips 1.2. Version string in the code says only TLS 1.o is supported.#define TLS1_VERSION0x0301 But change log listed in the below link talks about TLS 1.2 also :

Re: Support for SHA-512/224 and SHA-512/256

2013-10-04 Thread Anil Kumar K K
Yes, I have searched a lot for SHA- 2 . Looks like there is no support for SHA-2 in openssl-fips 1.2 Thanks Anil On Fri, Oct 4, 2013 at 3:00 PM, Gnanasekar R wrote: > Hi!, > > Yes, this is SHA-512. I am interested in the 512/t variants for which the > IVs and the final digests length differs. I

SSL_connect failure if key size is less than 1024 bits in fips mode

2013-10-04 Thread Anil Kumar K K
Hi All, I am trying to find whether there is minimum key length restriction when operating SSL/TLS in fips mode. Documents say that if key length is < 1024 bits, fips 140-2 compliant openssl-fips-1.2p1 ssl library will not allow the SSL connection. I know that SSL_connect() should fail if this is

AES enc: Plain text and cipher text data size

2013-04-25 Thread Anil Kumar K K
Hi All, This is Anil. I have few questions related to AES encryption: --- 1. Does the size of encrypted data depends on the size of the plain text(considering plain text <= block size) ? Ex: I

AES_encrypt : Size of the cipher text

2013-04-16 Thread Anil Kumar K K
Hi OpenSSL Team, I am Anil, trying to code aes encryption and decryption program using openssl library. I have coded a program which takes key and data as inputs and computes AES-128 cipher text and decrypt the same. *If the size of the data/Key changes, size of cipher text is also getting change