Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755494Ab0A2PU2 (ORCPT ); Fri, 29 Jan 2010 10:20:28 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755148Ab0A2PU1 (ORCPT ); Fri, 29 Jan 2010 10:20:27 -0500 Received: from mail-bw0-f227.google.com ([209.85.218.227]:61742 "EHLO mail-bw0-f227.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754525Ab0A2PUZ (ORCPT ); Fri, 29 Jan 2010 10:20:25 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=kmgyS9ZzzEOKtoZekPkKG9SVxARN+9JkIQ2iGSxdGh8xFADESYGFXDc7sM5f0XXBS+ fx8yqNQ8GydKeLTU4NWa1R0AvE578WAIfc7+oFnLuI0FRPqKGESC3F33Kr/XwltvpvGi d24VfMqa4FNR2w18wJu+1mrkYoxinUzgulukc= MIME-Version: 1.0 In-Reply-To: <20100129145152.GA31953@Chamillionaire.breakpoint.cc> References: <4B62E388.1070707@gmail.com> <20100129145152.GA31953@Chamillionaire.breakpoint.cc> From: roel kluin Date: Fri, 29 Jan 2010 16:20:02 +0100 Message-ID: <25e057c01001290720k529a5ee3i6bef74c9217abbf8@mail.gmail.com> Subject: Re: [PATCH] geode: Fix cip/blk confusion To: Sebastian Andrzej Siewior Cc: Herbert Xu , "David S. Miller" , linux-crypto@vger.kernel.org, Andrew Morton , LKML , Sergey Mironov , Martin Schwidefsky Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1374 Lines: 34 On Fri, Jan 29, 2010 at 3:51 PM, Sebastian Andrzej Siewior wrote: > * Roel Kluin | 2010-01-29 14:32:56 [+0100]: > >>This was already discussed in december/januari but I still cannot find it in >>mainline, was it lost? > > Isn't this patch [0] and [1] in Herbert's tree? If so Herbert is > probably going to merge in the next merge window because it is not > urgend enough. > > [0] http://git.kernel.org/?p=linux/kernel/git/herbert/cryptodev-2.6.git;a=commit;h=faad98f29606d9d3c6bddae7c88693be37d2fb43 > [1] http://git.kernel.org/?p=linux/kernel/git/herbert/cryptodev-2.6.git;a=commit;h=d7ac769068df87ca8c7f72d99cf67ead16739f18 Yes that are the patches, however, I think my previous patch missed one blk to cip conversion in geode_setkey_cip(): ret = crypto_cipher_setkey(op->fallback.cip, key, len); if (ret) { tfm->crt_flags &= ~CRYPTO_TFM_RES_MASK; - tfm->crt_flags |= (op->fallback.blk->base.crt_flags & CRYPTO_TFM_RES_MASK); + tfm->crt_flags |= (op->fallback.cip->base.crt_flags & CRYPTO_TFM_RES_MASK); } return ret; } Roel -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/