Re: OSSL_PARAM thought

2019-07-02 Thread Richard Levitte
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

OSSL_PARAM thought

2019-06-23 Thread Dr Paul Dale
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