[guardian-dev] Crypto-oriented hardware acceleration on Android

Billy Gray wgray at zetetic.net
Mon Jul 8 17:44:26 EDT 2013


Thanks, Tim, I'll take a look. I'd like to do 64,000 PBKDF2/SHA1.

Mark, thanks for that! I'll do some reading. Funny/interesting that it's no
longer used for rendering.


On Mon, Jul 8, 2013 at 4:07 PM, Tim Prepscius <timprepscius at gmail.com>wrote:

> how many iterations are you going for?
>
> if you look at the botan mailing list, I think about 6-8 months ago
> someone was talking about code specifically for the apple chip set.
>
> not sure exactly what became of it.
>
> -tim
>
>
> On 7/8/13, Mark Murphy <mmurphy at commonsware.com> wrote:
> > In theory, Renderscript Compute might be useful for this, though I
> > have negligible experience with it:
> >
> > http://developer.android.com/guide/topics/renderscript/compute.html
> >
> > On Mon, Jul 8, 2013 at 3:06 PM, Hans-Christoph Steiner
> > <hans at guardianproject.info> wrote:
> >>
> >> I haven't heard of a framework to do it, but hopefully one exists.
> >> Otherwise
> >> it means writing your own CPU detection code and coding in assembly...
> >>
> >> .hc
> >>
> >> On 07/08/2013 02:08 PM, Billy Gray wrote:
> >>> Hi all,
> >>>
> >>> I was wondering if anyone here has had some experience with trying to
> >>> take
> >>> advantage of any hardware acceleration that may (or may not) be
> >>> available
> >>> on Android devices to speed up things like key derivation? I've been
> >>> doing
> >>> some searching for any high-level, relevant info as a starting point
> and
> >>> coming up fairly empty. I'd really like to be able to use a high number
> >>> of
> >>> PBKDF2 iterations in one of our apps, but the iteration count I'm going
> >>> for
> >>> is just unacceptably high as a login speed for a user on a two year old
> >>> Nexus S running 2.3.x (better on 4.1.1, but still not good enough).
> >>>
> >>> Thanks in advance for any tips!
> >>> Billy
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> Guardian-dev mailing list
> >>>
> >>> Post: Guardian-dev at lists.mayfirst.org
> >>> List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev
> >>>
> >>> To Unsubscribe
> >>>         Send email to:  Guardian-dev-unsubscribe at lists.mayfirst.org
> >>>         Or visit:
> >>>
> https://lists.mayfirst.org/mailman/options/guardian-dev/hans%40guardianproject.info
> >>>
> >>> You are subscribed as: hans at guardianproject.info
> >>>
> >>
> >> --
> >> PGP fingerprint: 5E61 C878 0F86 295C E17D  8677 9F0F E587 374B BE81
> >> _______________________________________________
> >> Guardian-dev mailing list
> >>
> >> Post: Guardian-dev at lists.mayfirst.org
> >> List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev
> >>
> >> To Unsubscribe
> >>         Send email to:  Guardian-dev-unsubscribe at lists.mayfirst.org
> >>         Or visit:
> >>
> https://lists.mayfirst.org/mailman/options/guardian-dev/mmurphy%40commonsware.com
> >>
> >> You are subscribed as: mmurphy at commonsware.com
> >
> >
> >
> > --
> > Mark Murphy (a Commons Guy)
> > http://commonsware.com | http://github.com/commonsguy
> > http://commonsware.com/blog | http://twitter.com/commonsguy
> >
> > Android Training in DC: http://marakana.com/training/android/
> > _______________________________________________
> > Guardian-dev mailing list
> >
> > Post: Guardian-dev at lists.mayfirst.org
> > List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev
> >
> > To Unsubscribe
> >         Send email to:  Guardian-dev-unsubscribe at lists.mayfirst.org
> >         Or visit:
> >
> https://lists.mayfirst.org/mailman/options/guardian-dev/timprepscius%40gmail.com
> >
> > You are subscribed as: timprepscius at gmail.com
> >
> _______________________________________________
> Guardian-dev mailing list
>
> Post: Guardian-dev at lists.mayfirst.org
> List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev
>
> To Unsubscribe
>         Send email to:  Guardian-dev-unsubscribe at lists.mayfirst.org
>         Or visit:
> https://lists.mayfirst.org/mailman/options/guardian-dev/wgray%40zetetic.net
>
> You are subscribed as: wgray at zetetic.net
>



-- 
Team Zetetic
http://zetetic.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mayfirst.org/pipermail/guardian-dev/attachments/20130708/99fcb24b/attachment-0001.html>


More information about the Guardian-dev mailing list