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

/freebsd-current/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.h70 u64b_t T[SKEIN_MODIFIER_WORDS]; /* tweak words: T[0]=byte cnt, T[1]=flags */
76 u64b_t X[SKEIN_256_STATE_WORDS]; /* chaining variables */
83 u64b_t X[SKEIN_512_STATE_WORDS]; /* chaining variables */
90 u64b_t X[SKEIN1024_STATE_WORDS]; /* chaining variables */
121 int Skein_256_InitExt(Skein_256_Ctxt_t *ctx, size_t hashBitLen, u64b_t treeInfo, const u08b_t *key, size_t keyBytes);
122 int Skein_512_InitExt(Skein_512_Ctxt_t *ctx, size_t hashBitLen, u64b_t treeInfo, const u08b_t *key, size_t keyBytes);
123 int Skein1024_InitExt(Skein1024_Ctxt_t *ctx, size_t hashBitLen, u64b_t treeInfo, const u08b_t *key, size_t keyBytes);
161 #define SKEIN_T1_FLAG_FIRST (((u64b_t) 1 ) << SKEIN_T1_POS_FIRST)
162 #define SKEIN_T1_FLAG_FINAL (((u64b_t) 1 ) << SKEIN_T1_POS_FINAL)
163 #define SKEIN_T1_FLAG_BIT_PAD (((u64b_t)
[all...]
H A Dskein_iv.h23 const u64b_t SKEIN_256_IV_128[] =
32 const u64b_t SKEIN_256_IV_160[] =
41 const u64b_t SKEIN_256_IV_224[] =
50 const u64b_t SKEIN_256_IV_256[] =
59 const u64b_t SKEIN_512_IV_128[] =
72 const u64b_t SKEIN_512_IV_160[] =
85 const u64b_t SKEIN_512_IV_224[] =
98 const u64b_t SKEIN_512_IV_256[] =
111 const u64b_t SKEIN_512_IV_384[] =
124 const u64b_t SKEIN_512_IV_51
[all...]
H A Dskein_port.h26 typedef uint64_t u64b_t; /* 64-bit unsigned integer */ typedef
59 void Skein_Put64_LSB_First(u08b_t *dst,const u64b_t *src,size_t bCnt);
60 void Skein_Get64_LSB_First(u64b_t *dst,const u08b_t *src,size_t wCnt);
88 void Skein_Put64_LSB_First(u08b_t *dst,const u64b_t *src,size_t bCnt)
103 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.c44 u64b_t w[SKEIN_256_STATE_WORDS];
83 int Skein_256_InitExt(Skein_256_Ctxt_t *ctx,size_t hashBitLen,u64b_t treeInfo, const u08b_t *key, size_t keyBytes)
88 u64b_t w[SKEIN_256_STATE_WORDS];
192 u64b_t X[SKEIN_256_STATE_WORDS];
209 ((u64b_t *)ctx->b)[0]= Skein_Swap64((u64b_t) i); /* build the counter block */
211 Skein_256_Process_Block(ctx,ctx->b,1,sizeof(u64b_t)); /* run "counter mode" */
241 u64b_t w[SKEIN_512_STATE_WORDS];
281 int Skein_512_InitExt(Skein_512_Ctxt_t *ctx,size_t hashBitLen,u64b_t treeInfo, const u08b_t *key, size_t keyBytes)
286 u64b_t
[all...]
H A Dskein_block.c77 u64b_t kw[WCNT+4+RCNT*2]; /* key schedule words : chaining vars + tweak + "rotation"*/
79 u64b_t kw[WCNT+4]; /* key schedule words : chaining vars + tweak */
81 u64b_t X0,X1,X2,X3; /* local copy of context vars, for speed */
82 u64b_t w [WCNT]; /* local copy of input block */
84 const u64b_t *Xptr[4]; /* use for debugging (help compiler put Xn in registers) */
262 u64b_t kw[WCNT+4+RCNT*2]; /* key schedule words : chaining vars + tweak + "rotation"*/
264 u64b_t kw[WCNT+4]; /* key schedule words : chaining vars + tweak */
266 u64b_t X0,X1,X2,X3,X4,X5,X6,X7; /* local copy of vars, for speed */
267 u64b_t w [WCNT]; /* local copy of input block */
269 const u64b_t *Xpt
[all...]

Completed in 166 milliseconds