Home
last modified time | relevance | path

Searched refs:SHARED_SECRET_DERIVED_FACTOR (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/base/security/device_auth/services/protocol/inc/pake_protocol/
H A Dpake_defs.h24 #define SHARED_SECRET_DERIVED_FACTOR "hichain_speke_shared_secret_info" macro
/ohos5.0/base/security/device_auth/services/protocol/src/pake_protocol/pake_v2_protocol/
H A Dpake_v2_protocol_common.c335 …haredSecretMsg.length = sid->length + params->innerKeyLen + HcStrlen(SHARED_SECRET_DERIVED_FACTOR); in ComputeSharedSecret()
357 SHARED_SECRET_DERIVED_FACTOR, HcStrlen(SHARED_SECRET_DERIVED_FACTOR)) != EOK) { in ComputeSharedSecret()
/ohos5.0/base/security/device_auth/services/session_manager/src/session/v2/auth_sub_session/protocol_lib/
H A Ddl_speke_protocol.c34 #define SHARED_SECRET_DERIVED_FACTOR "hichain_speke_shared_secret_info" macro
471 SHARED_SECRET_DERIVED_FACTOR, HcStrlen(SHARED_SECRET_DERIVED_FACTOR)) != EOK) { in CombineSharedSecretMsg()
506 …sharedSecretMsgLen = SHA256_LEN * 2 + params->innerKeyLen + HcStrlen(SHARED_SECRET_DERIVED_FACTOR); in CalSharedSecret()
H A Dec_speke_protocol.c29 #define SHARED_SECRET_DERIVED_FACTOR "hichain_speke_shared_secret_info" macro
434 SHARED_SECRET_DERIVED_FACTOR, HcStrlen(SHARED_SECRET_DERIVED_FACTOR)) != EOK) { in CombineSharedSecretMsg()
482 …sharedSecretMsgLen = SHA256_LEN * 2 + EC_SPEKE_EC_KEY_LEN + HcStrlen(SHARED_SECRET_DERIVED_FACTOR); in CalSharedSecret()