From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Subject: Re: Crypto driver -DCP Date: Fri, 29 May 2015 03:29:59 +0200 Message-ID: <201505290329.59713.marex@denx.de> References: <554BBD05.3050807@freescale.com> <201505290300.36019.marex@denx.de> <20150529012359.GA15471@gondor.apana.org.au> Mime-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Jay Monkman , Linux Crypto Mailing List To: Herbert Xu Return-path: Received: from mail-out.m-online.net ([212.18.0.10]:58761 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754549AbbE2BaC (ORCPT ); Thu, 28 May 2015 21:30:02 -0400 In-Reply-To: <20150529012359.GA15471@gondor.apana.org.au> Sender: linux-crypto-owner@vger.kernel.org List-ID: On Friday, May 29, 2015 at 03:23:59 AM, Herbert Xu wrote: > On Fri, May 29, 2015 at 03:00:35AM +0200, Marek Vasut wrote: > > My understanding (!) is that everyone should be able to use this key to > > encrypt/decrypt their data using the AES128 engine in the DCP. > > If that's the case just make it the key you use if setkey has never > been called. Shouldn't you always call setkey when using symetric crypto ? Best regards, Marek Vasut