Searched refs:SHA1_CTX (Results 1 – 2 of 2) sorted by relevance
24 struct SHA1_CTX { struct29 asmlinkage void sha1_block_data_order(struct SHA1_CTX *digest, argument33 struct SHA1_CTX *sctx = shash_desc_ctx(desc); in sha1_init()42 static int __sha1_update(struct SHA1_CTX *sctx, const u8 *data, in __sha1_update()63 struct SHA1_CTX *sctx = shash_desc_ctx(desc); in sha1_update()76 struct SHA1_CTX *sctx = shash_desc_ctx(desc); in sha1_final()98 struct SHA1_CTX *sctx = shash_desc_ctx(desc); in sha1_export()104 struct SHA1_CTX *sctx = shash_desc_ctx(desc); in sha1_import()115 .descsize = sizeof(struct SHA1_CTX),116 .statesize = sizeof(struct SHA1_CTX),
41 SHA1_CTX *ctx = malloc(sizeof(*ctx)); in x_sha1_init()52 SHA1_CTX *sha1_ctx = ctx; in x_sha1_update()61 SHA1_CTX *sha1_ctx = ctx; in x_sha1_final()