Home
last modified time | relevance | path

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

/ohos5.0/base/security/device_auth/frameworks/deviceauth_lite/source/struct/
H A Dkey_agreement_version.c25 static void split_ver(char *tmp_ver, const char *sub_ver, struct key_agreement_version *cur_ver, ch… in split_ver() argument
27 sub_ver = strtok_s(tmp_ver, ".", &next); in split_ver()
28 if (sub_ver != NULL) { in split_ver()
29 cur_ver->first = strtoul(sub_ver, NULL, HC_VERSION_DEC); /* first */ in split_ver()
31 sub_ver = strtok_s(NULL, ".", &next); in split_ver()
32 if (sub_ver != NULL) { in split_ver()
33 cur_ver->second = strtoul(sub_ver, NULL, HC_VERSION_DEC); /* second */ in split_ver()
35 sub_ver = strtok_s(NULL, ".", &next); in split_ver()
36 if (sub_ver != NULL) { in split_ver()
37 cur_ver->third = strtoul(sub_ver, NULL, HC_VERSION_DEC); /* third */ in split_ver()