Home
last modified time | relevance | path

Searched refs:data_length (Results 1 – 2 of 2) sorted by relevance

/openssl/test/
H A Dparams_test.c155 size_t data_length = in raw_set_params() local
158 if (!TEST_size_t_lt(data_length, sizeof(obj->p5))) in raw_set_params()
160 strncpy(obj->p5, params->data, data_length); in raw_set_params()
161 obj->p5[data_length] = '\0'; in raw_set_params()
/openssl/crypto/
H A Dparams.c1371 size_t data_length = p->data_size; in OSSL_PARAM_get_utf8_string() local
1375 if (data_length >= max_len) in OSSL_PARAM_get_utf8_string()
1376 data_length = OPENSSL_strnlen(p->data, data_length); in OSSL_PARAM_get_utf8_string()
1377 if (data_length >= max_len) { in OSSL_PARAM_get_utf8_string()
1381 (*val)[data_length] = '\0'; in OSSL_PARAM_get_utf8_string()

Completed in 11 milliseconds