aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-10-09Use -Werror in external/libconstrainedcrypto am: 9508fd1390 am: 8fdf11ce57 ↵android-wear-8.0.0_r2android-o-mr1-iot-release-smart-display-r9android-o-mr1-iot-release-smart-display-r8android-o-mr1-iot-release-smart-display-r5android-o-mr1-iot-release-smart-display-r40.1Jandroid-o-mr1-iot-release-smart-display-r4android-o-mr1-iot-release-smart-display-r39android-o-mr1-iot-release-smart-display-r30android-o-mr1-iot-release-smart-display-r3android-o-mr1-iot-release-smart-display-r22android-o-mr1-iot-release-smart-display-r14android-o-mr1-iot-release-smart-clock-r6android-o-mr1-iot-release-smart-clock-r2android-o-mr1-iot-release-smart-clock-fsiandroid-o-mr1-iot-release-smart-clock-fcsandroid-o-mr1-iot-release-cube_r2android-o-mr1-iot-release-cube-fsiandroid-o-mr1-iot-release-cube-fcsandroid-o-mr1-iot-release-1.0.8android-o-mr1-iot-release-1.0.7android-o-mr1-iot-release-1.0.5android-o-mr1-iot-release-1.0.4android-o-mr1-iot-release-1.0.3android-o-mr1-iot-release-1.0.13android-o-mr1-iot-release-1.0.12android-o-mr1-iot-release-1.0.10android-9.0.0_r47android-9.0.0_r46android-9.0.0_r45android-9.0.0_r44android-9.0.0_r43android-9.0.0_r42android-9.0.0_r41android-9.0.0_r40android-9.0.0_r39android-9.0.0_r38android-9.0.0_r37android-9.0.0_r36android-9.0.0_r35android-9.0.0_r34android-9.0.0_r33android-9.0.0_r32android-9.0.0_r31android-9.0.0_r30android-9.0.0_r22android-9.0.0_r21android-9.0.0_r20android-9.0.0_r19android-9.0.0_r16android-9.0.0_r12android-9.0.0_r11pie-qpr3-s1-releasepie-qpr3-releasepie-qpr3-b-releasepie-qpr2-releasepie-qpr1-s3-releasepie-qpr1-s2-releasepie-qpr1-s1-releasepie-qpr1-releasepie-dr1-releasepie-dr1-devpie-devpie-b4s4-releasepie-b4s4-devoreo-mr1-iot-releaseoreo-mr1-1.2-iot-releasemaster-cuttlefish-testing-releaseChih-Hung Hsieh
am: 7375593337 am: 1929417390 Change-Id: I59570d8d7ae56fa19066fbc07ceaebab1f66dbd2
2017-10-09Use -Werror in external/libconstrainedcrypto am: 9508fd1390 am: 8fdf11ce57android-wear-p-preview-2android-wear-8.0.0_r1android-p-preview-5android-p-preview-4android-p-preview-3android-p-preview-2android-p-preview-1android-o-mr1-iot-release-1.0.2android-o-mr1-iot-release-1.0.1android-o-mr1-iot-release-1.0.0android-o-mr1-iot-preview-8android-o-mr1-iot-preview-7o-mr1-iot-preview-8o-mr1-iot-preview-7Chih-Hung Hsieh
am: 7375593337 Change-Id: I9fc967d86ae8fcf81c18c800e62a0a52476d0bdc
2017-10-09Use -Werror in external/libconstrainedcrypto am: 9508fd1390Chih-Hung Hsieh
am: 8fdf11ce57 Change-Id: I982b4f8cbc2cf3ec574ebe7cd5c822c6377f06c3
2017-10-09Use -Werror in external/libconstrainedcryptoandroid-o-mr1-iot-preview-6o-mr1-iot-preview-6Chih-Hung Hsieh
am: 9508fd1390 Change-Id: I0f0af5dabe49081bd187c7ffb560bec615a4e297
2017-09-28Use -Werror in external/libconstrainedcryptoChih-Hung Hsieh
Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I9e1d99cc5038e7e340e84b5f44acb8e5cd43c71d
2017-05-10libconstrainedcrypto: Android.mk -> Android.bp am: e1a8625038 am: e7287348a8 ↵oreo-mr1-devoreo-dr1-devSteven Moreland
am: 455fd4966d am: e2607d54fd Change-Id: Ia61afa755b7b0b6be2a41691f8cc06264f865b79
2017-05-10libconstrainedcrypto: Android.mk -> Android.bp am: e1a8625038 am: e7287348a8android-o-mr1-preview-2android-o-mr1-preview-1Steven Moreland
am: 455fd4966d Change-Id: I376a384754080a6a4f051820093cca3fcf117b29
2017-05-10libconstrainedcrypto: Android.mk -> Android.bp am: e1a8625038Steven Moreland
am: e7287348a8 Change-Id: I8aabb9ae01249be5f7f0c9c1aa3787511847f624
2017-05-10libconstrainedcrypto: Android.mk -> Android.bpSteven Moreland
am: e1a8625038 Change-Id: I3a629700555fa4d45dcbb35727105fc8b31aba73
2017-05-08libconstrainedcrypto: Android.mk -> Android.bpandroid-o-preview-4android-o-preview-3android-o-iot-preview-5o-iot-preview-5Steven Moreland
Test: constrainedcrypto_ecdsa_test Test: constrainedcrypto_rsa_test Change-Id: I998145308c001b01b72fea7deea2245ea78133cc
2016-03-22Rename mincrypt to constrainedcryptoandroid-wear-o-preview-4android-wear-o-preview-3android-wear-n-preview-3android-wear-n-preview-2android-wear-n-preview-1android-wear-7.1.1_r1android-vts-8.0_r9android-vts-8.0_r8android-vts-8.0_r7android-vts-8.0_r6android-vts-8.0_r2android-vts-8.0_r13android-vts-8.0_r12android-vts-8.0_r11android-vts-8.0_r10android-vts-8.0_r1android-security-8.0.0_r54android-security-8.0.0_r53android-security-8.0.0_r52android-o-preview-2android-o-preview-1android-n-preview-5android-n-preview-4android-n-preview-3android-n-preview-2android-n-mr2-preview-2android-n-mr2-preview-1android-n-mr1-preview-2android-n-mr1-preview-1android-n-iot-preview-2android-cts-8.0_r9android-cts-8.0_r8android-cts-8.0_r7android-cts-8.0_r6android-cts-8.0_r5android-cts-8.0_r4android-cts-8.0_r3android-cts-8.0_r26android-cts-8.0_r25android-cts-8.0_r24android-cts-8.0_r23android-cts-8.0_r22android-cts-8.0_r21android-cts-8.0_r20android-cts-8.0_r2android-cts-8.0_r19android-cts-8.0_r18android-cts-8.0_r17android-cts-8.0_r16android-cts-8.0_r15android-cts-8.0_r14android-cts-8.0_r13android-cts-8.0_r12android-cts-8.0_r11android-cts-8.0_r10android-cts-8.0_r1android-cts-7.1_r18android-8.0.0_r9android-8.0.0_r7android-8.0.0_r51android-8.0.0_r50android-8.0.0_r49android-8.0.0_r48android-8.0.0_r47android-8.0.0_r46android-8.0.0_r45android-8.0.0_r44android-8.0.0_r43android-8.0.0_r42android-8.0.0_r41android-8.0.0_r40android-8.0.0_r4android-8.0.0_r39android-8.0.0_r38android-8.0.0_r37android-8.0.0_r36android-8.0.0_r35android-8.0.0_r32android-8.0.0_r31android-8.0.0_r30android-8.0.0_r3android-8.0.0_r29android-8.0.0_r28android-8.0.0_r2android-8.0.0_r17android-8.0.0_r16android-8.0.0_r15android-8.0.0_r13android-8.0.0_r12android-8.0.0_r11android-8.0.0_r10android-8.0.0_r1security-oc-releaseoreo-vts-releaseoreo-security-releaseoreo-releaseoreo-r6-releaseoreo-r5-releaseoreo-r4-releaseoreo-r3-releaseoreo-r2-releaseoreo-devoreo-cts-releaseo-previewnougat-mr1-wear-releasen-iot-preview-2Mattias Nissler
Increasing the clumsiness of the library name will hopefully discourage further use. This change also adds a README file that explains the current thinking regarding native crypto library usage for the Android platform. BUG: 27287913 Change-Id: I48d4aa4b928756403a59d3755a0caf34c6172b26
2016-03-22Add licensing and upstream information.Mattias Nissler
Change-Id: If7cf3f3f81b198028d6cfaea03c61aea2f24dfd9
2016-03-03Add build guards for libmincrypt targetMattias Nissler
This introduces a build variable that lets us control whether mincrypt will build from system/core or from the new external/libmincrypt repository. Once both locations are prepared, we'll switch the variable to build mincrypt from the new location and afterwards remove the conditionals. BUG: 27287913 Change-Id: I8360b9f296c8404b6352dc447faabaf31d6ffc9a
2016-02-26Remove libmincrypt/tools after move to bootable/recoveryMattias Nissler
Bug: 27326256 Change-Id: Ife119db4cda9905b66a1ab5b6f018de85547c0f3
2016-02-24Prepare mincrypt tools for move to recovery repo.Mattias Nissler
This adds a conditional build guard to enable a smooth move of the dumpkey tool to the bootable/recovery project without breaking the build during the transition period. BUG:27326256 Change-Id: Ia23b31bb559a668273b5c0548b7bd1797049a224
2015-05-15am 2d543b7d: Enable clang compilation.Chih-Hung Hsieh
* commit '2d543b7d4be5898571c255d2aaaa15762a2e3b77': Enable clang compilation.
2015-05-15Enable clang compilation.Chih-Hung Hsieh
Previous clang/llvm bug was fixed. BUG: 18790528 Change-Id: Ib12696030d34ebc3c3ef1bca3cad0139d631417e (cherry picked from commit 1cd02d344331735fbaf76e68d0e66c62151ac836)
2015-05-14Enable clang compilation.Chih-Hung Hsieh
Previous clang/llvm bug was fixed. BUG: 18790528 Change-Id: Ib12696030d34ebc3c3ef1bca3cad0139d631417e
2014-12-17Disable clang optimization that has segmentation fault.Chih-Hung Hsieh
When compiling for aosp_fugu-userdebug, clang aborted in pass: Running pass 'Function Pass Manager' on module 'system/core/libmincrypt/p256_ec.c'. Running pass 'X86 DAG->DAG Instruction Selection' on function '@felem_square' BUG: 18790528 Change-Id: I416c07cae4c1a9743655bc45bd33c10a5cc9b41f
2014-05-12Remove declaration of unused static variableBernhard Rosenkraenzer
The declaration is useless and triggers a warning with clang 3.5 (in code that's built with -Werror) Change-Id: I8fc42178df264509dcce6e1f1ba318bf849307e3 Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
2014-05-07libmincrypt: suppress warning messagesMark Salyzyn
- deal with implict declaration issue - deal with some -Wunused issues Change-Id: I253f1412a696c4811ade70a931fb1c01b31c62a5
2013-10-10am 4ff9c3f7: am aab1670b: Merge "Add support for ECDSA P-256 with SHA256"Kenny Root
* commit '4ff9c3f7d89fe418290288d0925f257f0fe15f20': Add support for ECDSA P-256 with SHA256
2013-10-09Add support for ECDSA P-256 with SHA256Kenny Root
This adds a small EC library that is capable of verifying a signature of SHA256 with ECDSA on the NIST P-256 curve. Change-Id: I2a16639c92a77e8e4783c47ffbc56676de56eb59
2013-09-25am 6d06b01c: am e245b8fb: Merge changes I9f858204,Ib35643b3Kenny Root
* commit '6d06b01cf4237bd43b6e13f1683fcfc4dae83e78': mincrypt: merge the two RSA verifiers mincrypt: support SHA-256 hash algorithm
2013-09-25mincrypt: merge the two RSA verifiersDoug Zongker
The e=3 and e=65537 implementations are nearly identical, refactor them down into one. (cherry picked from commit 8fdbf97652b76b19b4faff522ddcf4a9da543a86) Change-Id: I9f858204d52a0ae880170d955bf8f29fed57ee94
2013-09-25mincrypt: support SHA-256 hash algorithmDoug Zongker
- adds a library to compute the SHA-256 hash - updates the RSA verifier to take an argument specifying either SHA-1 or SHA-256 - updates DumpPublicKey to with new "key" version numbers for specifying SHA-256 - adds new argument to adb auth code to maintain existing behavior (cherry picked from commit 515e1639ef0ab5e3149fafeffce826cf654d616f) Change-Id: Ib35643b3d864742e817ac6e725499b451e45afcf
2013-04-11mincrypt: merge the two RSA verifiersDoug Zongker
The e=3 and e=65537 implementations are nearly identical, refactor them down into one. Change-Id: I537a368a6cc195f373b9354d7472957fd683beea
2013-04-10mincrypt: support SHA-256 hash algorithmDoug Zongker
- adds a library to compute the SHA-256 hash - updates the RSA verifier to take an argument specifying either SHA-1 or SHA-256 - updates DumpPublicKey to with new "key" version numbers for specifying SHA-256 - adds new argument to adb auth code to maintain existing behavior Change-Id: I5b1406cf57c2b8993f6032eda3e29139f7740839
2012-09-20remove unneeded importDoug Zongker
DumpPublicKey doesn't need a base64 encoder for anything; remove the import to avoid deprecation warnings. Change-Id: I7e01b9d77bb66bb99cb3357c886cc4e2e63de6ae
2012-07-25support e=65537 for libmincrypt, DumpPublicKeyDoug Zongker
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
2010-02-05am d8bdf217: resolved conflicts for merge of e577a83a to eclair-plus-aospJean-Baptiste Queru
Merge commit 'd8bdf2171af548f321d417147807256e1022c89f' * commit 'd8bdf2171af548f321d417147807256e1022c89f': android-2.1_r1 snapshot
2010-02-05resolved conflicts for merge of e577a83a to eclair-plus-aospJean-Baptiste Queru
2010-01-29reconcile android-2.1_r1 snapshotThe Android Open Source Project
2010-01-29make DumpPublicKeys write 32-bit values as unsignedDoug Zongker
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
2009-11-15merge from open-source masterJean-Baptiste Queru
Merge commit 'goog/stage-korg-master' into HEAD
2009-11-12eclair snapshotJean-Baptiste Queru
2009-08-21only use faster SHA-1 code on machines with good libcDoug Zongker
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.
2009-08-17add optimized SHA1 algorithmDoug Zongker
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.
2009-04-22Merge donut into masterJean-Baptiste Queru
2009-04-22merge cupcake into donutJean-Baptiste Queru
2009-04-22Merge donut into masterJean-Baptiste Queru
2009-03-29Merge branch 'open_source' into google_internalThe Android Open Source Project
2009-03-24Automated import from //branches/donutburger/...@140818,140818Dianne Hackborn
2009-03-24Automated import from //branches/master/...@140824,140824Dianne Hackborn
2009-03-19auto import from //branches/cupcake_rel/...@141571The Android Open Source Project
2009-03-03auto import from //depot/cupcake/@135843The Android Open Source Project
2009-03-03auto import from //depot/cupcake/@135843The Android Open Source Project
2009-01-20auto import from //branches/cupcake/...@127101The Android Open Source Project
2008-10-21Initial ContributionThe Android Open Source Project