update makefiles
dsa_make_key: fix free of wrong pointer resulting in double-free
trim trailing spaces
math descriptor: add parameter "b" to isprime()