Home
last modified time | relevance | path

Searched refs:targetItemType (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/base/security/crypto_framework/frameworks/js/napi/crypto/inc/
H A Dnapi_utils.h78 int32_t GetAsyKeySpecType(AsyKeySpecItem targetItemType);
79 int32_t GetSignSpecType(SignSpecItem targetItemType);
80 int32_t GetCipherSpecType(CipherSpecItem targetItemType);
/ohos5.0/base/security/crypto_framework/frameworks/js/napi/crypto/src/
H A Dnapi_utils.cpp77 int32_t GetAsyKeySpecType(AsyKeySpecItem targetItemType) in GetAsyKeySpecType() argument
80 if (ASY_KEY_SPEC_RELATION_SET[i].item == targetItemType) { in GetAsyKeySpecType()
88 int32_t GetSignSpecType(SignSpecItem targetItemType) in GetSignSpecType() argument
90 if (targetItemType == PSS_MD_NAME_STR || targetItemType == PSS_MGF_NAME_STR || in GetSignSpecType()
91 targetItemType == PSS_MGF1_MD_STR) { in GetSignSpecType()
94 if (targetItemType == SM2_USER_ID_UINT8ARR) { in GetSignSpecType()
97 if (targetItemType == PSS_SALT_LEN_INT || targetItemType == PSS_TRAILER_FIELD_INT) { in GetSignSpecType()
104 int32_t GetCipherSpecType(CipherSpecItem targetItemType) in GetCipherSpecType() argument
106 if (targetItemType == OAEP_MD_NAME_STR || targetItemType == OAEP_MGF_NAME_STR || in GetCipherSpecType()
107 targetItemType == OAEP_MGF1_MD_STR || targetItemType == SM2_MD_NAME_STR) { in GetCipherSpecType()
[all …]