Skip to contentSkip to conversation

Exynos: Add hardware accelerated SHA 256

PATCH New Kim Phillips 1 participant 1 message Mar 4, 2013 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/4 Exynos: Add hardware accelerated SHA 256

Quoted 22 lines · On Fri, 1 Mar 2013 16:11:36 +0000 Akshay Saraswat <[email protected]> wrote:

Samsung Enterprise Portal mySingle

Hi Kim,

Quoted 13 lines

On Thu, 28 Feb 2013 11:08:21 +0000

Quoted 5 lines · Akshay Saraswat
Quoted 5 lines

On Wed, 27 Feb 2013 10:24:39 -0500

Akshay Saraswat <[email protected]> wrote:

Quoted 7 lines
Quoted 1 line

can you fix your mailer to not double space lines?

Sorry for the disarranged text. I hope this time it is good.

As you can see, no. It looks like you didn't change anything. I have to manually single-space things below.

Quoted 10 lines
Quoted 9 lines
Quoted 4 lines

So, I have incremented this value
to 500 which shall be good enough for the lowest of all frequencies. But I guess what we need here is some formula, to calculate timeout on the basis of frequency, which is nowhere defined.

That's odd - I see a bunch of frequencies advertised in arch/arm/cpu/armv7/exynos/clock.c.
Or how about using a cycle counter instead? btw, where can I find documentation for the ACE?

Quoted 6 lines

I tried with different frequencies and data sizes and found that it takes 2 to 3 msecs in all the cases. Since, it is hardware accelerated encoding it is supposed to behave in this same manner. But the current version of u-boot behaves mysteriously and slow downs when pressed enter for long. In the above case mentioned I even saw time took to be more than 100 msecs for all the cases. I think it would not be a better idea to timeout encoding acceleration.
But still if it is needed, cycle counter suggestion would be a great solution.

it depends on whether the h/w can fault during its operation.

Quoted 1 line

You can read Exynos5250 manual's "Security subsystem" section, which I referred for this.

you mean this?:

http://www.samsung.com/global/business/semiconductor/file/product/Exynos_5_Dual_User_Manaul_Public_REV100-0.pdf

There is no "Security subsystem" section.

Kim