curve_keygen needed assert.h