Searched refs:u64b_t (Results 1 - 7 of 7) sorted by relevance

/freebsd-12-stable/sys/crypto/skein/
H A Dskein_debug.h15 void Skein_Show_Block(uint_t bits,const Skein_Ctxt_Hdr_t *h,const u64b_t *X,const u08b_t *blkPtr,
16 const u64b_t *wPtr,const u64b_t *ksPtr,const u64b_t *tsPtr);
17 void Skein_Show_Round(uint_t bits,const Skein_Ctxt_Hdr_t *h,size_t r,const u64b_t *X);
18 void Skein_Show_R_Ptr(uint_t bits,const Skein_Ctxt_Hdr_t *h,size_t r,const u64b_t *X_ptr[]);
H A Dskein.h71 u64b_t T[SKEIN_MODIFIER_WORDS]; /* tweak words: T[0]=byte cnt, T[1]=flags */
77 u64b_t X[SKEIN_256_STATE_WORDS]; /* chaining variables */
84 u64b_t X[SKEIN_512_STATE_WORDS]; /* chaining variables */
91 u64b_t X[SKEIN1024_STATE_WORDS]; /* chaining variables */
122 int Skein_256_InitExt(Skein_256_Ctxt_t *ctx, size_t hashBitLen, u64b_t treeInfo, const u08b_t *key, size_t keyBytes);
123 int Skein_512_InitExt(Skein_512_Ctxt_t *ctx, size_t hashBitLen, u64b_t treeInfo, const u08b_t *key, size_t keyBytes);
124 int Skein1024_InitExt(Skein1024_Ctxt_t *ctx, size_t hashBitLen, u64b_t treeInfo, const u08b_t *key, size_t keyBytes);
162 #define SKEIN_T1_FLAG_FIRST (((u64b_t) 1 ) << SKEIN_T1_POS_FIRST)
163 #define SKEIN_T1_FLAG_FINAL (((u64b_t) 1 ) << SKEIN_T1_POS_FINAL)
164 #define SKEIN_T1_FLAG_BIT_PAD (((u64b_t)
[all...]
H A Dskein_iv.h24 const u64b_t SKEIN_256_IV_128[] =
33 const u64b_t SKEIN_256_IV_160[] =
42 const u64b_t SKEIN_256_IV_224[] =
51 const u64b_t SKEIN_256_IV_256[] =
60 const u64b_t SKEIN_512_IV_128[] =
73 const u64b_t SKEIN_512_IV_160[] =
86 const u64b_t SKEIN_512_IV_224[] =
99 const u64b_t SKEIN_512_IV_256[] =
112 const u64b_t SKEIN_512_IV_384[] =
125 const u64b_t SKEIN_512_IV_51
[all...]
H A Dskein_port.h27 typedef u_int64_t u64b_t; /* 64-bit unsigned integer */ typedef
60 void Skein_Put64_LSB_First(u08b_t *dst,const u64b_t *src,size_t bCnt);
61 void Skein_Get64_LSB_First(u64b_t *dst,const u08b_t *src,size_t wCnt);
89 void Skein_Put64_LSB_First(u08b_t *dst,const u64b_t *src,size_t bCnt)
104 void Skein_Get64_LSB_First(u64b_t *dst,const u08b_t *src,size_t wCnt)
H A Dskein_debug.c19 static void Show64_step(size_t cnt,const u64b_t *X,size_t step)
33 static void Show64_flag(size_t cnt,const u64b_t *X)
39 X = (const u64b_t *) (xptr & ~1);
89 void Skein_Show_Round(uint_t bits,const Skein_Ctxt_Hdr_t *h,size_t r,const u64b_t *X)
125 u64b_t p[SKEIN_MAX_STATE_WORDS];
162 void Skein_Show_R_Ptr(uint_t bits,const Skein_Ctxt_Hdr_t *h,size_t r,const u64b_t *X_ptr[])
165 u64b_t X[SKEIN_MAX_STATE_WORDS];
174 void Skein_Show_Block(uint_t bits,const Skein_Ctxt_Hdr_t *h,const u64b_t *X,const u08b_t *blkPtr,
175 const u64b_t *wPtr, const u64b_t *ksPt
[all...]
H A Dskein.c46 u64b_t w[SKEIN_256_STATE_WORDS];
85 int Skein_256_InitExt(Skein_256_Ctxt_t *ctx,size_t hashBitLen,u64b_t treeInfo, const u08b_t *key, size_t keyBytes)
90 u64b_t w[SKEIN_256_STATE_WORDS];
194 u64b_t X[SKEIN_256_STATE_WORDS];
211 ((u64b_t *)ctx->b)[0]= Skein_Swap64((u64b_t) i); /* build the counter block */
213 Skein_256_Process_Block(ctx,ctx->b,1,sizeof(u64b_t)); /* run "counter mode" */
243 u64b_t w[SKEIN_512_STATE_WORDS];
283 int Skein_512_InitExt(Skein_512_Ctxt_t *ctx,size_t hashBitLen,u64b_t treeInfo, const u08b_t *key, size_t keyBytes)
288 u64b_t
[all...]
H A Dskein_block.c79 u64b_t kw[WCNT+4+RCNT*2]; /* key schedule words : chaining vars + tweak + "rotation"*/
81 u64b_t kw[WCNT+4]; /* key schedule words : chaining vars + tweak */
83 u64b_t X0,X1,X2,X3; /* local copy of context vars, for speed */
84 u64b_t w [WCNT]; /* local copy of input block */
86 const u64b_t *Xptr[4]; /* use for debugging (help compiler put Xn in registers) */
264 u64b_t kw[WCNT+4+RCNT*2]; /* key schedule words : chaining vars + tweak + "rotation"*/
266 u64b_t kw[WCNT+4]; /* key schedule words : chaining vars + tweak */
268 u64b_t X0,X1,X2,X3,X4,X5,X6,X7; /* local copy of vars, for speed */
269 u64b_t w [WCNT]; /* local copy of input block */
271 const u64b_t *Xpt
[all...]

Completed in 275 milliseconds