mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-30 18:41:11 +00:00
I keep thinking this refers to "Embedded Controller" instead of "Elliptic Curve Cryptography". Make it clearer. There's no functional change, I'm just renaming a constant. BUG=none BRANCH=none TEST=make buildall; run tests on Cr50 dev board make -C test/tpm_test && sudo ./test/tpm_test/tpmtest.py Change-Id: Iaf2e2839e88fdbbcb1a712934be56a0dd47e4a70 Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/366752 Reviewed-by: Nagendra Modadugu <ngm@google.com> Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
20 lines
455 B
Python
20 lines
455 B
Python
#!/usr/bin/python
|
|
# Copyright 2015 The Chromium OS Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
"""Subcommand codes that specify the crypto module."""
|
|
|
|
# Keep these codes in sync with include/extension.h.
|
|
AES = 0
|
|
HASH = 1
|
|
RSA = 2
|
|
ECC = 3
|
|
FW_UPGRADE = 4
|
|
HKDF = 5
|
|
ECIES = 6
|
|
|
|
# The same exception class used by all tpmtest modules.
|
|
class TpmTestError(Exception):
|
|
pass
|