Home
last modified time | relevance | path

Searched refs:bsize (Results 1 – 11 of 11) sorted by relevance

/openssl-master/crypto/
A Dparam_build.c232 if (bsize == 0) { in OSSL_PARAM_BLD_push_utf8_string()
233 bsize = strlen(buf); in OSSL_PARAM_BLD_push_utf8_string()
234 } else if (bsize > INT_MAX) { in OSSL_PARAM_BLD_push_utf8_string()
239 pd = param_push(bld, key, bsize, bsize + 1, OSSL_PARAM_UTF8_STRING, secure); in OSSL_PARAM_BLD_push_utf8_string()
247 char *buf, size_t bsize) in OSSL_PARAM_BLD_push_utf8_ptr() argument
251 if (bsize == 0) { in OSSL_PARAM_BLD_push_utf8_ptr()
252 bsize = strlen(buf); in OSSL_PARAM_BLD_push_utf8_ptr()
253 } else if (bsize > INT_MAX) { in OSSL_PARAM_BLD_push_utf8_ptr()
270 if (bsize > INT_MAX) { in OSSL_PARAM_BLD_push_octet_string()
275 pd = param_push(bld, key, bsize, bsize, OSSL_PARAM_OCTET_STRING, secure); in OSSL_PARAM_BLD_push_octet_string()
[all …]
A Dparams.c946 size_t bsize) in OSSL_PARAM_construct_BN() argument
949 buf, bsize); in OSSL_PARAM_construct_BN()
1189 size_t bsize) in OSSL_PARAM_construct_utf8_string() argument
1191 if (buf != NULL && bsize == 0) in OSSL_PARAM_construct_utf8_string()
1192 bsize = strlen(buf); in OSSL_PARAM_construct_utf8_string()
1193 return ossl_param_construct(key, OSSL_PARAM_UTF8_STRING, buf, bsize); in OSSL_PARAM_construct_utf8_string()
1197 size_t bsize) in OSSL_PARAM_construct_octet_string() argument
1254 size_t bsize) in OSSL_PARAM_construct_utf8_ptr() argument
1256 return ossl_param_construct(key, OSSL_PARAM_UTF8_PTR, buf, bsize); in OSSL_PARAM_construct_utf8_ptr()
1260 size_t bsize) in OSSL_PARAM_construct_octet_ptr() argument
[all …]
/openssl-master/include/openssl/
A Dparam_build.h52 const char *buf, size_t bsize);
54 char *buf, size_t bsize);
56 const void *buf, size_t bsize);
58 void *buf, size_t bsize);
A Dparams.h86 size_t bsize);
89 size_t bsize);
91 size_t bsize);
93 size_t bsize);
95 size_t bsize);
A Devp.h1967 const unsigned char *buf, size_t bsize);
/openssl-master/test/
A Dectest.c2633 bsize = 1 + 2 * bsize; /* UNCOMPRESSED_POINT format */ in custom_generator_test()
2652 bsize, ctx), bsize) in custom_generator_test()
2669 bsize, ctx), bsize) in custom_generator_test()
2671 || !TEST_mem_eq(b1, bsize, b2, bsize)) in custom_generator_test()
2747 bsize = 1 + 2 * bsize; /* UNCOMPRESSED_POINT format */ in custom_params_test()
2762 buf1, bsize, ctx), bsize) in custom_params_test()
2806 buf1, bsize, ctx), bsize) in custom_params_test()
2818 buf2, bsize, ctx), bsize) in custom_params_test()
2820 || !TEST_mem_eq(buf1, bsize, buf2, bsize)) in custom_params_test()
2849 pub1, bsize, ctx), bsize)) in custom_params_test()
[all …]
/openssl-master/doc/man3/
A DOSSL_PARAM_BLD.pod37 const char *buf, size_t bsize);
39 char *buf, size_t bsize);
41 const void *buf, size_t bsize);
43 void *buf, size_t bsize);
94 The length of the string I<bsize> should not include the terminating NUL byte.
100 object that references the octet string specified by I<buf> and <bsize>.
106 The length of the string I<bsize> should not include the terminating NUL byte.
A DOSSL_PARAM_int.pod66 size_t bsize);
68 size_t bsize);
70 size_t bsize);
72 size_t bsize);
74 size_t bsize);
190 A parameter with name I<key>, storage I<buf>, size I<bsize> and return
196 If I<bsize> is zero, the string length is determined using strlen(3).
197 Generally pass zero for I<bsize> instead of calling strlen(3) yourself.
205 A parameter with name I<key>, storage pointer I<*buf> and size I<bsize>
210 A parameter with name I<key>, storage pointer I<*buf> and size I<bsize>
[all …]
A DEVP_PKEY_settable_params.pod23 const unsigned char *buf, size_t bsize);
50 size I<bsize> into a key I<pkey> for the associated field I<key_name>.
/openssl-master/apps/
A Denc.c121 int bsize = BSIZE, verbose = 0, debug = 0, olb64 = 0, nosalt = 0; in enc_main() local
228 bsize = (int)n; in enc_main()
314 if (base64 && bsize < 80) in enc_main()
315 bsize = 80; in enc_main()
317 BIO_printf(bio_err, "bufsize=%d\n", bsize); in enc_main()
330 buff = app_malloc(EVP_ENCODE_LENGTH(bsize), "evp buffer"); in enc_main()
609 inl = BIO_read(rbio, (char *)buff, bsize); in enc_main()
/openssl-master/crypto/evp/
A Dp_lib.c2259 int bsize = 0; in EVP_PKEY_set_bn_param() local
2267 bsize = BN_num_bytes(bn); in EVP_PKEY_set_bn_param()
2268 if (!ossl_assert(bsize <= (int)sizeof(buffer))) in EVP_PKEY_set_bn_param()
2271 if (BN_bn2nativepad(bn, buffer, bsize) < 0) in EVP_PKEY_set_bn_param()
2273 params[0] = OSSL_PARAM_construct_BN(key_name, buffer, bsize); in EVP_PKEY_set_bn_param()
2292 const unsigned char *buf, size_t bsize) in EVP_PKEY_set_octet_string_param() argument
2300 (unsigned char *)buf, bsize); in EVP_PKEY_set_octet_string_param()

Completed in 26 milliseconds