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

/freebsd-13-stable/sys/contrib/openzfs/module/icp/algs/skein/
H A Dskein_port.h32 * Skein_Swap64
63 #ifndef Skein_Swap64 /* swap for big-endian, nop for little-endian */
65 #define Skein_Swap64(w64) \ macro
75 #define Skein_Swap64(w64) (w64) macro
77 #endif /* ifndef Skein_Swap64 */
H A Dskein.c51 cfg.w[0] = Skein_Swap64(SKEIN_SCHEMA_VER);
53 cfg.w[1] = Skein_Swap64(hashBitLen);
54 cfg.w[2] = Skein_Swap64(SKEIN_CFG_TREE_INFO_SEQUENTIAL);
116 ctx->X[i] = Skein_Swap64(ctx->X[i]);
128 cfg.w[0] = Skein_Swap64(SKEIN_SCHEMA_VER);
129 cfg.w[1] = Skein_Swap64(hashBitLen); /* hash result length in bits */
131 cfg.w[2] = Skein_Swap64(treeInfo);
229 uint64_t tmp = Skein_Swap64((uint64_t)i);
287 cfg.w[0] = Skein_Swap64(SKEIN_SCHEMA_VER);
289 cfg.w[1] = Skein_Swap64(hashBitLe
[all...]
/freebsd-13-stable/sys/crypto/skein/
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...]
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 */

Completed in 108 milliseconds