Lines Matching refs:sdesc
926 * The caller has to make sure @sdesc is initialized to either NULL or
931 struct crypto_shash **shash, struct sdesc **sdesc)
936 if (*sdesc != NULL)
944 *sdesc = NULL;
949 *sdesc = kmalloc(size, GFP_KERNEL);
950 if (*sdesc == NULL) {
957 (*sdesc)->shash.tfm = *shash;
967 cifs_free_hash(struct crypto_shash **shash, struct sdesc **sdesc)
969 kfree(*sdesc);
970 *sdesc = NULL;