Home
last modified time | relevance | path

Searched refs:bits (Results 1 – 10 of 10) sorted by relevance

/base/security/crypto_framework/frameworks/key/
Dasy_key_generator.c95 params->bits = value; in SetKeyType()
99 params->bits = (int32_t)HCF_RSA_KEY_SIZE_512; in SetKeyType()
103 params->bits = (int32_t)HCF_RSA_KEY_SIZE_768; in SetKeyType()
107 params->bits = (int32_t)HCF_RSA_KEY_SIZE_1024; in SetKeyType()
111 params->bits = (int32_t)HCF_RSA_KEY_SIZE_2048; in SetKeyType()
115 params->bits = (int32_t)HCF_RSA_KEY_SIZE_3072; in SetKeyType()
119 params->bits = (int32_t)HCF_RSA_KEY_SIZE_4096; in SetKeyType()
123 params->bits = (int32_t)HCF_RSA_KEY_SIZE_8192; in SetKeyType()
/base/security/crypto_framework/plugin/openssl_plugin/common/inc/
Dopenssl_class.h59 uint32_t bits; member
68 uint32_t bits; member
/base/security/crypto_framework/plugin/openssl_plugin/key/asy_key_generator/src/
Drsa_asy_key_generator_openssl.c54 int32_t bits; member
67 switch (params->bits) { in CheckRsaKeyGenParams()
71 LOGE("Set invalid primes %d to Keygen bits %d.", params->primes, params->bits); in CheckRsaKeyGenParams()
79 LOGE("Set invalid primes %d to Keygen bits %d.", params->primes, params->bits); in CheckRsaKeyGenParams()
85 LOGE("Set invalid primes %d to Keygen bits %d.", params->primes, params->bits); in CheckRsaKeyGenParams()
92 LOGE("The current bits %d is invalid.", params->bits); in CheckRsaKeyGenParams()
380 (*retPubKey)->bits = RSA_bits(rsaPubKey); in PackPubKey()
401 (*retPriKey)->bits = RSA_bits(rsaPriKey); in PackPriKey()
490 LOGI("keygen bits is %d, primes is %d", params->bits, GetRealPrimes(params->primes)); in GenerateKeyPairByOpenssl()
492 …if (RSA_generate_multi_prime_key(rsa, params->bits, GetRealPrimes(params->primes), params->pubExp,… in GenerateKeyPairByOpenssl()
[all …]
Decc_asy_key_generator_openssl.c540 if (GetOpensslCurveId(params->bits, &curveId) != HCF_SUCCESS) { in HcfAsyKeyGeneratorSpiEccCreate()
/base/startup/hvb/libhvb/src/crypto/
Dhvb_rsa_verify.c39 #define bit2byte(bits) ((bits) >> 3) argument
44 #define bit2byte_align(bits) bit2byte(bit_align(bits, 3)) argument
/base/security/crypto_framework/common/inc/
Dparams_parser.h114 int32_t bits; // keyLen member
/base/security/access_token/
DREADME_zh.md16 …ID,应用分身索引、应用APL(Ability Privilege Level)等级、应用权限信息等。每个应用的Accesstoken信息由一个32bits的设备内唯一标识符TokenID(Tok…
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_attest.c566 static uint8_t EncodeKeyUsageBits(const uint32_t usage, uint8_t *bits) in EncodeKeyUsageBits() argument
582 *bits = v; in EncodeKeyUsageBits()
/base/update/updater/test/unittest/test_data/applypatch/
DTestGZipModeImagePatch.old.gz
/base/hiviewdfx/hilog/frameworks/libhilog/vsnprintf/
Doutput_p.inl1056 #else /* for 32 bits system */