Home
last modified time | relevance | path

Searched refs:exp (Results 1 – 15 of 15) sorted by relevance

/base/hiviewdfx/faultloggerd/common/
Ddfx_define.h62 #define LIKELY(exp) (__builtin_expect(!!(exp), true)) argument
63 #define UNLIKELY(exp) (__builtin_expect(!!(exp), false)) argument
72 #define OHOS_TEMP_FAILURE_RETRY(exp) \ argument
76 _rc = (long int)(exp); \
/base/startup/hvb/libhvb/src/crypto/
Dhvb_rsa.h41 uint32_t exp);
Dhvb_rsa.c287 struct long_int_num *p_rr, uint32_t exp) in montgomery_mod_exp() argument
293 if ((exp & 1UL) == 0) { in montgomery_mod_exp()
313 i = byte2bit(sizeof(exp)) - 1; in montgomery_mod_exp()
315 if (exp & (1UL << i)) { in montgomery_mod_exp()
324 if (exp & (1UL << i)) { in montgomery_mod_exp()
/base/security/device_auth/services/protocol/src/pake_protocol/pake_protocol_dl_common/
Dpake_protocol_dl_common.c138 Uint8Buff exp = { expVal, PAKE_DL_EXP_LEN }; in GenerateDlPakeParams() local
141 res = params->loader->bigNumExpMod(secret, &exp, params->largePrimeNumHex, &params->base); in GenerateDlPakeParams()
/base/hiviewdfx/hitrace/interfaces/native/innerkits/src/
Dhitrace_meter.cpp36 #define EXPECTANTLY(exp) (__builtin_expect(!!(exp), true)) argument
37 #define UNEXPECTANTLY(exp) (__builtin_expect(!!(exp), false)) argument
/base/security/device_auth/frameworks/deviceauth_lite/source/key_agreement/
Dpake_server.c255 struct exponent exp = {.length = 1}; in generate_pake_params() local
257 exp.exp[0] = 2; /* square */ in generate_pake_params()
260 ret = cal_bignum_exp((struct var_buffer *)&secret, (struct var_buffer *)&exp, in generate_pake_params()
Dpake_client.c225 struct exponent exp = {.length = 1}; in parse_start_response_data() local
227 exp.exp[0] = 2; /* square */ in parse_start_response_data()
230 ret = cal_bignum_exp((struct var_buffer *)&secret, (struct var_buffer *)&exp, in parse_start_response_data()
/base/security/device_auth/frameworks/deviceauth_lite/source/base/
Dbase.h198 uint8_t exp[HC_EXPONENT_LEN]; member
/base/security/device_auth/frameworks/deviceauth_lite/source/huks_adapter/
Dhuks_adapter.h227 int32_t cal_bignum_exp(struct var_buffer *base, struct var_buffer *exp,
Dhuks_adapter.c302 int32_t cal_bignum_exp(struct var_buffer *base, struct var_buffer *exp, in cal_bignum_exp() argument
306 check_ptr_return_val(exp, HC_INPUT_ERROR); in cal_bignum_exp()
315 struct HksBlob big_num_e = { exp->length, exp->data }; in cal_bignum_exp()
/base/security/device_auth/deps_adapter/key_management_adapter/interfaces/
Dalg_defs.h107 typedef int32_t (*BigNumExpModFunc)(const Uint8Buff *base, const Uint8Buff *exp, const char *bigNum…
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/mini/
Dhuks_adapter.c540 static int32_t BigNumExpMod(const Uint8Buff *base, const Uint8Buff *exp, const char *bigNumHex, Uin… in BigNumExpMod() argument
542 const Uint8Buff *inParams[] = { base, exp, outNum }; in BigNumExpMod()
558 struct HksBlob expBlob = { exp->length, exp->val }; in BigNumExpMod()
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/small/
Dhuks_adapter.c574 static int32_t BigNumExpMod(const Uint8Buff *base, const Uint8Buff *exp, const char *bigNumHex, Uin… in BigNumExpMod() argument
576 const Uint8Buff *inParams[] = { base, exp, outNum }; in BigNumExpMod()
592 struct HksBlob expBlob = { exp->length, exp->val }; in BigNumExpMod()
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/standard/
Dhuks_adapter.c696 static int32_t BigNumExpMod(const Uint8Buff *base, const Uint8Buff *exp, const char *bigNumHex, Uin… in BigNumExpMod() argument
698 const Uint8Buff *inParams[] = { base, exp, outNum }; in BigNumExpMod()
714 struct HksBlob expBlob = { exp->length, exp->val }; in BigNumExpMod()
/base/hiviewdfx/hitrace/test/unittest/hitrace_meter/
Dhitrace_ndk_test.cpp33 #define EXPECTANTLY(exp) (__builtin_expect(!!(exp), true)) argument