@@ -267,10 +267,10 @@ static int tipc_aead_encrypt(struct tipc_aead *aead, struct sk_buff *skb,
267267 struct tipc_bearer * b ,
268268 struct tipc_media_addr * dst ,
269269 struct tipc_node * __dnode );
270- static void tipc_aead_encrypt_done (crypto_completion_data_t * data , int err );
270+ static void tipc_aead_encrypt_done (void * data , int err );
271271static int tipc_aead_decrypt (struct net * net , struct tipc_aead * aead ,
272272 struct sk_buff * skb , struct tipc_bearer * b );
273- static void tipc_aead_decrypt_done (crypto_completion_data_t * data , int err );
273+ static void tipc_aead_decrypt_done (void * data , int err );
274274static inline int tipc_ehdr_size (struct tipc_ehdr * ehdr );
275275static int tipc_ehdr_build (struct net * net , struct tipc_aead * aead ,
276276 u8 tx_key , struct sk_buff * skb ,
@@ -830,9 +830,9 @@ static int tipc_aead_encrypt(struct tipc_aead *aead, struct sk_buff *skb,
830830 return rc ;
831831}
832832
833- static void tipc_aead_encrypt_done (crypto_completion_data_t * data , int err )
833+ static void tipc_aead_encrypt_done (void * data , int err )
834834{
835- struct sk_buff * skb = crypto_get_completion_data ( data ) ;
835+ struct sk_buff * skb = data ;
836836 struct tipc_crypto_tx_ctx * tx_ctx = TIPC_SKB_CB (skb )-> crypto_ctx ;
837837 struct tipc_bearer * b = tx_ctx -> bearer ;
838838 struct tipc_aead * aead = tx_ctx -> aead ;
@@ -954,9 +954,9 @@ static int tipc_aead_decrypt(struct net *net, struct tipc_aead *aead,
954954 return rc ;
955955}
956956
957- static void tipc_aead_decrypt_done (crypto_completion_data_t * data , int err )
957+ static void tipc_aead_decrypt_done (void * data , int err )
958958{
959- struct sk_buff * skb = crypto_get_completion_data ( data ) ;
959+ struct sk_buff * skb = data ;
960960 struct tipc_crypto_rx_ctx * rx_ctx = TIPC_SKB_CB (skb )-> crypto_ctx ;
961961 struct tipc_bearer * b = rx_ctx -> bearer ;
962962 struct tipc_aead * aead = rx_ctx -> aead ;
0 commit comments