• Home
  • Raw
  • Download

Lines Matching refs:desc

484 	struct blkcipher_desc desc;  member
517 s->desc.flags = CRYPTO_TFM_REQ_MAY_SLEEP; in ecryptfs_write_tag_70_packet()
520 &s->desc.tfm, in ecryptfs_write_tag_70_packet()
529 s->block_size = crypto_blkcipher_blocksize(s->desc.tfm); in ecryptfs_write_tag_70_packet()
715 s->desc.info = s->iv; in ecryptfs_write_tag_70_packet()
717 s->desc.tfm, in ecryptfs_write_tag_70_packet()
730 rc = crypto_blkcipher_encrypt_iv(&s->desc, &s->dst_sg, &s->src_sg, in ecryptfs_write_tag_70_packet()
765 struct blkcipher_desc desc; member
804 s->desc.flags = CRYPTO_TFM_REQ_MAY_SLEEP; in ecryptfs_parse_tag_70_packet()
858 rc = ecryptfs_get_tfm_and_mutex_for_cipher_name(&s->desc.tfm, in ecryptfs_parse_tag_70_packet()
903 s->desc.info = s->iv; in ecryptfs_parse_tag_70_packet()
916 s->desc.tfm, in ecryptfs_parse_tag_70_packet()
929 rc = crypto_blkcipher_decrypt_iv(&s->desc, &s->dst_sg, &s->src_sg, in ecryptfs_parse_tag_70_packet()
1556 struct blkcipher_desc desc = { in decrypt_passphrase_encrypted_session_key() local
1569 rc = ecryptfs_get_tfm_and_mutex_for_cipher_name(&desc.tfm, &tfm_mutex, in decrypt_passphrase_encrypted_session_key()
1601 desc.tfm, auth_tok->token.password.session_key_encryption_key, in decrypt_passphrase_encrypted_session_key()
1609 rc = crypto_blkcipher_decrypt(&desc, dst_sg, src_sg, in decrypt_passphrase_encrypted_session_key()
2063 struct blkcipher_desc desc = { in write_tag_3_packet() local
2072 rc = ecryptfs_get_tfm_and_mutex_for_cipher_name(&desc.tfm, &tfm_mutex, in write_tag_3_packet()
2081 struct blkcipher_alg *alg = crypto_blkcipher_alg(desc.tfm); in write_tag_3_packet()
2156 rc = crypto_blkcipher_setkey(desc.tfm, session_key_encryption_key, in write_tag_3_packet()
2167 rc = crypto_blkcipher_encrypt(&desc, dst_sg, src_sg, in write_tag_3_packet()