ref: ad637845a8635dd0da6236575e7a31505e775b00
parent: f1254da64de2c728a59380644c23e9ce1a4f4351
author: mischief <mischief@offblast.org>
date: Fri Feb 5 14:29:55 EST 2016
libmp: remove include of libsec.h
--- a/sys/src/libmp/bigtest.c
+++ b/sys/src/libmp/bigtest.c
@@ -1,7 +1,6 @@
#include <u.h>
#include <libc.h>
#include <mp.h>
-#include <libsec.h>
char *sfactors[] =
{ "3", "5", "17", "257", "641", "65537", "274177", "2424833", "6700417", "45592577",
--- a/sys/src/libmp/port/crt.c
+++ b/sys/src/libmp/port/crt.c
@@ -1,6 +1,5 @@
#include "os.h"
#include <mp.h>
-#include <libsec.h>
// chinese remainder theorem
//
--- a/sys/src/libmp/port/crttest.c
+++ b/sys/src/libmp/port/crttest.c
@@ -1,6 +1,5 @@
#include "os.h"
#include <mp.h>
-#include <libsec.h>
void
testcrt(mpint **p)
--- a/sys/src/libmp/port/mpfactorial.c
+++ b/sys/src/libmp/port/mpfactorial.c
@@ -1,6 +1,5 @@
#include "os.h"
#include <mp.h>
-#include <libsec.h>
#include "dat.h"
mpint*
--- a/sys/src/libmp/port/mpfmt.c
+++ b/sys/src/libmp/port/mpfmt.c
@@ -1,6 +1,5 @@
#include "os.h"
#include <mp.h>
-#include <libsec.h>
#include "dat.h"
static int
--- a/sys/src/libmp/port/mpnrand.c
+++ b/sys/src/libmp/port/mpnrand.c
@@ -1,6 +1,5 @@
#include "os.h"
#include <mp.h>
-#include <libsec.h>
#include "dat.h"
/* return uniform random [0..n-1] */
--- a/sys/src/libmp/port/mprand.c
+++ b/sys/src/libmp/port/mprand.c
@@ -1,6 +1,5 @@
#include "os.h"
#include <mp.h>
-#include <libsec.h>
#include "dat.h"
mpint*
--- a/sys/src/libmp/port/strtomp.c
+++ b/sys/src/libmp/port/strtomp.c
@@ -1,6 +1,5 @@
#include "os.h"
#include <mp.h>
-#include <libsec.h>
#include "dat.h"
static struct {