This is an automated email from the ASF dual-hosted git repository. dingyu pushed a commit to branch fix-crypto-comment in repository https://gitbox.apache.org/repos/asf/incubator-teaclave-sgx-sdk.git
commit 5e4fdd7fb079a7f43666f4479f2b49dd987d06a9 Author: Yu Ding <[email protected]> AuthorDate: Mon Dec 14 12:11:01 2020 -0800 fix key comment --- sgx_crypto_helper/src/rsa2048.rs | 2 +- sgx_crypto_helper/src/rsa3072.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sgx_crypto_helper/src/rsa2048.rs b/sgx_crypto_helper/src/rsa2048.rs index e054554..738bbc1 100644 --- a/sgx_crypto_helper/src/rsa2048.rs +++ b/sgx_crypto_helper/src/rsa2048.rs @@ -5,7 +5,7 @@ use sgx_types::{sgx_status_t, size_t, SgxResult}; pub const SGX_RSA2048_KEY_SIZE: size_t = 256; pub const SGX_RSA2048_PRI_EXP_SIZE: size_t = 256; pub const SGX_RSA2048_PUB_EXP_SIZE: size_t = 4; -pub const SGX_RSA2048_DEFAULT_E: [u8;SGX_RSA2048_PUB_EXP_SIZE] = [0x01, 0x00, 0x00, 0x01]; // 65537 +pub const SGX_RSA2048_DEFAULT_E: [u8;SGX_RSA2048_PUB_EXP_SIZE] = [0x01, 0x00, 0x00, 0x01]; // 16777217 use std::fmt; use std::prelude::v1::*; diff --git a/sgx_crypto_helper/src/rsa3072.rs b/sgx_crypto_helper/src/rsa3072.rs index d9cff53..381a4f2 100644 --- a/sgx_crypto_helper/src/rsa3072.rs +++ b/sgx_crypto_helper/src/rsa3072.rs @@ -4,7 +4,7 @@ use itertools::Itertools; use sgx_types::sgx_status_t; use sgx_types::SgxResult; use sgx_types::{SGX_RSA3072_KEY_SIZE, SGX_RSA3072_PRI_EXP_SIZE, SGX_RSA3072_PUB_EXP_SIZE}; -pub const SGX_RSA3072_DEFAULT_E: [u8;SGX_RSA3072_PUB_EXP_SIZE] = [0x01, 0x00, 0x00, 0x01]; // 65537 +pub const SGX_RSA3072_DEFAULT_E: [u8;SGX_RSA3072_PUB_EXP_SIZE] = [0x01, 0x00, 0x00, 0x01]; // 16777217 use std::fmt; use std::prelude::v1::*; --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
