new API - first pass groundwork
parameter check functions for new API (and cmdline?)
second pass API changes, first tests
second round of new api fixes + tests
more bits of the new API
add missing internal header file
tests & fixes for cipher/prf iterators