Re: HELP writing crypto driver for HW with blocksize hash

2017-07-11 Thread Gilad Ben-Yossef
On Tue, Jul 11, 2017 at 1:50 PM, Kamil Konieczny wrote: > On 11.07.2017 12:30, Gilad Ben-Yossef wrote: >> On Tue, Jul 11, 2017 at 10:52 AM, Kamil Konieczny >> wrote: >>> >>> >>> I am writing crypto driver for hash MD5/SHA1/SHA256

Re: HELP writing crypto driver for HW with blocksize hash

2017-07-11 Thread Kamil Konieczny
On 11.07.2017 12:30, Gilad Ben-Yossef wrote: > On Tue, Jul 11, 2017 at 10:52 AM, Kamil Konieczny > wrote: >> >> >> I am writing crypto driver for hash MD5/SHA1/SHA256 on Exynos 4412, >> and I am facing some (minor?) difficulties. [...] >> So there is no [...]

Re: HELP writing crypto driver for HW with blocksize hash

2017-07-11 Thread Gilad Ben-Yossef
On Tue, Jul 11, 2017 at 10:52 AM, Kamil Konieczny wrote: > > Hi, > > I am writing crypto driver for hash MD5/SHA1/SHA256 on Exynos 4412, > and I am facing some (minor?) difficulties. > > In old days, hadware (HW) can only do basic hash block operation, > so at the

HELP writing crypto driver for HW with blocksize hash

2017-07-11 Thread Kamil Konieczny
Hi, I am writing crypto driver for hash MD5/SHA1/SHA256 on Exynos 4412, and I am facing some (minor?) difficulties. In old days, hadware (HW) can only do basic hash block operation, so at the end it needed to finalize hash, and driver need to write some bits into buffer to get message hash. Time