/base/startup/hvb/tools/ |
D | readme.md | 19 … --pubkey xxx_pub.pem //公钥… 31 …artition_size 31457280 --salt 9f3a79b7f2bad5adb086bcb8cf37f991733f2696 --pubkey boot_pub.pem --pri… 45 … --pubkey xxx_pub.pem //公钥… 57 …tition_size 3724541952 --salt 9f3a79b7f2bad5adb086bcb8cf37f991733f2696 --pubkey system_pub.pem --p… 69 … --pubkey xxx_pub.pem //公钥k… 89 …e.g. ./hvbtool.py make_rvt_image --salt 9f3a79b7f2bad5adb086bcb8cf37f991733f2696 --pubkey test_…
|
D | hvbtool.py | 180 def __init__(self, pubkey): argument 181 self.pubkey = pubkey 182 self.modulus_bits = self.get_bit_length(self.pubkey) 183 cmds = ['openssl', 'rsa', '-in', pubkey, '-modulus', '-noout', '-pubin'] 200 def get_bit_length(self, pubkey): argument 202 cmd = ['openssl', 'rsa', '-inform', 'PEM', '-in', pubkey, '-pubin', '-text'] 710 self.pubkey = _params['pubkey'] 897 key = RSAPublicKey(self.pubkey) 960 pubkey = chain_partition_data[1].strip() 963 key = RSAPublicKey(pubkey) [all …]
|
/base/security/crypto_framework/test/unittest/src/ |
D | crypto_rsa_asy_key_generator_test.cpp | 405 HcfPubKey *pubkey = keyPair->pubKey; variable 406 EXPECT_NE(pubkey->base.getAlgorithm((HcfKey *)pubkey), nullptr); 407 EXPECT_NE(pubkey->base.getFormat((HcfKey *)pubkey), nullptr); 408 EXPECT_NE(pubkey->base.base.getClass(), nullptr); 409 EXPECT_NE(pubkey->base.base.destroy, nullptr); 437 HcfPubKey *pubkey = keyPair->pubKey; variable 438 EXPECT_NE(pubkey->base.getAlgorithm((HcfKey *)pubkey), nullptr); 439 EXPECT_NE(pubkey->base.getFormat((HcfKey *)pubkey), nullptr); 440 EXPECT_NE(pubkey->base.base.getClass(), nullptr); 441 EXPECT_NE(pubkey->base.base.destroy, nullptr); [all …]
|
D | crypto_rsa_verify_test.cpp | 308 HcfPubKey *pubkey = keyPair->pubKey; variable 313 res = verify->init(verify, nullptr, pubkey); 333 HcfPubKey *pubkey = keyPair->pubKey; variable 338 res = verify->init(verify, nullptr, pubkey); 357 HcfPubKey *pubkey = keyPair->pubKey; variable 362 res = verify->init(verify, nullptr, pubkey); 364 res = verify->init(verify, nullptr, pubkey); 381 HcfPubKey *pubkey = keyPair->pubKey; variable 396 res = verify->init(verify, nullptr, pubkey); 418 HcfPubKey *pubkey = keyPair->pubKey; variable [all …]
|
/base/update/packaging_tools/ |
D | build_module_img.py | 79 def sign_img(device, pubkey, privkey, output): argument 93 "--pubkey", pubkey, 135 if args.pubkey: 136 sign_img(device, args.pubkey, args.privkey, args.output_sign_image_path)
|
/base/startup/hvb/ |
D | README_zh.md | 51 | signature_info | verity信息的签名内容。verity签名内容可包含多份pubkey,signature值信息,以兼容老的bootloader产品。 | 56 对于有多个镜像的系统,可以增加根校验信息列表(RVT, Root Verity Table)分区用于统一存放各个镜像verity信息的pubkey,如下图所示: 60 上游的bootloader只需要校验root_verity_table(**RVT**)的合法性,就可以通过该分区的pubkey列表逐个校验每个分区镜像的verity信息。
|
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/ |
D | hks_openssl_ed25519tox25519.c | 111 static void SwapEndianThirtyTwoByte(uint8_t *pubkey, int len, bool isBigEndian) in SwapEndianThirtyTwoByte() argument 115 uint8_t tmp = pubkey[i]; in SwapEndianThirtyTwoByte() 116 pubkey[i] = pubkey[len - i - 1]; in SwapEndianThirtyTwoByte() 117 pubkey[len - i - 1] = tmp; in SwapEndianThirtyTwoByte() 122 static int32_t CovertData(struct Curve25519Structure *curve25519, uint8_t *pubkey, int len) in CovertData() argument 136 ret = ConvertStringToInt(pubkey, len, &curve25519->ed25519Pubkey); in CovertData()
|
/base/update/sys_installer/services/module_update/src/ |
D | module_file_repository.cpp | 63 string pubkey = moduleFile->GetPublicKey(); in ProcessFile() local 65 pubkey = GetPublicKey(moduleFile->GetSaId()); in ProcessFile() 74 if (moduleFile->GetImageStat().has_value() && !moduleFile->VerifyModuleVerity(pubkey)) { in ProcessFile()
|
/base/startup/hvb/libhvb/include/ |
D | hvb_ops.h | 44 enum hvb_io_errno (*valid_rvt_key)(struct hvb_ops *ops, const uint8_t *pubkey,
|
/base/update/sys_installer/services/module_update/util/src/ |
D | module_file.cpp | 240 struct hvb_buf pubkey; in VerifyModuleVerity() local 249 …enum hvb_errno ret = footer_init_desc(ModuleHvbGetOps(), GetPath().c_str(), nullptr, &pubkey, vd_); in VerifyModuleVerity()
|