drng_chacha20_versionstring — obtain version string of ChaCha20 DRNG
DSO_PUBLIC int drng_chacha20_versionstring ( | char * buf, |
size_t buflen) ; |
buf
is filled with a string of the form “chacha20 DRNG X.Y.Z”. Care
should be taken to provide a large enough buffer taking in to account that
X, Y, and/or Z may be multiple characters.
return
status of snprintf(3). < 0 on error, otherwise length of written
string. See snprintf(3) for details on truncation.