Searched refs:sha1_state (Results 1 – 5 of 5) sorted by relevance
23 static_assert(sizeof(struct sha1_ctx) == sizeof(struct sha1_state));24 static_assert(offsetof(struct sha1_ctx, state) == offsetof(struct sha1_state, state));25 static_assert(offsetof(struct sha1_ctx, bytecount) == offsetof(struct sha1_state, count));26 static_assert(offsetof(struct sha1_ctx, buf) == offsetof(struct sha1_state, buffer));
13 #define SHA1_STATE_SIZE offsetof(struct sha1_state, buffer)23 struct sha1_state { struct
107 struct sha1_state *octx = out; in sun4i_hash_export_sha1()131 const struct sha1_state *ictx = in; in sun4i_hash_import_sha1()
723 struct sha1_state *sha1; in swap_pad()727 sha1 = (struct sha1_state *)pad; in swap_pad()
797 .statesize = sizeof(struct sha1_state),