From: James Hartley Subject: RE: [PATCH 1/2] crypto: Add Imagination Technologies hw hash accelerator Date: Tue, 11 Nov 2014 15:28:25 +0000 Message-ID: <72BC0C8BD7BB6F45988A99382E5FBAE54433BBAA@hhmail02.hh.imgtec.org> References: <1415621455-10468-1-git-send-email-james.hartley@imgtec.com> <1415621455-10468-2-git-send-email-james.hartley@imgtec.com> <5460D540.6070205@mentor.com> <72BC0C8BD7BB6F45988A99382E5FBAE54433BAC5@hhmail02.hh.imgtec.org> <54622758.7050907@mentor.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Cc: "herbert@gondor.apana.org.au" , "davem@davemloft.net" , "gregkh@linuxfoundation.org" , "joe@perches.com" , "mchehab@osg.samsung.com" , "crope@iki.fi" , "jg1.han@samsung.com" , "linux-crypto@vger.kernel.org" , "devicetree@vger.kernel.org" , "pawel.moll@arm.com" , "mark.rutland@arm.com" , "ijc+devicetree@hellion.org.uk" , "galak@codeaurora.org" , "abrestic@chromium.org" , Ezequiel Garcia To: Vladimir Zapolskiy , "grant.likely@linaro.org" , "robh+dt@kernel.org" , "akpm@linux-foundation.org" Return-path: Received: from mailapp01.imgtec.com ([195.59.15.196]:50355 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751787AbaKKP23 (ORCPT ); Tue, 11 Nov 2014 10:28:29 -0500 In-Reply-To: <54622758.7050907@mentor.com> Content-Language: en-US Sender: linux-crypto-owner@vger.kernel.org List-ID: SGkgVmxhZGltaXINCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBsaW51 eC1jcnlwdG8tb3duZXJAdmdlci5rZXJuZWwub3JnIFttYWlsdG86bGludXgtY3J5cHRvLQ0KPiBv d25lckB2Z2VyLmtlcm5lbC5vcmddIE9uIEJlaGFsZiBPZiBWbGFkaW1pciBaYXBvbHNraXkNCj4g U2VudDogMTEgTm92ZW1iZXIgMj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