Searched refs:expected_type (Results 1 – 12 of 12) sorted by relevance
/openssl/crypto/cmp/ |
H A D | cmp_client.c | 34 ossl_unused int expected_type) in unprotected_exception() argument 146 expected_type != OSSL_CMP_PKIBODY_POLLREP in send_receive_check() 147 && expected_type != OSSL_CMP_PKIBODY_PKICONF; in send_receive_check() 213 expected_type)) in send_receive_check() 223 if (bt == expected_type in send_receive_check() 224 || (expected_type == OSSL_CMP_PKIBODY_POLLREP in send_receive_check() 423 if (!send_receive_check(ctx, req, rep, expected_type)) in send_receive_also_delayed() 430 if (expected_type != OSSL_CMP_PKIBODY_PKICONF in send_receive_also_delayed() 443 if (OSSL_CMP_MSG_get_bodytype(*rep) != expected_type) { in send_receive_also_delayed() 657 ossl_unused int expected_type) in cert_response() argument [all …]
|
/openssl/providers/implementations/storemgmt/ |
H A D | file_store.c | 106 int expected_type; member 345 if (p != NULL && !OSSL_PARAM_get_int(p, &ctx->expected_type)) in file_set_ctx_params() 441 switch (ctx->expected_type) { in file_setup_decoders() 580 if (ctx->expected_type != 0 in file_name_check() 581 && ctx->expected_type != OSSL_STORE_INFO_CERT in file_name_check() 582 && ctx->expected_type != OSSL_STORE_INFO_CRL) in file_name_check() 599 if (ctx->expected_type != 0 in file_name_check() 600 && ctx->expected_type != OSSL_STORE_INFO_CRL) in file_name_check() 602 } else if (ctx->expected_type == OSSL_STORE_INFO_CRL) { in file_name_check()
|
/openssl/test/ |
H A D | x509_time_test.c | 44 int expected_type; member 375 if (t != NULL && x509_format_tests[idx].expected_type != -1) { in test_x509_time() 376 if (!TEST_int_eq(t->type, x509_format_tests[idx].expected_type)) { in test_x509_time() 378 idx, x509_format_tests[idx].expected_type, t->type); in test_x509_time()
|
H A D | asn1_time_test.c | 26 int expected_type; /* expected type after set/set_string_gmt */ member 221 if (!TEST_int_eq(ptime->type, td->expected_type)) { in test_table() 244 if (!TEST_int_eq(ptime->type, td->expected_type)) { in test_table()
|
/openssl/crypto/store/ |
H A D | store_lib.c | 293 int OSSL_STORE_expect(OSSL_STORE_CTX *ctx, int expected_type) in OSSL_STORE_expect() argument 298 || expected_type < 0 || expected_type > OSSL_STORE_INFO_CRL) { in OSSL_STORE_expect() 307 ctx->expected_type = expected_type; in OSSL_STORE_expect() 313 OSSL_PARAM_construct_int(OSSL_STORE_PARAM_EXPECT, &expected_type); in OSSL_STORE_expect() 319 ret = ctx->loader->expect(ctx->loader_ctx, expected_type); in OSSL_STORE_expect() 479 if (v != NULL && ctx->expected_type != 0) { in OSSL_STORE_load() 483 if (ctx->expected_type != returned_type) { in OSSL_STORE_load()
|
H A D | store_result.c | 270 switch (ctx->expected_type) { in try_key_value() 315 if (ctx->expected_type == 0 in try_key_value_legacy() 316 || ctx->expected_type == OSSL_STORE_INFO_PUBKEY) { in try_key_value_legacy() 326 && (ctx->expected_type == 0 in try_key_value_legacy() 327 || ctx->expected_type == OSSL_STORE_INFO_PKEY)) { in try_key_value_legacy()
|
H A D | store_local.h | 139 int expected_type; member
|
/openssl/engines/ |
H A D | e_loader_attic.c | 903 int expected_type; member 1125 ctx->expected_type = expected; in file_expect() 1443 if (ctx->expected_type != 0 in file_name_check() 1444 && ctx->expected_type != OSSL_STORE_INFO_CERT in file_name_check() 1445 && ctx->expected_type != OSSL_STORE_INFO_CRL) in file_name_check() 1462 if (ctx->expected_type != 0 in file_name_check() 1463 && ctx->expected_type != OSSL_STORE_INFO_CRL) in file_name_check() 1465 } else if (ctx->expected_type == OSSL_STORE_INFO_CRL) { in file_name_check() 1624 && ctx->expected_type != 0 in file_load() 1625 && ctx->expected_type != OSSL_STORE_INFO_get_type(result)) { in file_load()
|
/openssl/doc/man3/ |
H A D | OSSL_STORE_expect.pod | 14 int OSSL_STORE_expect(OSSL_STORE_CTX *ctx, int expected_type); 25 I<expected_type> may be 0 to indicate explicitly that no expectation is made,
|
/openssl/providers/implementations/encode_decode/ |
H A D | encode_key2any.c | 528 static int dh_check_key_type(const void *dh, int expected_type) in dh_check_key_type() argument 533 return type == expected_type; in dh_check_key_type() 918 static int rsa_check_key_type(const void *rsa, int expected_type) in rsa_check_key_type() argument 922 return expected_type == EVP_PKEY_RSA; in rsa_check_key_type() 924 return expected_type == EVP_PKEY_RSA_PSS; in rsa_check_key_type()
|
/openssl/fuzz/ |
H A D | cmp.c | 46 int invalid_protection, int expected_type) in allow_unprotected() argument
|
/openssl/include/openssl/ |
H A D | store.h | 253 int OSSL_STORE_expect(OSSL_STORE_CTX *ctx, int expected_type);
|
Completed in 37 milliseconds