Lines Matching defs:tfm
261 rc = crypto_shash_setkey(shash->tfm, ses->auth_key.response,
330 rc = crypto_shash_setkey(server->secmech.hmacsha256->tfm,
588 rc = crypto_shash_setkey(shash->tfm, key, SMB2_CMACAES_SIZE);
914 struct crypto_aead *tfm;
919 tfm = crypto_alloc_aead("gcm(aes)", 0, 0);
921 tfm = crypto_alloc_aead("ccm(aes)", 0, 0);
922 if (IS_ERR(tfm)) {
925 return PTR_ERR(tfm);
927 server->secmech.enc = tfm;
933 tfm = crypto_alloc_aead("gcm(aes)", 0, 0);
935 tfm = crypto_alloc_aead("ccm(aes)", 0, 0);
936 if (IS_ERR(tfm)) {
941 return PTR_ERR(tfm);
943 server->secmech.dec = tfm;