Lines Matching refs:desc
103 static int crc32_pclmul_init(struct shash_desc *desc) in crc32_pclmul_init() argument
105 u32 *mctx = crypto_shash_ctx(desc->tfm); in crc32_pclmul_init()
106 u32 *crcp = shash_desc_ctx(desc); in crc32_pclmul_init()
113 static int crc32_pclmul_update(struct shash_desc *desc, const u8 *data, in crc32_pclmul_update() argument
116 u32 *crcp = shash_desc_ctx(desc); in crc32_pclmul_update()
130 static int crc32_pclmul_finup(struct shash_desc *desc, const u8 *data, in crc32_pclmul_finup() argument
133 return __crc32_pclmul_finup(shash_desc_ctx(desc), data, len, out); in crc32_pclmul_finup()
136 static int crc32_pclmul_final(struct shash_desc *desc, u8 *out) in crc32_pclmul_final() argument
138 u32 *crcp = shash_desc_ctx(desc); in crc32_pclmul_final()
144 static int crc32_pclmul_digest(struct shash_desc *desc, const u8 *data, in crc32_pclmul_digest() argument
147 return __crc32_pclmul_finup(crypto_shash_ctx(desc->tfm), data, len, in crc32_pclmul_digest()