shared: Add feature to simply enlarge buffers#286
Conversation
|
This should also take pressure off during testing; for example, in #279 (comment), a temporary change sneaked into a commit. We currently don't even have examples of sending credentials by-value because not all but at least the test vector credentials are too large to send. |
|
I agree we need something in this direction. Please also note that #284 is introducing a new |
|
Fixed the C issue. Yeah, I think that generics will be the way to go from here; either as numeric parameters, or even by accepting any |
This does not do away with the need for better control over the shared library's buffer sizes, but merely provides a band-aid through which sending credential-by-value works with non-near-zero subject sizes.
A proper and full solution may need a lot of further discussion (like, use generics? flags?), but this at least ensures that Python users (which are generally not too limited on memory) don't run out of space while experimenting.