Revert "doc: Fix tutorial-ffi xfail-tests and update SHA1() to use size_t"

This reverts commit 50c8cbb25aeb9d8132ac06914e9978d3cddb7f42.