Searched refs:sdesc (Results 1 – 9 of 9) sorted by relevance
1643 struct sdesc { struct1650 struct sdesc *sdesc; in drbg_init_hash_kernel() argument1660 sdesc = kzalloc(sizeof(struct shash_desc) + crypto_shash_descsize(tfm), in drbg_init_hash_kernel()1662 if (!sdesc) { in drbg_init_hash_kernel()1667 sdesc->shash.tfm = tfm; in drbg_init_hash_kernel()1668 sdesc->shash.flags = 0; in drbg_init_hash_kernel()1669 drbg->priv_data = sdesc; in drbg_init_hash_kernel()1676 struct sdesc *sdesc = (struct sdesc *)drbg->priv_data; in drbg_fini_hash_kernel() local1677 if (sdesc) { in drbg_fini_hash_kernel()1678 crypto_free_shash(sdesc->shash.tfm); in drbg_fini_hash_kernel()[all …]
883 struct crypto_shash **shash, struct sdesc **sdesc) in cifs_alloc_hash() argument888 if (*sdesc != NULL) in cifs_alloc_hash()896 *sdesc = NULL; in cifs_alloc_hash()901 *sdesc = kmalloc(size, GFP_KERNEL); in cifs_alloc_hash()902 if (*sdesc == NULL) { in cifs_alloc_hash()909 (*sdesc)->shash.tfm = *shash; in cifs_alloc_hash()910 (*sdesc)->shash.flags = 0x0; in cifs_alloc_hash()920 cifs_free_hash(struct crypto_shash **shash, struct sdesc **sdesc) in cifs_free_hash() argument922 kfree(*sdesc); in cifs_free_hash()923 *sdesc = NULL; in cifs_free_hash()
560 struct sdesc **sdesc);561 void cifs_free_hash(struct crypto_shash **shash, struct sdesc **sdesc);
128 struct sdesc { struct140 struct sdesc *sdeschmacmd5; /* ctxt to generate ntlmv2 hash, CR1 */ argument141 struct sdesc *sdescmd5; /* ctxt to generate cifs/smb signature */142 struct sdesc *sdeschmacsha256; /* ctxt to generate smb2 signature */143 struct sdesc *sdesccmacaes; /* ctxt to generate smb3 signature */144 struct sdesc *sdescsha512; /* ctxt to generate smb3.11 signing key */
125 struct sdesc *sdescmd4 = NULL; in mdfour()
54 struct sdesc *sdescmd5 = NULL; in symlink_hash()
832 struct sdesc *d; in smb311_update_preauth_hash()
46 if (&icd->sdesc->subdev_desc != ssdd) in soc_camera_platform_add()77 if (&icd->sdesc->subdev_desc != ssdd || !pdev) in soc_camera_platform_del()
31 struct soc_camera_desc *sdesc; member256 return icd->sdesc; in to_soc_camera_desc()