Home
last modified time | relevance | path

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

/openssl/crypto/cmp/
H A Dcmp_client.c34 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 Dfile_store.c106 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 Dx509_time_test.c44 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 Dasn1_time_test.c26 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 Dstore_lib.c293 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 Dstore_result.c270 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 Dstore_local.h139 int expected_type; member
/openssl/engines/
H A De_loader_attic.c903 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 DOSSL_STORE_expect.pod14 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 Dencode_key2any.c528 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 Dcmp.c46 int invalid_protection, int expected_type) in allow_unprotected() argument
/openssl/include/openssl/
H A Dstore.h253 int OSSL_STORE_expect(OSSL_STORE_CTX *ctx, int expected_type);

Completed in 37 milliseconds