extern "C" fn sha512_digest_cleanup_func(digest_context: *mut c_void, _user_data: *mut c_void) {
    debug!("sha512_digest_final_func");
    // This transfers ownership of the service back to Rust which will drop it.
    let _wrapper: Box<DigestWrapper> =
        unsafe { Box::from_raw(digest_context as *mut DigestWrapper) };
}
/// Callback for a SHA512 message digest implementation.
/// This function shall free the private context allocated in
/// sha512_digest_init_func.
///
/// @param digest_context private digest context pointer
Callback for a SHA512 message digest implementation.
This function shall free the private context allocated in
sha512_digest_init_func.
Callback for a SHA512 message digest implementation . This function shall free the private context allocated in sha512_digest_init_func .
extern "C" fn sha512_digest_cleanup_func(digest_context: *mut c_void, _user_data: *mut c_void) {
    debug!("sha512_digest_final_func");
    // This transfers ownership of the service back to Rust which will drop it.
    let _wrapper: Box<DigestWrapper> =
        unsafe { Box::from_raw(digest_context as *mut DigestWrapper) };
}
extern " " fn sha512_digest_cleanup_func ( digest_context : * mut c_void , _user_data : * mut c_void ) { debug ! ( " " ) ; // This transfers ownership of the service back to Rust which will drop it. let _wrapper : Box < DigestWrapper > = unsafe { Box :: from_raw ( digest_context as * mut DigestWrapper ) } ; }
Callback for a SHA512 message digest implementation.
Callback for a SHA512 message digest implementation .
digest_context
*mut c_void
_user_data
*mut c_void
digest_context
*mut c_void
private digest context pointer
private digest context pointer
_user_data
*mut c_void