Home
last modified time | relevance | path

Searched refs:keyAliasType (Results 1 - 7 of 7) sorted by relevance

/base/security/device_auth/services/identity_manager/src/
H A Didentity_manager.c33 uint8_t *GetKeyTypePair(KeyAliasType keyAliasType) in GetKeyTypePair() argument
35 return (uint8_t *)KEY_TYPE_PAIRS[keyAliasType]; in GetKeyTypePair()
H A Dcredential_operator.c150 const char *pkgName, const char *serviceType, const char *authId, int keyAliasType, Uint8Buff *outKeyAlias) in GenerateKeyAliasInner()
174 authIdBuff.length > AUTH_ID_MAX_LEN || keyAliasType >= KEY_ALIAS_TYPE_END) { in GenerateKeyAliasInner()
189 Uint8Buff keyTypeBuff = { GetKeyTypePair(keyAliasType), KEY_TYPE_PAIR_LEN }; in GenerateKeyAliasInner()
193 LOGE("CombineKeyAlias failed, keyType: %d, res: %d", keyAliasType, res); in GenerateKeyAliasInner()
149 GenerateKeyAliasInner( const char *pkgName, const char *serviceType, const char *authId, int keyAliasType, Uint8Buff *outKeyAlias) GenerateKeyAliasInner() argument
/base/security/device_auth/services/identity_manager/src/mock/
H A Didentity_manager_mock.c31 uint8_t *GetKeyTypePair(KeyAliasType keyAliasType) in GetKeyTypePair() argument
33 return (uint8_t *)KEY_TYPE_PAIRS[keyAliasType]; in GetKeyTypePair()
/base/security/device_auth/services/identity_manager/inc/
H A Didentity_manager.h71 uint8_t *GetKeyTypePair(KeyAliasType keyAliasType);
/base/security/device_auth/services/session_manager/src/session/v2/expand_sub_session/expand_process_lib/
H A Dpub_key_exchange.c95 static uint8_t *GetKeyTypePair(KeyAliasType keyAliasType) in GetKeyTypePair() argument
97 return (uint8_t *)KEY_TYPE_PAIRS[keyAliasType]; in GetKeyTypePair()
190 KeyAliasType keyAliasType = isPsk ? KEY_ALIAS_PSK : (uint32_t)userType; in GenerateKeyAlias() local
192 keyAliasType = KEY_ALIAS_LT_KEY_PAIR; in GenerateKeyAlias()
194 Uint8Buff keyTypeBuff = { GetKeyTypePair(keyAliasType), KEY_TYPE_PAIR_LEN }; in GenerateKeyAlias()
H A Dauth_code_import.c95 static uint8_t *GetKeyTypePair(KeyAliasType keyAliasType) in GetKeyTypePair() argument
97 return (uint8_t *)KEY_TYPE_PAIRS[keyAliasType]; in GetKeyTypePair()
/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/common/
H A Ddas_task_common.c38 static uint8_t *GetKeyTypePair(KeyAliasType keyAliasType) in GetKeyTypePair() argument
40 return (uint8_t *)KEY_TYPE_PAIRS[keyAliasType]; in GetKeyTypePair()

Completed in 6 milliseconds