Lines Matching refs:minor
69 int major, minor, patch;
89 || sscanf(vs, "%d.%d.%d", &vers->major, &vers->minor, &vers->patch) != 3)
99 int fips_provider_version_eq(OSSL_LIB_CTX *libctx, int major, int minor, int patch)
106 return major == prov.major && minor == prov.minor && patch == prov.patch;
109 int fips_provider_version_ne(OSSL_LIB_CTX *libctx, int major, int minor, int patch)
116 return major != prov.major || minor != prov.minor || patch != prov.patch;
119 int fips_provider_version_le(OSSL_LIB_CTX *libctx, int major, int minor, int patch)
128 && (prov.minor < minor
129 || (prov.minor == minor && prov.patch <= patch)));
132 int fips_provider_version_lt(OSSL_LIB_CTX *libctx, int major, int minor, int patch)
141 && (prov.minor < minor
142 || (prov.minor == minor && prov.patch < patch)));
145 int fips_provider_version_gt(OSSL_LIB_CTX *libctx, int major, int minor, int patch)
154 && (prov.minor > minor
155 || (prov.minor == minor && prov.patch > patch)));
158 int fips_provider_version_ge(OSSL_LIB_CTX *libctx, int major, int minor, int patch)
167 && (prov.minor > minor
168 || (prov.minor == minor && prov.patch >= patch)));
174 int major, minor, patch, r;
210 if (sscanf(p, "%d.%d.%d", &major, &minor, &patch) != 3) {
216 r = fips_provider_version_eq(libctx, major, minor, patch);
219 r = fips_provider_version_ne(libctx, major, minor, patch);
222 r = fips_provider_version_le(libctx, major, minor, patch);
225 r = fips_provider_version_lt(libctx, major, minor, patch);
228 r = fips_provider_version_gt(libctx, major, minor, patch);
231 r = fips_provider_version_ge(libctx, major, minor, patch);