add nist5 support