Searched refs:SIP_ROTL (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/crypto/siphash/ |
H A D | siphash.c | 212 #define SIP_ROTL(x, b) (uint64_t)(((x) << (b)) | ( (x) >> (64 - (b)))) in SipRounds() 227 ctx->v[1] = SIP_ROTL(ctx->v[1], 13); in SipRounds() 228 ctx->v[3] = SIP_ROTL(ctx->v[3], 16); in SipRounds() 232 ctx->v[0] = SIP_ROTL(ctx->v[0], 32); in SipRounds() 236 ctx->v[1] = SIP_ROTL(ctx->v[1], 17); in SipRounds() 237 ctx->v[3] = SIP_ROTL(ctx->v[3], 21); in SipRounds() 241 ctx->v[2] = SIP_ROTL(ctx->v[2], 32); 207 #define SIP_ROTL( global() macro
|
/freebsd/contrib/expat/lib/ |
H A D | siphash.h | 111 #define SIP_ROTL(x, b) (uint64_t)(((x) << (b)) | ((x) >> (64 - (b)))) macro 171 H->v1 = SIP_ROTL(H->v1, 13); in sip_round() 173 H->v0 = SIP_ROTL(H->v0, 32); in sip_round() 176 H->v3 = SIP_ROTL(H->v3, 16); in sip_round() 180 H->v3 = SIP_ROTL(H->v3, 21); in sip_round() 184 H->v1 = SIP_ROTL(H->v1, 17); in sip_round() 186 H->v2 = SIP_ROTL(H->v2, 32); in sip_round()
|