[openssl-dev] confusion with rsa_meth_st in a custom RSA engine

2017-08-22 Thread Brett R. Nicholas
I am trying to develop a engine for a custom RSA hardware accelerator, and have a few questions about the RSA_METHOD stucture implementation. Some context: for encryption, my accelerator takes as inputs the base, public exponent, and modulus, and returns the resulting ciphertext. For decryption

Re: [openssl-dev] GCM tag in manual and examples

2017-08-22 Thread Dr. Stephen Henson
On Tue, Aug 22, 2017, Lukasz Kostyra wrote: > Hello, > > I've been trying recently to work with OpenSSL and use it to encrypt and > decrypt data with AES cipher in GCM mode. While reading the documentation, I > noticed an inconsistency between example code and manual. > > My concern is the funct

[openssl-dev] GCM tag in manual and examples

2017-08-22 Thread Lukasz Kostyra
Hello, I've been trying recently to work with OpenSSL and use it to encrypt and decrypt data with AES cipher in GCM mode. While reading the documentation, I noticed an inconsistency between example code and manual. My concern is the function used to set GCM tag when decrypting some data. In curre