Lines Matching refs:major

69     int major, minor, patch;  member
89 || sscanf(vs, "%d.%d.%d", &vers->major, &vers->minor, &vers->patch) != 3) in fips_provider_version()
99 int fips_provider_version_eq(OSSL_LIB_CTX *libctx, int major, int minor, int patch) in fips_provider_version_eq() argument
106 return major == prov.major && minor == prov.minor && patch == prov.patch; in fips_provider_version_eq()
109 int fips_provider_version_ne(OSSL_LIB_CTX *libctx, int major, int minor, int patch) in fips_provider_version_ne() argument
116 return major != prov.major || minor != prov.minor || patch != prov.patch; in fips_provider_version_ne()
119 int fips_provider_version_le(OSSL_LIB_CTX *libctx, int major, int minor, int patch) in fips_provider_version_le() argument
126 return prov.major < major in fips_provider_version_le()
127 || (prov.major == major in fips_provider_version_le()
132 int fips_provider_version_lt(OSSL_LIB_CTX *libctx, int major, int minor, int patch) in fips_provider_version_lt() argument
139 return prov.major < major in fips_provider_version_lt()
140 || (prov.major == major in fips_provider_version_lt()
145 int fips_provider_version_gt(OSSL_LIB_CTX *libctx, int major, int minor, int patch) in fips_provider_version_gt() argument
152 return prov.major > major in fips_provider_version_gt()
153 || (prov.major == major in fips_provider_version_gt()
158 int fips_provider_version_ge(OSSL_LIB_CTX *libctx, int major, int minor, int patch) in fips_provider_version_ge() argument
165 return prov.major > major in fips_provider_version_ge()
166 || (prov.major == major in fips_provider_version_ge()
174 int major, minor, patch, r; in fips_provider_version_match() local
210 if (sscanf(p, "%d.%d.%d", &major, &minor, &patch) != 3) { in fips_provider_version_match()
216 r = fips_provider_version_eq(libctx, major, minor, patch); in fips_provider_version_match()
219 r = fips_provider_version_ne(libctx, major, minor, patch); in fips_provider_version_match()
222 r = fips_provider_version_le(libctx, major, minor, patch); in fips_provider_version_match()
225 r = fips_provider_version_lt(libctx, major, minor, patch); in fips_provider_version_match()
228 r = fips_provider_version_gt(libctx, major, minor, patch); in fips_provider_version_match()
231 r = fips_provider_version_ge(libctx, major, minor, patch); in fips_provider_version_match()