Searched refs:strKey (Results 1 – 6 of 6) sorted by relevance
/base/security/huks/frameworks/crypto_lite/js/builtin/src/ |
D | cipher_module.cpp | 34 char *strKey = JSI::GetStringProperty(args[0], "key"); in Rsa() local 46 if ((strKey == nullptr) || (strText == nullptr)) { in Rsa() 50 rsaKey.key = strKey; in Rsa() 51 rsaKey.keyLen = strlen(strKey); in Rsa() 85 ResetStrBuf(strKey); in Rsa() 86 JSI::ReleaseString(strKey); in Rsa() 108 char *strKey = JSI::GetStringProperty(args[0], "key"); in Aes() local 134 ret = InitAesCryptData(strAction, strText, strKey, &iv, &aes); in Aes() 152 ResetStrBuf(strKey); in Aes() 154 JSI::ReleaseString(strKey); in Aes()
|
/base/security/access_token/interfaces/innerkits/nativetoken/src/ |
D | nativetoken_json_oper.c | 83 cJSON *strArrJson = cJSON_GetObjectItem(cjsonItem, attr->strKey); in GetInfoArrFromJson() 117 … int32_t AddStrArrayInfo(cJSON *object, char* const strArray[], int32_t strNum, const char *strKey) in AddStrArrayInfo() argument 121 AT_LOG_ERROR("[ATLIB-%s]:CreateArray failed, strKey :%s.", __func__, strKey); in AddStrArrayInfo() 127 AT_LOG_ERROR("[ATLIB-%s]:AddItemToArray failed, strKey : %s.", __func__, strKey); in AddStrArrayInfo() 133 if (!cJSON_AddItemToObject(object, strKey, strJsonArr)) { in AddStrArrayInfo() 134 AT_LOG_ERROR("[ATLIB-%s]:AddItemToObject failed, strKey : %s.", __func__, strKey); in AddStrArrayInfo() 207 static uint32_t UpdateStrArrayType(char* const strArr[], int32_t strNum, const char *strKey, cJSON … in UpdateStrArrayType() argument 228 if (cJSON_GetObjectItem(record, strKey) != NULL) { in UpdateStrArrayType() 229 if (!cJSON_ReplaceItemInObject(record, strKey, strArrJson)) { in UpdateStrArrayType() 235 if (!cJSON_AddItemToObject(record, strKey, strArrJson)) { in UpdateStrArrayType()
|
D | nativetoken.c | 95 …atic void StrAttrSet(StrArrayAttr *attr, uint32_t maxStrLen, int32_t maxStrNum, const char *strKey) in StrAttrSet() argument 99 attr->strKey = strKey; in StrAttrSet()
|
/base/startup/syspara_lite/hals/parameter/src/ |
D | parameter_hal.cpp | 57 const std::string strKey(key); in HalGetParameter() local 58 std::string res = OHOS::system::GetParameter(strKey, ""); in HalGetParameter() 82 const std::string strKey(key); in HalGetIntParameter() local 83 return OHOS::system::GetIntParameter(strKey, def); in HalGetIntParameter() 91 const std::string strKey(key); in HalSetParameter() local 93 bool ret = OHOS::system::SetParameter(strKey, strVal); in HalSetParameter()
|
/base/security/access_token/interfaces/innerkits/nativetoken/include/ |
D | nativetoken.h | 92 const char *strKey; member
|
/base/security/access_token/interfaces/innerkits/nativetoken/test/unittest/src/ |
D | nativetoken_oper_test.cpp | 179 attr.strKey = "dcaps";
|