Lines Matching defs:desc
487 struct blkcipher_desc desc;
521 s->desc.flags = CRYPTO_TFM_REQ_MAY_SLEEP;
524 &s->desc.tfm,
533 s->block_size = crypto_blkcipher_blocksize(s->desc.tfm);
724 s->desc.info = s->iv;
726 s->desc.tfm,
739 rc = crypto_blkcipher_encrypt_iv(&s->desc, &s->dst_sg, &s->src_sg,
773 struct blkcipher_desc desc;
813 s->desc.flags = CRYPTO_TFM_REQ_MAY_SLEEP;
867 rc = ecryptfs_get_tfm_and_mutex_for_cipher_name(&s->desc.tfm,
912 s->desc.info = s->iv;
930 s->desc.tfm,
943 rc = crypto_blkcipher_decrypt_iv(&s->desc, &s->dst_sg, &s->src_sg,
1587 struct blkcipher_desc desc = {
1600 rc = ecryptfs_get_tfm_and_mutex_for_cipher_name(&desc.tfm, &tfm_mutex,
1632 desc.tfm, auth_tok->token.password.session_key_encryption_key,
1640 rc = crypto_blkcipher_decrypt(&desc, dst_sg, src_sg,
2094 struct blkcipher_desc desc = {
2103 rc = ecryptfs_get_tfm_and_mutex_for_cipher_name(&desc.tfm, &tfm_mutex,
2112 struct blkcipher_alg *alg = crypto_blkcipher_alg(desc.tfm);
2187 rc = crypto_blkcipher_setkey(desc.tfm, session_key_encryption_key,
2198 rc = crypto_blkcipher_encrypt(&desc, dst_sg, src_sg,