Key management init function tested and makefile extended.