Searched full: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));
34 struct sha1_state *sctx = padlock_shash_desc_ctx(desc); in padlock_sha1_init()36 *sctx = (struct sha1_state){ in padlock_sha1_init()120 struct sha1_state *state = padlock_shash_desc_ctx(desc); in padlock_sha1_finup()247 struct sha1_state *state = padlock_shash_desc_ctx(desc); in padlock_sha1_update_nano()
784 .statesize = sizeof(struct sha1_state),
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()