Restore the first PEFS commit I did, which includes some changes to
sys/crypto/sha2/sha2.{c/h}

This reverts commit 6ebeee19e5df114c4ba9cae1a67e5f2ea2da37aa.