diff options
author | Rao Shoaib <Rao.Shoaib@Sun.COM> | 2009-11-11 08:45:41 -0800 |
---|---|---|
committer | Rao Shoaib <Rao.Shoaib@Sun.COM> | 2009-11-11 08:45:41 -0800 |
commit | 9525b14bcdeb5b5f6f95ab27c2f48f18bd2ec829 (patch) | |
tree | df51891a276edf456c1481f49653a76cdfedee53 /usr/src/lib/libresolv2/common/dnssafe/bigmodx.c | |
parent | 0324f02a004039d6377111191fdd7134452d7817 (diff) | |
download | illumos-gate-9525b14bcdeb5b5f6f95ab27c2f48f18bd2ec829.tar.gz |
6289479 libresolv2 clean up and alignment with libbind.6.0
Diffstat (limited to 'usr/src/lib/libresolv2/common/dnssafe/bigmodx.c')
-rw-r--r-- | usr/src/lib/libresolv2/common/dnssafe/bigmodx.c | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/usr/src/lib/libresolv2/common/dnssafe/bigmodx.c b/usr/src/lib/libresolv2/common/dnssafe/bigmodx.c deleted file mode 100644 index a58f6cdaab..0000000000 --- a/usr/src/lib/libresolv2/common/dnssafe/bigmodx.c +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (c) 1999 by Sun Microsystems, Inc. - * All rights reserved. - */ - -#pragma ident "%Z%%M% %I% %E% SMI" - -/* Copyright (C) RSA Data Security, Inc. created 1986, 1996. This is an - unpublished work protected as such under copyright law. This work - contains proprietary, confidential, and trade secret information of - RSA Data Security, Inc. Use, disclosure or reproduction without the - express written authorization of RSA Data Security, Inc. is - prohibited. - */ - -#include "port_before.h" -#include "global.h" -#include "bigmath.h" -#include "port_after.h" - -/* BigModx (a, b, c, cInv, n) -- compute a as (b mod c). - -- assumes a and c of length n, cInv of length n + 2, b of length 2n. - -- assumes cInv computed with BigInv, and that b < c**2. - */ -void BigModx (a, b, c, cInv, n) -UINT2 *a, *b, *c, *cInv; -unsigned int n; -{ - UINT2 q[MAX_RSA_MODULUS_WORDS]; - - BigQrx (q, a, b, c, cInv, n); - - T_memset ((POINTER)q, 0, sizeof (q)); -} |