Re: [PATCH 09/14] arm64: kexec_file: add sha256 digest check in purgatory

2017-09-08 Thread Thiago Jung Bauermann
AKASHI Takahiro writes: > On Fri, Aug 25, 2017 at 11:41:33AM +0100, Mark Rutland wrote: >> On Fri, Aug 25, 2017 at 10:21:06AM +0900, AKASHI Takahiro wrote: >> > On Thu, Aug 24, 2017 at 06:04:40PM +0100, Mark Rutland wrote: >> > > On Thu, Aug 24, 2017 at 05:18:06PM +0900, AKASHI Takahiro wrote: >>

Re: [PATCH 09/14] arm64: kexec_file: add sha256 digest check in purgatory

2017-09-07 Thread AKASHI Takahiro
On Fri, Aug 25, 2017 at 11:41:33AM +0100, Mark Rutland wrote: > On Fri, Aug 25, 2017 at 10:21:06AM +0900, AKASHI Takahiro wrote: > > On Thu, Aug 24, 2017 at 06:04:40PM +0100, Mark Rutland wrote: > > > On Thu, Aug 24, 2017 at 05:18:06PM +0900, AKASHI Takahiro wrote: > > > > Most of sha256 code is ba

Re: [PATCH 09/14] arm64: kexec_file: add sha256 digest check in purgatory

2017-08-25 Thread Mark Rutland
On Fri, Aug 25, 2017 at 10:21:06AM +0900, AKASHI Takahiro wrote: > On Thu, Aug 24, 2017 at 06:04:40PM +0100, Mark Rutland wrote: > > On Thu, Aug 24, 2017 at 05:18:06PM +0900, AKASHI Takahiro wrote: > > > Most of sha256 code is based on crypto/sha256-glue.c, particularly using > > > non-neon version

Re: [PATCH 09/14] arm64: kexec_file: add sha256 digest check in purgatory

2017-08-24 Thread AKASHI Takahiro
On Thu, Aug 24, 2017 at 10:13:49AM +0100, Ard Biesheuvel wrote: > On 24 August 2017 at 09:18, AKASHI Takahiro > wrote: > > Most of sha256 code is based on crypto/sha256-glue.c, particularly using > > non-neon version. > > > > Please note that we won't be able to re-use lib/mem*.S for purgatory >

Re: [PATCH 09/14] arm64: kexec_file: add sha256 digest check in purgatory

2017-08-24 Thread AKASHI Takahiro
On Thu, Aug 24, 2017 at 06:04:40PM +0100, Mark Rutland wrote: > On Thu, Aug 24, 2017 at 05:18:06PM +0900, AKASHI Takahiro wrote: > > Most of sha256 code is based on crypto/sha256-glue.c, particularly using > > non-neon version. > > > > Please note that we won't be able to re-use lib/mem*.S for pur

Re: [PATCH 09/14] arm64: kexec_file: add sha256 digest check in purgatory

2017-08-24 Thread Mark Rutland
On Thu, Aug 24, 2017 at 05:18:06PM +0900, AKASHI Takahiro wrote: > Most of sha256 code is based on crypto/sha256-glue.c, particularly using > non-neon version. > > Please note that we won't be able to re-use lib/mem*.S for purgatory > because unaligned memory access is not allowed in purgatory whe

Re: [PATCH 09/14] arm64: kexec_file: add sha256 digest check in purgatory

2017-08-24 Thread Ard Biesheuvel
On 24 August 2017 at 09:18, AKASHI Takahiro wrote: > Most of sha256 code is based on crypto/sha256-glue.c, particularly using > non-neon version. > > Please note that we won't be able to re-use lib/mem*.S for purgatory > because unaligned memory access is not allowed in purgatory where mmu > is tu