/openssl/crypto/ |
H A D | params.c | 73 res.data_type = data_type; in ossl_param_construct() 204 if (p->data_type == OSSL_PARAM_INTEGER) in general_get_int() 220 if (p->data_type == OSSL_PARAM_INTEGER) in general_set_int() 238 if (p->data_type == OSSL_PARAM_INTEGER) in general_get_uint() 1077 switch (p->data_type) { in OSSL_PARAM_get_BN() 1130 switch (p->data_type) { in OSSL_PARAM_set_BN() 1315 if (p->data_type != type) { in get_string_internal() 1399 if (p->data_type != type) { in set_string_internal() 1467 if (p->data_type != type) { in get_ptr_internal() 1492 if (p->data_type != type) { in set_ptr_internal() [all …]
|
H A D | params_from_text.c | 47 switch (p->data_type) { in prepare_from_text() 58 if (p->data_type == OSSL_PARAM_UNSIGNED_INTEGER in prepare_from_text() 74 if (p->data_type == OSSL_PARAM_INTEGER && BN_is_negative(*tmpbn) in prepare_from_text() 91 if (p->data_type == OSSL_PARAM_INTEGER && buf_bits % 8 == 0) in prepare_from_text() 143 switch (paramdef->data_type) { in construct_from_text() 162 if (paramdef->data_type == OSSL_PARAM_INTEGER in construct_from_text() 246 switch (p->data_type) { in OSSL_PARAM_print_to_bio() 295 p->data_type, p->data_size); in OSSL_PARAM_print_to_bio()
|
H A D | params_dup.c | 53 last->data_type = OSSL_PARAM_ALLOCATED_END; in ossl_param_set_secure_block() 72 if (in->data_type == OSSL_PARAM_OCTET_PTR in ossl_param_dup() 73 || in->data_type == OSSL_PARAM_UTF8_PTR) { in ossl_param_dup() 82 if (in->data_type == OSSL_PARAM_UTF8_STRING) in ossl_param_dup() 232 if (p->data_type == OSSL_PARAM_ALLOCATED_END) in OSSL_PARAM_free()
|
/openssl/test/ |
H A D | param_build_test.c | 37 || !TEST_uint_eq(p->data_type, OSSL_PARAM_UNSIGNED_INTEGER) in template_public_single_zero_test() 149 || !TEST_uint_eq(p->data_type, OSSL_PARAM_INTEGER) in template_public_test() 156 || !TEST_uint_eq(p->data_type, OSSL_PARAM_INTEGER) in template_public_test() 162 || !TEST_uint_eq(p->data_type, OSSL_PARAM_INTEGER) in template_public_test() 169 || !TEST_uint_eq(p->data_type, OSSL_PARAM_INTEGER) in template_public_test() 176 || !TEST_uint_eq(p->data_type, OSSL_PARAM_INTEGER) in template_public_test() 184 || !TEST_uint_eq(p->data_type, OSSL_PARAM_REAL) in template_public_test() 211 || !TEST_uint_eq(p->data_type, OSSL_PARAM_INTEGER) in template_public_test() 351 || !TEST_uint_eq(p->data_type, OSSL_PARAM_OCTET_PTR) in template_private_test() 373 || !TEST_uint_eq(p->data_type, OSSL_PARAM_INTEGER) in template_private_test() [all …]
|
H A D | provider_status_test.c | 62 if (p == NULL || p->data_type != OSSL_PARAM_UTF8_STRING) in self_test_events() 67 if (p == NULL || p->data_type != OSSL_PARAM_UTF8_STRING) in self_test_events() 72 if (p == NULL || p->data_type != OSSL_PARAM_UTF8_STRING) in self_test_events()
|
H A D | pairwise_fail_test.c | 55 if (p == NULL || p->data_type != OSSL_PARAM_UTF8_STRING) in self_test_on_pairwise_fail() 60 if (p == NULL || p->data_type != OSSL_PARAM_UTF8_STRING) in self_test_on_pairwise_fail()
|
/openssl/providers/common/ |
H A D | provider_util.c | 59 if (p->data_type != OSSL_PARAM_UTF8_STRING) in load_common() 72 if (p->data_type != OSSL_PARAM_UTF8_STRING) in load_common() 107 if (p->data_type != OSSL_PARAM_UTF8_STRING) in ossl_prov_cipher_load_from_params() 192 if (p->data_type != OSSL_PARAM_UTF8_STRING) in ossl_prov_digest_load_from_params() 240 if (p->data_type != OSSL_PARAM_UTF8_STRING) in ossl_prov_set_macctx() 248 if (p->data_type != OSSL_PARAM_UTF8_STRING) in ossl_prov_set_macctx() 256 if (p->data_type != OSSL_PARAM_UTF8_STRING) in ossl_prov_set_macctx() 302 if (p->data_type != OSSL_PARAM_UTF8_STRING) in ossl_prov_macctx_load_from_params() 308 if (p->data_type != OSSL_PARAM_UTF8_STRING) in ossl_prov_macctx_load_from_params()
|
/openssl/apps/lib/ |
H A D | app_params.c | 20 switch (param->data_type) { in describe_param_type() 56 printed_len = BIO_snprintf(buf, bufsz, " [%d]", param->data_type); in describe_param_type() 103 switch (p->data_type) { in print_param_value() 128 p->data_type, p->data_size); in print_param_value()
|
/openssl/providers/implementations/encode_decode/ |
H A D | decode_pem2der.c | 106 const char *data_type; in pem2der_decode() member 183 char *data_type = (char *)pem_name_map[i].data_type; in pem2der_decode() local 187 if (data_type != NULL) in pem2der_decode() 190 data_type, 0); in pem2der_decode()
|
/openssl/crypto/ffc/ |
H A D | ffc_backend.c | 36 if (prm->data_type != OSSL_PARAM_UTF8_STRING in ossl_ffc_params_fromdata() 76 if (prm->data_type != OSSL_PARAM_OCTET_STRING in ossl_ffc_params_fromdata() 104 if (prm->data_type != OSSL_PARAM_UTF8_STRING) in ossl_ffc_params_fromdata() 108 if (p1->data_type != OSSL_PARAM_UTF8_STRING) in ossl_ffc_params_fromdata()
|
/openssl/crypto/store/ |
H A D | store_result.c | 64 const char *data_type; member 105 && !OSSL_PARAM_get_utf8_string_ptr(p, &helper_data.data_type)) in ossl_store_handle_load_result() 197 if (data->data_type == NULL) in try_key_ref() 200 keymgmt = EVP_KEYMGMT_fetch(libctx, data->data_type, propq); in try_key_ref() 241 data->data_type, propq); in try_key_ref() 290 data->data_type, selection, libctx, in try_key_value() 477 if (data->data_type != NULL in try_cert() 478 && (OPENSSL_strcasecmp(data->data_type, PEM_STRING_X509_TRUSTED) == 0)) in try_cert()
|
/openssl/providers/implementations/ciphers/ |
H A D | cipher_chacha20_poly1305.c | 129 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in chacha20_poly1305_get_ctx_params() 198 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in chacha20_poly1305_set_ctx_params() 218 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in chacha20_poly1305_set_ctx_params() 232 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in chacha20_poly1305_set_ctx_params()
|
H A D | cipher_aes_cbc_hmac_sha.c | 102 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in aes_set_ctx_params() 130 if (p->data_type != OSSL_PARAM_OCTET_STRING in aes_set_ctx_params() 158 if (p->data_type != OSSL_PARAM_OCTET_STRING in aes_set_ctx_params() 160 || pin->data_type != OSSL_PARAM_OCTET_STRING in aes_set_ctx_params() 176 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in aes_set_ctx_params()
|
H A D | ciphercommon_ccm.c | 79 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in ossl_ccm_set_ctx_params() 120 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in ossl_ccm_set_ctx_params() 134 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in ossl_ccm_set_ctx_params() 212 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in ossl_ccm_get_ctx_params()
|
H A D | cipher_rc2.c | 129 if ((p1 != NULL && p1->data_type != OSSL_PARAM_OCTET_STRING) in rc2_get_ctx_params() 130 || (p2 != NULL && p2->data_type != OSSL_PARAM_OCTET_STRING)) { in rc2_get_ctx_params() 199 if (p->data_type != OSSL_PARAM_OCTET_STRING in rc2_set_ctx_params()
|
H A D | ciphercommon_gcm.c | 235 || p->data_type != OSSL_PARAM_OCTET_STRING in ossl_gcm_get_ctx_params() 295 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in ossl_gcm_set_ctx_params() 308 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in ossl_gcm_set_ctx_params() 320 || p->data_type != OSSL_PARAM_OCTET_STRING in ossl_gcm_set_ctx_params()
|
H A D | cipher_rc4_hmac_md5.c | 185 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in rc4_hmac_md5_set_ctx_params() 198 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in rc4_hmac_md5_set_ctx_params()
|
/openssl/crypto/encode_decode/ |
H A D | decoder_lib.c | 724 const char *data_type = NULL; in decoder_process() local 799 if (p == NULL || p->data_type != OSSL_PARAM_OCTET_STRING) in decoder_process() 808 if (p != NULL && !OSSL_PARAM_get_utf8_string_ptr(p, &data_type)) in decoder_process() 829 if (data_type != NULL && data_structure != NULL in decoder_process() 838 data_type, trace_data_structure, in decoder_process() 922 if (data_type != NULL && !OSSL_DECODER_is_a(new_decoder, data_type)) { in decoder_process()
|
/openssl/providers/implementations/keymgmt/ |
H A D | dh_kmgmt.c | 330 if (p->data_type != OSSL_PARAM_OCTET_STRING) in dh_get_params() 375 && (p->data_type != OSSL_PARAM_OCTET_STRING in dh_set_params() 539 if (p->data_type != OSSL_PARAM_UTF8_STRING in dh_gen_common_set_params() 552 if (p->data_type != OSSL_PARAM_UTF8_STRING in dh_gen_common_set_params() 624 && (p->data_type != OSSL_PARAM_OCTET_STRING in dhx_gen_set_params() 632 if (p->data_type != OSSL_PARAM_UTF8_STRING) in dhx_gen_set_params() 641 if (p->data_type != OSSL_PARAM_UTF8_STRING) in dhx_gen_set_params()
|
H A D | dsa_kmgmt.c | 482 if (p->data_type != OSSL_PARAM_UTF8_STRING in dsa_gen_set_params() 510 && (p->data_type != OSSL_PARAM_OCTET_STRING in dsa_gen_set_params() 521 if (p->data_type != OSSL_PARAM_UTF8_STRING) in dsa_gen_set_params() 530 if (p->data_type != OSSL_PARAM_UTF8_STRING) in dsa_gen_set_params()
|
/openssl/doc/man3/ |
H A D | OSSL_PARAM_allocate_from_text.pod | 31 suitable for that item's I<data_type>, and stores the result in 33 I<< to->key >> and I<< to->data_type >> are assigned the corresponding 52 depending on that item's I<data_type>, as follows: 111 =item I<data_type>
|
/openssl/providers/implementations/digests/ |
H A D | md5_sha1_prov.c | 51 if (p != NULL && p->data_type == OSSL_PARAM_OCTET_STRING) in md5_sha1_set_ctx_params()
|
/openssl/providers/implementations/macs/ |
H A D | gmac_prov.c | 230 if (p->data_type != OSSL_PARAM_OCTET_STRING in gmac_set_ctx_params() 235 if (p->data_type != OSSL_PARAM_OCTET_STRING) in gmac_set_ctx_params()
|
/openssl/include/openssl/ |
H A D | core.h | 87 unsigned int data_type; /* declare what kind of content is in buffer */ member
|
/openssl/crypto/rsa/ |
H A D | rsa_backend.c | 378 if (param_propq->data_type == OSSL_PARAM_UTF8_STRING) in ossl_rsa_pss_params_30_fromdata() 398 if (param_mgf->data_type == OSSL_PARAM_UTF8_STRING) in ossl_rsa_pss_params_30_fromdata() 416 if (param_md->data_type == OSSL_PARAM_UTF8_STRING) in ossl_rsa_pss_params_30_fromdata() 430 if (param_mgf1md->data_type == OSSL_PARAM_UTF8_STRING) in ossl_rsa_pss_params_30_fromdata()
|