p54: more cryptographic accelerator fixes