use NaCl naming conventions

Also check length of supplied pk and sk