This was actually discussed in the design phase, and I think we
concluded that all arrays of this sort should be terminated rather
than counted. I frankly cannot remember what the reasoning was behind
this, and suspect it came down to personal taste.
However, whatever way we choose should be a co
We’re only starting out, so there isn’t any issue yet. I am wondering if
instead of terminating out OSSL_PARAM arrays with an empty element, would it
make sense to pass a size and the array?
I.e. changing this code sequence (from crypto/evp/digest.c):
params[i++] = OSSL_PARAM_construct_siz