Searched refs:hashVal (Results 1 - 3 of 3) sorted by last modified time

/freebsd-11-stable/contrib/ntp/libntp/
H A Dsocktoa.c111 u_int hashVal; local
116 hashVal = 0;
125 hashVal = 37 * hashVal + *pch;
128 hashVal = 37 * hashVal + *pch;
143 hashVal = 37 * hashVal + pch[j];
145 return (u_short)(hashVal & USHRT_MAX);
/freebsd-11-stable/sys/crypto/skein/
H A Dskein.c191 int Skein_256_Final(Skein_256_Ctxt_t *ctx, u08b_t *hashVal) argument
217 Skein_Put64_LSB_First(hashVal+i*SKEIN_256_BLOCK_BYTES,ctx->X,n); /* "output" the ctr mode bytes */
218 Skein_Show_Final(256,&ctx->h,n,hashVal+i*SKEIN_256_BLOCK_BYTES);
389 int Skein_512_Final(Skein_512_Ctxt_t *ctx, u08b_t *hashVal) argument
415 Skein_Put64_LSB_First(hashVal+i*SKEIN_512_BLOCK_BYTES,ctx->X,n); /* "output" the ctr mode bytes */
416 Skein_Show_Final(512,&ctx->h,n,hashVal+i*SKEIN_512_BLOCK_BYTES);
586 int Skein1024_Final(Skein1024_Ctxt_t *ctx, u08b_t *hashVal) argument
612 Skein_Put64_LSB_First(hashVal+i*SKEIN1024_BLOCK_BYTES,ctx->X,n); /* "output" the ctr mode bytes */
613 Skein_Show_Final(1024,&ctx->h,n,hashVal+i*SKEIN1024_BLOCK_BYTES);
632 int Skein_256_Final_Pad(Skein_256_Ctxt_t *ctx, u08b_t *hashVal) argument
648 Skein_512_Final_Pad(Skein_512_Ctxt_t *ctx, u08b_t *hashVal) argument
664 Skein1024_Final_Pad(Skein1024_Ctxt_t *ctx, u08b_t *hashVal) argument
681 Skein_256_Output(Skein_256_Ctxt_t *ctx, u08b_t *hashVal) argument
710 Skein_512_Output(Skein_512_Ctxt_t *ctx, u08b_t *hashVal) argument
739 Skein1024_Output(Skein1024_Ctxt_t *ctx, u08b_t *hashVal) argument
[all...]
H A Dskein.h104 int Skein_256_Final (Skein_256_Ctxt_t *ctx, u08b_t * hashVal);
105 int Skein_512_Final (Skein_512_Ctxt_t *ctx, u08b_t * hashVal);
106 int Skein1024_Final (Skein1024_Ctxt_t *ctx, u08b_t * hashVal);
131 int Skein_256_Final_Pad(Skein_256_Ctxt_t *ctx, u08b_t * hashVal);
132 int Skein_512_Final_Pad(Skein_512_Ctxt_t *ctx, u08b_t * hashVal);
133 int Skein1024_Final_Pad(Skein1024_Ctxt_t *ctx, u08b_t * hashVal);
139 int Skein_256_Output (Skein_256_Ctxt_t *ctx, u08b_t * hashVal);
140 int Skein_512_Output (Skein_512_Ctxt_t *ctx, u08b_t * hashVal);
141 int Skein1024_Output (Skein1024_Ctxt_t *ctx, u08b_t * hashVal);

Completed in 75 milliseconds