Re: [U-Boot] [PATCH] rsa: read out public_exponent value based on 32-bit alignment

2019-01-23 Thread Ooi, Joyce
gt; Liang > Subject: Re: [U-Boot] [PATCH] rsa: read out public_exponent value based on 32- > bit alignment > > On Fri, Jan 4, 2019 at 10:36 AM Ooi, Joyce wrote: > > > > > -Original Message- > > > From: Simon Goldschmidt [mailto:simon.k.r.goldschm..

Re: [U-Boot] [PATCH] rsa: read out public_exponent value based on 32-bit alignment

2019-01-04 Thread Simon Goldschmidt
ga Prasad Paladugu > > > > Cc: u-boot@lists.denx.de; Chee, Tien Fong ; See, > > Chin Liang > > Subject: Re: [U-Boot] [PATCH] rsa: read out public_exponent value based on > > 32- > > bit alignment > > > > Am 28.12.2018 um 19:44 schrieb Marek

Re: [U-Boot] [PATCH] rsa: read out public_exponent value based on 32-bit alignment

2019-01-04 Thread Ooi, Joyce
hin Liang > Subject: Re: [U-Boot] [PATCH] rsa: read out public_exponent value based on 32- > bit alignment > > Am 28.12.2018 um 19:44 schrieb Marek Vasut: > > On 12/28/18 2:32 PM, Ooi, Joyce wrote: > >>> -Original Message- > >>> From: Marek Vasut

Re: [U-Boot] [PATCH] rsa: read out public_exponent value based on 32-bit alignment

2018-12-28 Thread Simon Goldschmidt
Am 28.12.2018 um 19:44 schrieb Marek Vasut: On 12/28/18 2:32 PM, Ooi, Joyce wrote: -Original Message- From: Marek Vasut [mailto:ma...@denx.de] Sent: Friday, December 28, 2018 6:05 PM To: Ooi, Joyce ; Michal Simek ; Siva Durga Prasad Paladugu Cc: u-boot@lists.denx.de; See, Chin Liang ; C

Re: [U-Boot] [PATCH] rsa: read out public_exponent value based on 32-bit alignment

2018-12-28 Thread Marek Vasut
On 12/28/18 2:32 PM, Ooi, Joyce wrote: >> -Original Message- >> From: Marek Vasut [mailto:ma...@denx.de] >> Sent: Friday, December 28, 2018 6:05 PM >> To: Ooi, Joyce ; Michal Simek >> ; Siva Durga Prasad Paladugu >> >> Cc: u-boot@lists.denx.de; See, Chin Liang ; Chee, >> Tien Fong ; Tan, L

Re: [U-Boot] [PATCH] rsa: read out public_exponent value based on 32-bit alignment

2018-12-28 Thread Ooi, Joyce
> -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Friday, December 28, 2018 6:05 PM > To: Ooi, Joyce ; Michal Simek > ; Siva Durga Prasad Paladugu > > Cc: u-boot@lists.denx.de; See, Chin Liang ; Chee, > Tien Fong ; Tan, Ley Foon > > Subject: Re: [PATCH] rsa: read out

Re: [U-Boot] [PATCH] rsa: read out public_exponent value based on 32-bit alignment

2018-12-28 Thread Marek Vasut
On 12/28/18 8:30 AM, Ooi, Joyce wrote: > Hi Marek, Hi, > Any comments about this? Use get_unaligned() ? > Thanks, > Joyce Ooi > >> -Original Message- >> From: Ooi, Joyce >> Sent: Saturday, December 8, 2018 4:18 PM >> To: Marek Vasut ; Michal Simek ; >> Siva Durga Prasad Paladugu >> Cc

Re: [U-Boot] [PATCH] rsa: read out public_exponent value based on 32-bit alignment

2018-12-27 Thread Ooi, Joyce
Hi Marek, Any comments about this? Thanks, Joyce Ooi > -Original Message- > From: Ooi, Joyce > Sent: Saturday, December 8, 2018 4:18 PM > To: Marek Vasut ; Michal Simek ; > Siva Durga Prasad Paladugu > Cc: u-boot@lists.denx.de; Ooi, Joyce ; See, Chin Liang > ; Chee, Tien Fong ; Tan, > L

[U-Boot] [PATCH] rsa: read out public_exponent value based on 32-bit alignment

2018-12-08 Thread Ooi, Joyce
Public_exponent is a 64-bit data, which is stored in the device tree blob in a 32-bit alignment address. This causes a problem for ARM64 when public_exponent is read out one shot as a 64-bit data from an unaligned address. Hence, to solve this problem, public_exponent is read out as two 32-bit data