Home
last modified time | relevance | path

Searched refs:sgout (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/fs/cifs/
Dsmbencrypt.c74 struct scatterlist sgin, sgout; in smbhash() local
91 sg_init_one(&sgout, out, 8); in smbhash()
93 rc = crypto_blkcipher_encrypt(&desc, &sgout, &sgin, 8); in smbhash()
Dcifsencrypt.c793 struct scatterlist sgin, sgout; in calc_seckey() local
817 sg_init_one(&sgout, ses->ntlmssp->ciphertext, CIFS_CPHTXT_SIZE); in calc_seckey()
819 rc = crypto_blkcipher_encrypt(&desc, &sgout, &sgin, CIFS_CPHTXT_SIZE); in calc_seckey()
/linux-4.4.14/crypto/
Dtestmgr.c438 struct scatterlist *sgout; in __test_aead() local
467 sgout = &sg[16]; in __test_aead()
554 sg_init_table(sgout, k + 1); in __test_aead()
555 sg_set_buf(&sgout[0], assoc, template[i].alen); in __test_aead()
559 sg_set_buf(&sgout[k], output, in __test_aead()
563 aead_request_set_crypt(req, sg, (diff_dst) ? sgout : sg, in __test_aead()
648 sg_init_table(sgout, template[i].anp + template[i].np); in __test_aead()
662 sg_set_buf(&sgout[k], in __test_aead()
685 sg_set_buf(&sgout[template[i].anp + k], in __test_aead()
714 sgout[template[i].anp + k - 1].length += in __test_aead()
[all …]
Dtcrypt.c312 struct scatterlist *sgout; in test_aead_speed() local
347 sgout = &sg[9]; in test_aead_speed()
415 sg_init_aead(sgout, xoutbuf, in test_aead_speed()
419 sg_set_buf(&sgout[0], assoc, aad_size); in test_aead_speed()
421 aead_request_set_crypt(req, sg, sgout, *b_size, iv); in test_aead_speed()