Searched refs:Skein_Swap64 (Results 1 - 2 of 2) sorted by relevance

/freebsd-12-stable/sys/crypto/skein/
H A Dskein_port.h43 * Skein_Swap64
79 #ifndef Skein_Swap64 /* swap for big-endian, nop for little-endian */
81 #define Skein_Swap64(w64) bswap64(w64) macro
83 #define Skein_Swap64(w64) (w64) macro
85 #endif /* ifndef Skein_Swap64 */
H A Dskein.c65 cfg.w[0] = Skein_Swap64(SKEIN_SCHEMA_VER); /* set the schema, version */
66 cfg.w[1] = Skein_Swap64(hashBitLen); /* hash result length in bits */
67 cfg.w[2] = Skein_Swap64(SKEIN_CFG_TREE_INFO_SEQUENTIAL);
115 ctx->X[i] = Skein_Swap64(ctx->X[i]);
124 cfg.w[0] = Skein_Swap64(SKEIN_SCHEMA_VER);
125 cfg.w[1] = Skein_Swap64(hashBitLen); /* hash result length in bits */
126 cfg.w[2] = Skein_Swap64(treeInfo); /* tree hash config info (or SKEIN_CFG_TREE_INFO_SEQUENTIAL) */
211 ((u64b_t *)ctx->b)[0]= Skein_Swap64((u64b_t) i); /* build the counter block */
262 cfg.w[0] = Skein_Swap64(SKEIN_SCHEMA_VER); /* set the schema, version */
263 cfg.w[1] = Skein_Swap64(hashBitLe
[all...]

Completed in 125 milliseconds