Lines Matching refs:data_size
68 void *data, size_t data_size) in ossl_param_construct() argument
75 res.data_size = data_size; in ossl_param_construct()
205 return signed_from_signed(val, val_size, p->data, p->data_size); in general_get_int()
207 return signed_from_unsigned(val, val_size, p->data, p->data_size); in general_get_int()
221 r = signed_from_signed(p->data, p->data_size, val, val_size); in general_set_int()
223 r = unsigned_from_signed(p->data, p->data_size, val, val_size); in general_set_int()
226 p->return_size = r ? p->data_size : val_size; in general_set_int()
239 return unsigned_from_signed(val, val_size, p->data, p->data_size); in general_get_uint()
241 return unsigned_from_unsigned(val, val_size, p->data, p->data_size); in general_get_uint()
255 r = signed_from_unsigned(p->data, p->data_size, val, val_size); in general_set_uint()
257 r = unsigned_from_unsigned(p->data, p->data_size, val, val_size); in general_set_uint()
260 p->return_size = r ? p->data_size : val_size; in general_set_uint()
406 switch (p->data_size) { in OSSL_PARAM_get_int32()
427 switch (p->data_size) { in OSSL_PARAM_get_int32()
452 switch (p->data_size) { in OSSL_PARAM_get_int32()
482 switch (p->data_size) { in OSSL_PARAM_set_int32()
498 switch (p->data_size) { in OSSL_PARAM_set_int32()
517 switch (p->data_size) { in OSSL_PARAM_set_int32()
560 switch (p->data_size) { in OSSL_PARAM_get_uint32()
580 switch (p->data_size) { in OSSL_PARAM_get_uint32()
607 switch (p->data_size) { in OSSL_PARAM_get_uint32()
638 switch (p->data_size) { in OSSL_PARAM_set_uint32()
654 switch (p->data_size) { in OSSL_PARAM_set_uint32()
676 switch (p->data_size) { in OSSL_PARAM_set_uint32()
714 switch (p->data_size) { in OSSL_PARAM_get_int64()
728 switch (p->data_size) { in OSSL_PARAM_get_int64()
747 switch (p->data_size) { in OSSL_PARAM_get_int64()
784 switch (p->data_size) { in OSSL_PARAM_set_int64()
804 switch (p->data_size) { in OSSL_PARAM_set_int64()
826 switch (p->data_size) { in OSSL_PARAM_set_int64()
863 switch (p->data_size) { in OSSL_PARAM_get_uint64()
878 switch (p->data_size) { in OSSL_PARAM_get_uint64()
902 switch (p->data_size) { in OSSL_PARAM_get_uint64()
940 switch (p->data_size) { in OSSL_PARAM_set_uint64()
960 switch (p->data_size) { in OSSL_PARAM_set_uint64()
982 switch (p->data_size) { in OSSL_PARAM_set_uint64()
1079 b = BN_native2bn(p->data, (int)p->data_size, *val); in OSSL_PARAM_get_BN()
1082 b = BN_signed_native2bn(p->data, (int)p->data_size, *val); in OSSL_PARAM_get_BN()
1127 if (p->data_size >= bytes) { in OSSL_PARAM_set_BN()
1128 p->return_size = p->data_size; in OSSL_PARAM_set_BN()
1132 if (BN_bn2nativepad(val, p->data, p->data_size) >= 0) in OSSL_PARAM_set_BN()
1137 if (BN_signed_bn2native(val, p->data, p->data_size) >= 0) in OSSL_PARAM_set_BN()
1170 switch (p->data_size) { in OSSL_PARAM_get_double()
1178 switch (p->data_size) { in OSSL_PARAM_get_double()
1192 switch (p->data_size) { in OSSL_PARAM_get_double()
1223 switch (p->data_size) { in OSSL_PARAM_set_double()
1238 switch (p->data_size) { in OSSL_PARAM_set_double()
1270 switch (p->data_size) { in OSSL_PARAM_set_double()
1320 sz = p->data_size; in get_string_internal()
1371 size_t data_length = p->data_size; in OSSL_PARAM_get_utf8_string()
1403 if (p->data_size < len) { in set_string_internal()
1410 if (type == OSSL_PARAM_UTF8_STRING && p->data_size > len) in set_string_internal()
1472 *used_len = p->data_size; in get_ptr_internal()
1555 && p->data_size > 0 in ossl_param_get1_octet_string()
1583 && p->data_size != 0 in setbuf_fromparams()
1584 && !WPACKET_memcpy(&pkt, p->data, p->data_size)) in setbuf_fromparams()
1659 *used_len = p->data_size; in get_string_ptr_internal()