[libfko] enc key NULL checks with fko-wrapper test support