Libc read replaced with mmap.
Ignoring public key files
The length of a buffer is unsigned.