History log of /external/tpm2/CpriECC.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d0a96517e517e9a2f3012910ffa1300973616070 13-Oct-2016 nagendra modadugu <ngm@google.com> tpm2: In _cpri__EccCommitCompute, check 'd' only if 'B' != NULL

Parameter 'd' is only used if 'B' has also been specified, so
check the validity of parameter 'd' in the right code branch.

BRANCH=none
BUG=chrome-os-partner:55423
TEST=TCG test suite passes (simulator)

Change-Id: Ie6e5c190d0033e1d972ceffc3cc85641c89f531a
Signed-off-by: nagendra modadugu <ngm@google.com>
Reviewed-on: https://chromium-review.googlesource.com/397805
Commit-Ready: Nagendra Modadugu <ngm@google.com>
Tested-by: Nagendra Modadugu <ngm@google.com>
Reviewed-by: Scott Collyer <scollyer@chromium.org>
/external/tpm2/CpriECC.c
16e65be1bdf7ee570373449d8cff729c55fc8776 08-Mar-2016 nagendra modadugu <ngm@google.com> Disable algorithms ECDAA, ECSCHNORR, and SM2 (take 2).

Disable optional algorithms that are currently
unimplemented in EMBEDDED_MODE. This will allow
the TPM2 suite to run the appropriate sub-set of tests.

A previous attempt (7709a63d45f6f7822) at this change
broke the android build, which does not allow undefined
symbols in libraries.

TEST=compilation succeeds
BRANCH=none
BUG=chrome-os-partner:43025,chrome-os-partner:47524

Change-Id: Ibc69b8ad36b2e00baa5a440a388345b65ba960a3
Signed-off-by: nagendra modadugu <ngm@google.com>
Reviewed-on: https://chromium-review.googlesource.com/331670
Commit-Ready: Nagendra Modadugu <ngm@google.com>
Tested-by: Nagendra Modadugu <ngm@google.com>
Tested-by: Darren Krahn <dkrahn@chromium.org>
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
/external/tpm2/CpriECC.c
afa437246f4e5ec2c15f1ff5259a5a0c6e856a9d 08-Mar-2016 nagendra modadugu <ngm@google.com> Revert "Disable algorithms ECDAA, ECSCHNORR, and SM2."

This reverts commit 7709a63d45f6f782230326c16be7bfa149e9e497,
as it breaks the android build (due to _cpri__EccCommitCompute
remaining undefined, which the android build is stricter about).

BRANCH=none
BUG=chrome-os-partner:43025,chrome-os-partner:47524
TEST=compilation succeeds

Change-Id: I80c5b238b81e68e5673ac8ea72bf112143d328ba
Reviewed-on: https://chromium-review.googlesource.com/331325
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Tested-by: Nagendra Modadugu <ngm@google.com>
/external/tpm2/CpriECC.c
7709a63d45f6f782230326c16be7bfa149e9e497 05-Mar-2016 nagendra modadugu <ngm@google.com> Disable algorithms ECDAA, ECSCHNORR, and SM2.

Disable optional algorithms that are currently
unimplemented. This will allow the TPM2 suite
to run the appropriate sub-set of tests.

TEST=compilation succeeds
BRANCH=none
BUG=chrome-os-partner:43025,chrome-os-partner:47524

Change-Id: I3165eba4eaeaeec0c9e9242b6cee33d3b0bca452
Signed-off-by: nagendra modadugu <ngm@google.com>
Reviewed-on: https://chromium-review.googlesource.com/330872
Commit-Ready: Nagendra Modadugu <ngm@google.com>
Tested-by: Nagendra Modadugu <ngm@google.com>
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
/external/tpm2/CpriECC.c
0343d5bfce6fbea1cad2d626e14382f6ebe28667 09-Oct-2015 Vadim Bendebury <vbendeb@chromium.org> Fix various conditional compilation inconsistencies

This patch is a clean up, it does not cause a change in behavior
unless the set of supported (compiled in) algorithms changes.

BUG=chrome-os-partner:44608
TEST=verified compilation with variations of supported algorithms

Change-Id: I332f800b72eed5b108162f87d89c94add8a252f5
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/305373
Reviewed-by: Utkarsh Sanghi <usanghi@chromium.org>
/external/tpm2/CpriECC.c
ddcb1ce5cc06ae4fc84132aed3e7ec1b611075e8 15-Aug-2015 Jocelyn Bohr <bohr@chromium.org> Remove dependency on old ec_lcl.h interface.

CpriECC.c scraped from TCG spec part 4 depends on the inclusion of
ec_lcl.h header. This is not part of the latest version of OpenSSL, but
OsslCryptoEngine.h includes it anyway.

This change uses OpenSSL API functions in openssl/ec.h to access EC_GROUP
values instead of accessing them directly.

TEST=libtpm2.a builds
Generating ECC key succeeds (_cpri__GenerateKeyEcc in CpriECC.c).
Invoked by CreatePrimary command.
BUG=none

Change-Id: If9dbd2ce72380577d5cc15384696b23d4792e139
Signed-off-by: Jocelyn Bohr <bohr@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/292891
Reviewed-by: Darren Krahn <dkrahn@chromium.org>
/external/tpm2/CpriECC.c
0a05071eda743000b3936bae53374bbe07893848 29-May-2015 Vadim Bendebury <vbendeb@chromium.org> Changes to allow compilation of CpriECC.c

Some openssl includes do not meet this module's expectations, a
definition of ec_group_st (which is tyoedefed to EC_CURVE) was added
to resolve compilation issues. This structure contents will have to be
refined.

CpriDataECC.c is not supposed to be a separate compilation unit, and
as such it is being removed from Makefile.

BUG=none
TEST=compilation succeeds:
cc -Wall -Werror -c -o /dev/null CpriECC.c

Change-Id: Ib37e34d567f95af20a064acd70c706a6359edd8c
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/274099
Reviewed-by: Darren Krahn <dkrahn@chromium.org>
/external/tpm2/CpriECC.c
5679752bf24c21135884e987c4077e2f71848971 20-May-2015 Vadim Bendebury <vbendeb@chromium.org> Initial commit to seed TPM2.0 source code directory

LICENSE file text copied from TCG library specification. README
describes the procedure used to extract source code from parts 3 and 4
of the specification.

The python scripts and part{34}.txt files will be removed in the
following commits.

Change-Id: Ie281e6e988481831f33483053455e8aff8f3f75f
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
/external/tpm2/CpriECC.c