From: Herbert Xu Subject: Re: Unable to decrypt message Date: Mon, 6 Jun 2016 12:17:36 +0800 Message-ID: <20160606041736.GA19710@gondor.apana.org.au> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-crypto@vger.kernel.org To: Gadre Nayan Return-path: Received: from helcar.hengli.com.au ([209.40.204.226]:46960 "EHLO helcar.hengli.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752805AbcFFERk (ORCPT ); Mon, 6 Jun 2016 00:17:40 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-crypto-owner@vger.kernel.org List-ID: Gadre Nayan wrote: > > Should the Initialization vector also be the same. Since I am > generating iv random bytes on both ends. Yes the IV must be the same at both ends. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt