summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Rsa2048Sha256Sign
diff options
context:
space:
mode:
authorYonghong Zhu <yonghong.zhu@intel.com>2018-09-26 11:07:26 +0800
committerYonghong Zhu <yonghong.zhu@intel.com>2018-10-13 09:56:56 +0800
commit0e3bfc6f7a2b7b52cb684736d878e249edbff5cb (patch)
tree0211cb859c53102144b4cb82b69521c172054728 /BaseTools/Source/Python/Rsa2048Sha256Sign
parent60dc40db2aac3d84332dbb17b1d20e353bfceb0c (diff)
downloadedk2-0e3bfc6f7a2b7b52cb684736d878e249edbff5cb.zip
edk2-0e3bfc6f7a2b7b52cb684736d878e249edbff5cb.tar.gz
edk2-0e3bfc6f7a2b7b52cb684736d878e249edbff5cb.tar.bz2
BaseTools: Rename get_bytes_le() to bytes_le
Cc: Liming Gao <liming.gao@intel.com> Cc: Yonghong Zhu <yonghong.zhu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Yunhua Feng <yunhuax.feng@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Rsa2048Sha256Sign')
-rw-r--r--BaseTools/Source/Python/Rsa2048Sha256Sign/Rsa2048Sha256Sign.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/Rsa2048Sha256Sign/Rsa2048Sha256Sign.py b/BaseTools/Source/Python/Rsa2048Sha256Sign/Rsa2048Sha256Sign.py
index 6cb235a..2f901a7 100644
--- a/BaseTools/Source/Python/Rsa2048Sha256Sign/Rsa2048Sha256Sign.py
+++ b/BaseTools/Source/Python/Rsa2048Sha256Sign/Rsa2048Sha256Sign.py
@@ -187,7 +187,7 @@ if __name__ == '__main__':
# Write output file that contains hash GUID, Public Key, Signature, and Input data
#
args.OutputFile = open(args.OutputFileName, 'wb')
- args.OutputFile.write(EFI_HASH_ALGORITHM_SHA256_GUID.get_bytes_le())
+ args.OutputFile.write(EFI_HASH_ALGORITHM_SHA256_GUID.bytes_le)
args.OutputFile.write(bytearray.fromhex(PublicKey))
args.OutputFile.write(Signature)
args.OutputFile.write(args.InputFileBuffer)