Home
last modified time | relevance | path

Searched refs:return_size (Results 1 – 25 of 31) sorted by relevance

12

/openssl/crypto/
H A Dparams.c476 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 Dparams_from_text.c196 to->return_size = OSSL_PARAM_UNMODIFIED; in construct_from_text()
H A Dparam_build.c321 param[i].return_size = OSSL_PARAM_UNMODIFIED; in param_bld_convert()
/openssl/test/
H A Dparams_test.c177 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 Dparams_api_test.c131 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 Dp_test.c138 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 Dalgorithmid_test.c90 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 Devp_kdf_test.c1915 || !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 DOSSL_PARAM.pod17 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 DOSSL_PARAM_int.pod229 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 DOSSL_PARAM_allocate_from_text.pod34 values from the item that was found, and I<< to->return_size >> is set
/openssl/include/openssl/
H A Dcore.h90 size_t return_size; /* returned content size */ member
/openssl/crypto/evp/
H A Dp_lib.c1413 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 Devp_lib.c1298 if (OSSL_PARAM_modified(&params[0]) && params[0].return_size != 0) in EVP_CIPHER_CTX_get_algor_params()
1300 if (OSSL_PARAM_modified(&params[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 Dkeymgmt_lib.c556 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 Dec_ctrl.c265 ukmlen = params[0].return_size; in EVP_PKEY_CTX_get0_ecdh_kdf_ukm()
H A Ddh_ctrl.c340 ukmlen = params[0].return_size; in EVP_PKEY_CTX_get0_dh_kdf_ukm()
H A Dpmeth_lib.c1062 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 Dcipher_rc2.c154 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 Dfast-param-find.md40 p->return_size = ctx->salt_len;
291 p->return_size = ctx->salt_len;
/openssl/crypto/cms/
H A Dcms_rsa.c237 if ((aid_len = params[0].return_size) == 0) in rsa_cms_sign()
/openssl/crypto/asn1/
H A Da_sign.c186 if ((aid_len = params[0].return_size) == 0) { in ASN1_item_sign_ctx()
/openssl/providers/implementations/keymgmt/
H A Ddh_kmgmt.c332 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 Dec_kmgmt.c749 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 Dhkdf.c380 p->return_size = 0; in hkdf_common_get_ctx_params()

Completed in 79 milliseconds

12