Searched refs:sdescmd4 (Results 1 – 1 of 1) sorted by relevance
126 struct sdesc *sdescmd4; in mdfour() local136 sdescmd4 = kmalloc(size, GFP_KERNEL); in mdfour()137 if (!sdescmd4) { in mdfour()141 sdescmd4->shash.tfm = md4; in mdfour()142 sdescmd4->shash.flags = 0x0; in mdfour()144 rc = crypto_shash_init(&sdescmd4->shash); in mdfour()149 rc = crypto_shash_update(&sdescmd4->shash, link_str, link_len); in mdfour()154 rc = crypto_shash_final(&sdescmd4->shash, md4_hash); in mdfour()160 kfree(sdescmd4); in mdfour()