Home
last modified time | relevance | path

Searched refs:data_type (Results 1 – 25 of 59) sorted by relevance

123

/openssl-master/crypto/
A Dparams.c47 res.data_type = data_type; in ossl_param_construct()
168 if (p->data_type == OSSL_PARAM_INTEGER) in general_get_int()
183 if (p->data_type == OSSL_PARAM_INTEGER) in general_set_int()
194 if (p->data_type == OSSL_PARAM_INTEGER) in general_get_uint()
209 if (p->data_type == OSSL_PARAM_INTEGER) in general_set_uint()
350 if (p->data_type == OSSL_PARAM_INTEGER) { in OSSL_PARAM_get_int32()
412 if (p->data_type == OSSL_PARAM_INTEGER) { in OSSL_PARAM_set_int32()
592 if (p->data_type == OSSL_PARAM_INTEGER) { in OSSL_PARAM_get_int64()
960 if (p->data_type == OSSL_PARAM_REAL) { in OSSL_PARAM_get_double()
1003 if (p->data_type == OSSL_PARAM_REAL) { in OSSL_PARAM_set_double()
[all …]
A Dparams_from_text.c49 switch (p->data_type) { in prepare_from_text()
70 if (p->data_type == OSSL_PARAM_INTEGER && BN_is_negative(*tmpbn) in prepare_from_text()
84 || (p->data_type == OSSL_PARAM_INTEGER in prepare_from_text()
121 switch (paramdef->data_type) { in construct_from_text()
140 if (paramdef->data_type == OSSL_PARAM_INTEGER in construct_from_text()
A Dparams_dup.c57 last->data_type = OSSL_PARAM_ALLOCATED_END; in ossl_param_set_secure_block()
76 if (in->data_type == OSSL_PARAM_OCTET_PTR in ossl_param_dup()
77 || in->data_type == OSSL_PARAM_UTF8_PTR) { in ossl_param_dup()
86 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-master/test/
A Dparam_build_test.c74 || !TEST_uint_eq(p->data_type, OSSL_PARAM_INTEGER) in template_public_test()
81 || !TEST_uint_eq(p->data_type, OSSL_PARAM_INTEGER) in template_public_test()
87 || !TEST_uint_eq(p->data_type, OSSL_PARAM_INTEGER) in template_public_test()
94 || !TEST_uint_eq(p->data_type, OSSL_PARAM_INTEGER) in template_public_test()
101 || !TEST_uint_eq(p->data_type, OSSL_PARAM_INTEGER) in template_public_test()
109 || !TEST_uint_eq(p->data_type, OSSL_PARAM_REAL) in template_public_test()
124 || !TEST_uint_eq(p->data_type, OSSL_PARAM_UNSIGNED_INTEGER) in template_public_test()
245 || !TEST_uint_eq(p->data_type, OSSL_PARAM_OCTET_STRING) in template_private_test()
252 || !TEST_uint_eq(p->data_type, OSSL_PARAM_OCTET_PTR) in template_private_test()
400 || !TEST_uint_eq(p->data_type, OSSL_PARAM_OCTET_STRING) in builder_merge_test()
[all …]
A Dprovider_status_test.c61 if (p == NULL || p->data_type != OSSL_PARAM_UTF8_STRING) in self_test_events()
66 if (p == NULL || p->data_type != OSSL_PARAM_UTF8_STRING) in self_test_events()
71 if (p == NULL || p->data_type != OSSL_PARAM_UTF8_STRING) in self_test_events()
/openssl-master/providers/common/
A Dprovider_util.c59 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-master/apps/lib/
A Dapp_params.c20 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-master/providers/implementations/encode_decode/
A Ddecode_pem2der.c102 const char *data_type; in pem2der_decode() member
178 char *data_type = (char *)pem_name_map[i].data_type; in pem2der_decode() local
182 if (data_type != NULL) in pem2der_decode()
185 data_type, 0); in pem2der_decode()
/openssl-master/crypto/ffc/
A Dffc_backend.c39 if (prm->data_type != OSSL_PARAM_UTF8_STRING in ossl_ffc_params_fromdata()
78 if (prm->data_type != OSSL_PARAM_OCTET_STRING) in ossl_ffc_params_fromdata()
107 if (prm->data_type != OSSL_PARAM_UTF8_STRING) in ossl_ffc_params_fromdata()
111 if (p1->data_type != OSSL_PARAM_UTF8_STRING) in ossl_ffc_params_fromdata()
/openssl-master/crypto/store/
A Dstore_result.c64 const char *data_type; member
105 && !OSSL_PARAM_get_utf8_string_ptr(p, &helper_data.data_type)) in ossl_store_handle_load_result()
196 if (data->data_type == NULL) in try_key_ref()
199 keymgmt = EVP_KEYMGMT_fetch(libctx, data->data_type, propq); in try_key_ref()
272 data->data_type, selection, libctx, in try_key_value()
459 if (data->data_type != NULL in try_cert()
460 && (strcasecmp(data->data_type, PEM_STRING_X509_TRUSTED) == 0)) in try_cert()
/openssl-master/providers/implementations/ciphers/
A Dcipher_chacha20_poly1305.c111 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in chacha20_poly1305_get_ctx_params()
181 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in chacha20_poly1305_set_ctx_params()
201 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in chacha20_poly1305_set_ctx_params()
215 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in chacha20_poly1305_set_ctx_params()
A Dcipher_aes_cbc_hmac_sha.c102 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()
A Dciphercommon_ccm.c79 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in ossl_ccm_set_ctx_params()
117 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in ossl_ccm_set_ctx_params()
131 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in ossl_ccm_set_ctx_params()
209 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in ossl_ccm_get_ctx_params()
A Dcipher_rc4_hmac_md5.c175 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in rc4_hmac_md5_set_ctx_params()
188 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in rc4_hmac_md5_set_ctx_params()
A Dciphercommon_gcm.c215 || p->data_type != OSSL_PARAM_OCTET_STRING in ossl_gcm_get_ctx_params()
261 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in ossl_gcm_set_ctx_params()
275 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in ossl_gcm_set_ctx_params()
287 || p->data_type != OSSL_PARAM_OCTET_STRING in ossl_gcm_set_ctx_params()
/openssl-master/crypto/encode_decode/
A Ddecoder_lib.c687 const char *data_type = NULL; in decoder_process() local
761 if (p == NULL || p->data_type != OSSL_PARAM_OCTET_STRING) in decoder_process()
770 if (p != NULL && !OSSL_PARAM_get_utf8_string_ptr(p, &data_type)) in decoder_process()
791 if (data_type != NULL && data_structure != NULL in decoder_process()
800 data_type, trace_data_structure, in decoder_process()
883 if (data_type != NULL && !OSSL_DECODER_is_a(new_decoder, data_type)) { in decoder_process()
/openssl-master/providers/implementations/keymgmt/
A Ddh_kmgmt.c297 if (p->data_type != OSSL_PARAM_OCTET_STRING) in dh_get_params()
342 && (p->data_type != OSSL_PARAM_OCTET_STRING in dh_set_params()
503 if (p->data_type != OSSL_PARAM_UTF8_STRING in dh_gen_common_set_params()
514 if (p->data_type != OSSL_PARAM_UTF8_STRING in dh_gen_common_set_params()
585 && (p->data_type != OSSL_PARAM_OCTET_STRING in dhx_gen_set_params()
593 if (p->data_type != OSSL_PARAM_UTF8_STRING) in dhx_gen_set_params()
602 if (p->data_type != OSSL_PARAM_UTF8_STRING) in dhx_gen_set_params()
A Ddsa_kmgmt.c438 if (p->data_type != OSSL_PARAM_UTF8_STRING in dsa_gen_set_params()
458 && (p->data_type != OSSL_PARAM_OCTET_STRING in dsa_gen_set_params()
469 if (p->data_type != OSSL_PARAM_UTF8_STRING) in dsa_gen_set_params()
478 if (p->data_type != OSSL_PARAM_UTF8_STRING) in dsa_gen_set_params()
A Dmac_legacy_kmgmt.c191 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in mac_key_fromdata()
208 if (p->data_type != OSSL_PARAM_UTF8_STRING) { in mac_key_fromdata()
428 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in mac_gen_set_params()
/openssl-master/doc/man3/
A DOSSL_PARAM_allocate_from_text.pod31 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-master/providers/implementations/digests/
A Dmd5_sha1_prov.c51 if (p != NULL && p->data_type == OSSL_PARAM_OCTET_STRING) in md5_sha1_set_ctx_params()
A Dsha2_prov.c54 if (p != NULL && p->data_type == OSSL_PARAM_OCTET_STRING) in sha1_set_ctx_params()
/openssl-master/providers/implementations/macs/
A Dgmac_prov.c227 if (p->data_type != OSSL_PARAM_OCTET_STRING in gmac_set_ctx_params()
232 if (p->data_type != OSSL_PARAM_OCTET_STRING) in gmac_set_ctx_params()
/openssl-master/include/openssl/
A Dcore.h84 unsigned int data_type; /* declare what kind of content is in buffer */ member
/openssl-master/crypto/rsa/
A Drsa_backend.c251 if (param_propq->data_type == OSSL_PARAM_UTF8_STRING) in ossl_rsa_pss_params_30_fromdata()
271 if (param_mgf->data_type == OSSL_PARAM_UTF8_STRING) in ossl_rsa_pss_params_30_fromdata()
289 if (param_md->data_type == OSSL_PARAM_UTF8_STRING) in ossl_rsa_pss_params_30_fromdata()
303 if (param_mgf1md->data_type == OSSL_PARAM_UTF8_STRING) in ossl_rsa_pss_params_30_fromdata()

Completed in 36 milliseconds

123