Lines Matching defs:state
24 } state;
37 } state;
53 void(*compress)(ccdigest_state_t state, unsigned long nblocks,
77 #define ccdigest_state_u8(_di_, _ctx_) (&((ccdigest_ctx_t)(_ctx_)).hdr->state.u8)
78 #define ccdigest_state_u32(_di_, _ctx_) (&((ccdigest_ctx_t)(_ctx_)).hdr->state.u32)
79 #define ccdigest_state_u64(_di_, _ctx_) (&((ccdigest_ctx_t)(_ctx_)).hdr->state.u64)
80 #define ccdigest_state_ccn(_di_, _ctx_) (&((ccdigest_ctx_t)(_ctx_)).hdr->state.ccn)
81 #define ccdigest_nbits(_di_, _ctx_) (((uint64_t *)(&((ccdigest_ctx_t)(_ctx_)).hdr->state.u8 + (_di_)->state_size))[0])
82 #define ccdigest_data(_di_, _ctx_) (&((ccdigest_ctx_t)(_ctx_)).hdr->state.u8 + (_di_)->state_size + sizeof(uint64_t))
83 #define ccdigest_num(_di_, _ctx_) (((unsigned int *)(&((ccdigest_ctx_t)(_ctx_)).hdr->state.u8 + (_di_)->state_size + sizeof(uint64_t) + (_di_)->block_size))[0])
85 /* Digest state field accessors. Consider the implementation private. */
86 #define ccdigest_u8(_state_) (&((ccdigest_state_t)(_state_)).hdr->state.u8)
87 #define ccdigest_u32(_state_) (&((ccdigest_state_t)(_state_)).hdr->state.u32)
88 #define ccdigest_u64(_state_) (&((ccdigest_state_t)(_state_)).hdr->state.u64)
89 #define ccdigest_ccn(_state_) (&((ccdigest_state_t)(_state_)).hdr->state.ccn)