summaryrefslogtreecommitdiffstats
path: root/libmincrypt
Commit message (Collapse)AuthorAgeFilesLines
* remove unneeded importDoug Zongker2012-09-201-1/+0
| | | | | | | DumpPublicKey doesn't need a base64 encoder for anything; remove the import to avoid deprecation warnings. Change-Id: I7e01b9d77bb66bb99cb3357c886cc4e2e63de6ae
* support e=65537 for libmincrypt, DumpPublicKeyDoug Zongker2012-07-255-176/+451
| | | | | | | | The output produced by DumpPublicKey now has a version tag on each line (ie, each key). The existing keys are retroactively dubbed "version 1", and we add a version 2 for 2048-bit e=65537 keys. Change-Id: I204ec615c8f2346670220a1aeb99269e4abd5f81
* make DumpPublicKeys write 32-bit values as unsignedDoug Zongker2010-01-291-2/+2
| | | | | | | | | | | | Write the 32-bit chunks of N and RR as unsigned, so we get: {64,0xc926ad21,{1795090719,2141396315,950055447,2581568430,4268923165,... instead of: {64,0xc926ad21,{1795090719,2141396315,950055447,-1713398866,-26044131,... Change-Id: I575224fd7f7c34e06a1b6ae976eaa0bef41d2942
* only use faster SHA-1 code on machines with good libcDoug Zongker2009-08-211-6/+8
| | | | | Macs don't have byteswap.h or endian.h. Change conditionals to only use the faster SHA-1 code on little-endian machines with byteswap.h.
* add optimized SHA1 algorithmDoug Zongker2009-08-171-14/+177
| | | | | | | This optimized implementation of the SHA1 algorithm is about 28% faster than the old one (on sapphire hardware) but assumes little-endianness. Add it, but continue using the old implementation on big-endian hardware.
* Automated import from //branches/master/...@140824,140824Dianne Hackborn2009-03-241-0/+23
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-036-0/+510
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-036-510/+0
|
* auto import from //branches/cupcake/...@127101The Android Open Source Project2009-01-201-0/+7
|
* Initial ContributionThe Android Open Source Project2008-10-216-0/+503