/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/mac/libdes/src/ |
H A D | rand_key.c | 60 /* crypto/des/rand_key.c */
/* Copyright (C) 1995-1997 Eric Young (eay@mincom.oz.au)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@mincom.oz.au).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-commercial use as long as
* the following conditions are aheared to. The following conditions
* apply to all code found in this distribution, be it the RC4, RSA,
* lhash, DES, etc., code; not just the SSL code. The SSL documentation
* included with this distribution is covered by the same copyright terms
* except that the holder is Tim Hudson (tjh@mincom.oz.au).
*
* Copyright remains Eric Young's, and as such any Copyright notices in
* the code are not to be removed.
* If this package is used in a product, Eric Young should be given attribution
* as the author of the parts of the library used.
* This can be in the form of a textual message at program startup or
* in documentation (online or textual) provided with the package.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* "This product includes cryptographic software written by
* Eric Young (eay@mincom.oz.au)"
* The word 'cryptographic' can be left out if the rouines from the library
* being used are not cryptographic related :-).
* 4. If you include any Windows specific code (or a derivative thereof) from
* the apps directory (application code) you must include an acknowledgement:
* "This product includes software written by Tim Hudson (tjh@mincom.oz.au)"
*
* THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* The licence and distribution terms for any publically available version or
* derivative of this code cannot be changed. i.e. this code cannot simply be
* copied and put under another distribution licence
* [including the GNU Public Licence.]
*/
#include "des_locl.h"
#include <time.h>
static int seed=0;
static des_cblock init;
void des_random_seed(key)
des_cblock key;
{
memcpy(init,key,sizeof(des_cblock));
seed=1;
}
/* Old source */
/*
void des_random_key(ret)
unsigned char *ret;
{
des_key_schedule ks;
static DES_LONG c=0;
static unsigned short pid=0;
static des_cblock data={0x01,0x23,0x45,0x67,0x89,0xab,0xcd,0xef};
des_cblock key;
unsigned char *p;
DES_LONG t;
int i;
#if defined(MSDOS) || defined(WIN32)
pid=1;
#else
if (!pid) pid=getpid();
#endif
p=key;
if (seed)
{
for (i=0; i<8; i++)
{
data[i] ^= init[i];
init[i]=0;
}
seed=0;
}
t=(DES_LONG)time(NULL);
l2c(t,p);
t=(DES_LONG)((pid)|((c++)<<16));
l2c(t,p);
des_set_odd_parity((des_cblock *) (…)
|
/macosx-10.9.5/postfix-252/postfix/src/global/ |
H A D | log_adhoc.h | 17 #include <time.h>
|
/macosx-10.9.5/text_cmds-87/sort/ |
H A D | timespec.h | 1 /* timespec -- System time interface 24 # include <sys/time.h> 25 # include <time.h> 28 # include <sys/time.h> 30 # include <time.h>
|
/macosx-10.9.5/WebCore-7537.78.1/Modules/vibration/ |
H A D | NavigatorVibration.idl | 24 [RaisesException] void vibrate(unsigned long time);
|
/macosx-10.9.5/WebKit-7537.78.2/efl/WebCoreSupport/ |
H A D | VibrationClientEfl.cpp | 32 void VibrationClientEfl::vibrate(const unsigned& time) argument 34 evas_object_smart_callback_call(m_view, "vibration,vibrate", (void*)&time);
|
/macosx-10.9.5/bind9-45.100/bind9/lib/isc/win32/ |
H A D | stdtime.c | 22 #include <time.h> 36 (void)time(t);
|
/macosx-10.9.5/dtrace-118.1/DTTk/Bin/ |
H A D | lockbydist.d | 10 lockstat:::adaptive-block { @time[execname] = quantize(arg1); }
|
H A D | lockbyproc.d | 3 * lockbyproc.d - lock time by process name. DTrace OneLiner. 10 lockstat:::adaptive-block { @time[execname] = sum(arg1); }
|
/macosx-10.9.5/dtrace-118.1/DTTk/Locks/ |
H A D | lockbydist.d | 10 lockstat:::adaptive-block { @time[execname] = quantize(arg1); }
|
H A D | lockbyproc.d | 3 * lockbyproc.d - lock time by process name. DTrace OneLiner. 10 lockstat:::adaptive-block { @time[execname] = sum(arg1); }
|
/macosx-10.9.5/gnutar-452/gnutar/lib/ |
H A D | sys_time_.h | 1 /* Provide a more complete sys/time.h. 26 # include_next <sys/time.h> 31 # include <time.h>
|
/macosx-10.9.5/llvmCore-3425.0.33/unittests/Support/ |
H A D | TimeValue.cpp | 12 #include <time.h> 19 time_t now_t = time(NULL);
|
/macosx-10.9.5/lsof-52/lsof/ |
H A D | util.c | 4 * the conflict between <time.h> and <sys/time.h> for the time(2) 46 #include <time.h> 66 tm = time((time_t *)NULL);
|
/macosx-10.9.5/ntp-88/lib/isc/win32/ |
H A D | stdtime.c | 22 #include <time.h> 36 (void)time(t);
|
/macosx-10.9.5/postfix-252/postfix/src/util/ |
H A D | myrand.c | 21 /* ex-or-ed with the time of day in seconds. 40 #include <time.h> 61 mysrand(getpid() ^ time((time_t *) 0));
|
/macosx-10.9.5/pyobjc-42/2.5/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/iClass/ |
H A D | main.py | 3 import time
|
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/iClass/ |
H A D | main.py | 3 import time
|
/macosx-10.9.5/uucp-11/uucp/unix/ |
H A D | loctim.c | 2 Turn a time epoch into a struct tm. This is trivial on Unix. */ 7 #include <sys/time.h> 9 #include <time.h>
|
/macosx-10.9.5/Heimdal-323.92.1/lib/roken/ |
H A D | getdtablesize.c | 42 #include <sys/time.h> 43 #include <time.h> 45 #include <sys/time.h> 47 #include <time.h>
|
/macosx-10.9.5/WebCore-7537.78.1/platform/audio/ |
H A D | AudioUtilities.h | 36 // timeConstant is the time it takes a first-order linear time-invariant system 38 // discreteTimeConstantForSampleRate() will return the discrete time-constant for the specific sampleRate. 41 // Convert the time to a sample frame at the given sample rate. 42 size_t timeToSampleFrame(double time, double sampleRate);
|
/macosx-10.9.5/WebKit-7537.78.2/blackberry/WebCoreSupport/ |
H A D | VibrationClientBlackBerry.h | 31 void vibrate(const unsigned& time);
|
/macosx-10.9.5/cxxfilt-11/cxxfilt/libiberty/ |
H A D | getruntime.c | 1 /* Return time used so far, in microseconds. 26 to get the definition of "time_t" before you include <time.h>. */ 29 /* There are several ways to get elapsed execution time; unfortunately no 34 # include <sys/time.h> 35 # include <time.h> 38 # include <sys/time.h> 41 # include <time.h> 84 Returns the time used so far, in microseconds. If possible, this is 85 the time used by this process, else it is the elapsed time sinc [all...] |
/macosx-10.9.5/emacs-92/emacs/mac/inc/ |
H A D | utime.h | 27 #include <time.h> 32 time_t actime; /* access time (ignored on the Mac) */ 33 time_t modtime; /* modification time */
|
/macosx-10.9.5/emacs-92/emacs/src/ |
H A D | w32inevt.h | 31 unsigned long *time);
|
/macosx-10.9.5/ntp-88/sntp/ |
H A D | log.h | 10 #include <time.h>
|