Finalize a digest algorithm state
#include <dev/crypto/devcrypto_plugin.h>
typedef int(* devcrypto_digest_op_final)(devcrypto_state_ctx_t *sctx,
uint8_t *digest,
uint32_t *size);
EOK if successful or errno if an error occurred.