libhashkit/aes: keep API compatible