Renamed buffer -> buf and derBlock -> block.

Signed-off-by: Joe Dallago <jd.dallago@gmail.com>