/openssl/crypto/ |
H A D | params.c | 476 p->return_size = 0; in OSSL_PARAM_set_int32() 631 p->return_size = 0; in OSSL_PARAM_set_uint32() 778 p->return_size = 0; in OSSL_PARAM_set_int64() 933 p->return_size = 0; in OSSL_PARAM_set_uint64() 1106 p->return_size = 0; in OSSL_PARAM_set_BN() 1217 p->return_size = 0; in OSSL_PARAM_set_double() 1396 p->return_size = len; in set_string_internal() 1422 p->return_size = 0; in OSSL_PARAM_set_utf8_string() 1438 p->return_size = 0; in OSSL_PARAM_set_octet_string() 1507 p->return_size = 0; in OSSL_PARAM_set_utf8_ptr() [all …]
|
H A D | params_from_text.c | 196 to->return_size = OSSL_PARAM_UNMODIFIED; in construct_from_text()
|
H A D | param_build.c | 321 param[i].return_size = OSSL_PARAM_UNMODIFIED; in param_bld_convert()
|
/openssl/test/ |
H A D | params_test.c | 177 params->return_size = sizeof(obj->p1); in raw_get_params() 180 params->return_size = sizeof(obj->p2); in raw_get_params() 183 params->return_size = BN_num_bytes(obj->p3); in raw_get_params() 188 params->return_size = strlen(obj->p4); in raw_get_params() 193 params->return_size = strlen(obj->p5); in raw_get_params() 198 params->return_size = strlen(obj->p6); in raw_get_params() 463 || !TEST_ptr(BN_native2bn(bignumbin, p->return_size, app_p3)) in test_case_variant() 467 || !TEST_size_t_eq(p->return_size, in test_case_variant() 471 || !TEST_size_t_eq(p->return_size, in test_case_variant() 518 || !TEST_size_t_eq(p->return_size, in test_case_variant() [all …]
|
H A D | params_api_test.c | 131 param->return_size = OSSL_PARAM_UNMODIFIED; in test_param_type_extra() 517 param.data_size = param.return_size; in test_param_bignum() 554 param.data_size = param.return_size; in test_param_signed_bignum() 656 || !TEST_size_t_eq(cp->data_size, cp->return_size) in test_param_construct() 667 || !TEST_size_t_eq(cp->data_size, cp->return_size) in test_param_construct() 677 || !TEST_size_t_eq(cp->return_size, sizeof(double)) in test_param_construct() 713 cp->data_size = cp->return_size; in test_param_construct() 729 || !TEST_size_t_eq(cp->return_size, sizeof(ul)) in test_param_construct() 733 cp->data_size = cp->return_size; in test_param_construct() 742 || !TEST_size_t_eq(cp->data_size, cp->return_size)) in test_param_construct() [all …]
|
H A D | p_test.c | 138 p->return_size = buf_l = strlen(buf) + 1; in p_get_params() 196 p->return_size = sizeof(digestsuccess); in p_get_params() 212 p->return_size = sizeof(stopsuccess); in p_get_params()
|
H A D | algorithmid_test.c | 90 algid_prov_len = params[0].return_size; in test_spki_aid() 174 algid_prov_len = params[0].return_size; in test_x509_sig_aid()
|
H A D | evp_kdf_test.c | 1915 || !TEST_mem_eq(digestname, params[0].return_size, "SHA2-256", 8) in test_kdf_hmac_drbg_settables() 1916 || !TEST_mem_eq(macname, params[1].return_size, "HMAC", 4)) in test_kdf_hmac_drbg_settables()
|
/openssl/doc/man3/ |
H A D | OSSL_PARAM.pod | 17 size_t return_size; /* returned size */ 123 =item I<return_size> 134 I<return_size> should be ignored. 196 I<return_size> to the size of the data. 222 I<return_size> to the size of the data. 252 Apart from the I<return_size>, a I<responder> must never change the fields 272 set I<return_size> to the size of the item to be returned 279 requested data, it must set I<return_size> for each such 290 native endianness, and set I<return_size> to the same value as 349 params[i].return_size = 9; /* length of "foo value" string */ [all …]
|
H A D | OSSL_PARAM_int.pod | 229 If the parameter's I<data> field is NULL, then only its I<return_size> field 238 If the parameter's I<data> field is NULL, then only its I<return_size> field 258 If the parameter's I<data> field is NULL, then only its I<return_size> field 273 If the parameter's I<data> field is NULL, then only its I<return_size> field 302 creation, via either the macros or construct calls, the I<return_size> field 304 I<return_size> field is changed.
|
H A D | OSSL_PARAM_allocate_from_text.pod | 34 values from the item that was found, and I<< to->return_size >> is set
|
/openssl/include/openssl/ |
H A D | core.h | 90 size_t return_size; /* returned content size */ member
|
/openssl/crypto/evp/ |
H A D | p_lib.c | 1413 size_t return_size = OSSL_PARAM_UNMODIFIED; in EVP_PKEY_get1_encoded_public_key() local 1422 NULL, 0, &return_size); in EVP_PKEY_get1_encoded_public_key() 1423 if (return_size == OSSL_PARAM_UNMODIFIED) in EVP_PKEY_get1_encoded_public_key() 1427 buf = OPENSSL_malloc(return_size); in EVP_PKEY_get1_encoded_public_key() 1433 buf, return_size, NULL)) { in EVP_PKEY_get1_encoded_public_key() 1438 return return_size; in EVP_PKEY_get1_encoded_public_key() 2186 buf_sz = params[0].return_size; in EVP_PKEY_get_bn_param() 2231 *out_len = params[0].return_size; in EVP_PKEY_get_octet_string_param() 2250 *out_len = params[0].return_size; in EVP_PKEY_get_utf8_string_param() 2252 if (ret2 && params[0].return_size == max_buf_sz) in EVP_PKEY_get_utf8_string_param() [all …]
|
H A D | evp_lib.c | 1298 if (OSSL_PARAM_modified(¶ms[0]) && params[0].return_size != 0) in EVP_CIPHER_CTX_get_algor_params() 1300 if (OSSL_PARAM_modified(¶ms[1]) && params[1].return_size != 0) in EVP_CIPHER_CTX_get_algor_params() 1315 derl = params[i].return_size; in EVP_CIPHER_CTX_get_algor_params() 1351 aid_len = params[0].return_size; in EVP_CIPHER_CTX_get_algor() 1428 derl = params[0].return_size; in EVP_PKEY_CTX_get_algor_params() 1467 aid_len = params[0].return_size; in EVP_PKEY_CTX_get_algor()
|
H A D | keymgmt_lib.c | 556 if (params[1].return_size <= 1) /* Only a NUL byte */ in evp_keymgmt_util_get_deflt_digest_name() 562 if (params[0].return_size <= 1) /* Only a NUL byte */ in evp_keymgmt_util_get_deflt_digest_name()
|
H A D | ec_ctrl.c | 265 ukmlen = params[0].return_size; in EVP_PKEY_CTX_get0_ecdh_kdf_ukm()
|
H A D | dh_ctrl.c | 340 ukmlen = params[0].return_size; in EVP_PKEY_CTX_get0_dh_kdf_ukm()
|
H A D | pmeth_lib.c | 1062 if (os_params[0].return_size == OSSL_PARAM_UNMODIFIED) in evp_pkey_ctx_add1_octet_string() 1065 info_alloc = os_params[0].return_size + datalen; in evp_pkey_ctx_add1_octet_string() 1071 info_len = os_params[0].return_size; in evp_pkey_ctx_add1_octet_string()
|
/openssl/providers/implementations/ciphers/ |
H A D | cipher_rc2.c | 154 p1->return_size = (size_t)i; in rc2_get_ctx_params() 163 p2->return_size = (size_t)i; in rc2_get_ctx_params()
|
/openssl/doc/designs/ |
H A D | fast-param-find.md | 40 p->return_size = ctx->salt_len; 291 p->return_size = ctx->salt_len;
|
/openssl/crypto/cms/ |
H A D | cms_rsa.c | 237 if ((aid_len = params[0].return_size) == 0) in rsa_cms_sign()
|
/openssl/crypto/asn1/ |
H A D | a_sign.c | 186 if ((aid_len = params[0].return_size) == 0) { in ASN1_item_sign_ctx()
|
/openssl/providers/implementations/keymgmt/ |
H A D | dh_kmgmt.c | 332 p->return_size = ossl_dh_key2buf(dh, (unsigned char **)&p->data, in dh_get_params() 334 if (p->return_size == 0) in dh_get_params()
|
H A D | ec_kmgmt.c | 749 p->return_size = EC_POINT_point2oct(ecg, ecp, in common_get_params() 752 if (p->return_size == 0) in common_get_params()
|
/openssl/providers/implementations/kdfs/ |
H A D | hkdf.c | 380 p->return_size = 0; in hkdf_common_get_ctx_params()
|