diff options
Diffstat (limited to 'usr/src/lib/libresolv2/common/dnssafe/bigu.c')
-rw-r--r-- | usr/src/lib/libresolv2/common/dnssafe/bigu.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/usr/src/lib/libresolv2/common/dnssafe/bigu.c b/usr/src/lib/libresolv2/common/dnssafe/bigu.c deleted file mode 100644 index d5cc036706..0000000000 --- a/usr/src/lib/libresolv2/common/dnssafe/bigu.c +++ /dev/null @@ -1,30 +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" - -/* BigU (t) -- returns length u where floor (2**u/b) is used as scaled version - of (1/b) when modding out modulo b, and where (positive) integers to be - reduced are < 2**t; i.e. they are at most t bits in length. - Result is (t+1) rounded up if necessary to next multiple of 16. -*/ -unsigned int BigU (t) -unsigned int t; -{ - return (16 * (((t+1) + 15)/16)); -} |