@@ -115,9 +115,9 @@ static int poly_copy_tag(struct aead_request *req)
115115 return 0 ;
116116}
117117
118- static void chacha_decrypt_done (struct crypto_async_request * areq , int err )
118+ static void chacha_decrypt_done (void * data , int err )
119119{
120- async_done_continue (areq -> data , err , poly_verify_tag );
120+ async_done_continue (data , err , poly_verify_tag );
121121}
122122
123123static int chacha_decrypt (struct aead_request * req )
@@ -161,9 +161,9 @@ static int poly_tail_continue(struct aead_request *req)
161161 return chacha_decrypt (req );
162162}
163163
164- static void poly_tail_done (struct crypto_async_request * areq , int err )
164+ static void poly_tail_done (void * data , int err )
165165{
166- async_done_continue (areq -> data , err , poly_tail_continue );
166+ async_done_continue (data , err , poly_tail_continue );
167167}
168168
169169static int poly_tail (struct aead_request * req )
@@ -191,9 +191,9 @@ static int poly_tail(struct aead_request *req)
191191 return poly_tail_continue (req );
192192}
193193
194- static void poly_cipherpad_done (struct crypto_async_request * areq , int err )
194+ static void poly_cipherpad_done (void * data , int err )
195195{
196- async_done_continue (areq -> data , err , poly_tail );
196+ async_done_continue (data , err , poly_tail );
197197}
198198
199199static int poly_cipherpad (struct aead_request * req )
@@ -220,9 +220,9 @@ static int poly_cipherpad(struct aead_request *req)
220220 return poly_tail (req );
221221}
222222
223- static void poly_cipher_done (struct crypto_async_request * areq , int err )
223+ static void poly_cipher_done (void * data , int err )
224224{
225- async_done_continue (areq -> data , err , poly_cipherpad );
225+ async_done_continue (data , err , poly_cipherpad );
226226}
227227
228228static int poly_cipher (struct aead_request * req )
@@ -250,9 +250,9 @@ static int poly_cipher(struct aead_request *req)
250250 return poly_cipherpad (req );
251251}
252252
253- static void poly_adpad_done (struct crypto_async_request * areq , int err )
253+ static void poly_adpad_done (void * data , int err )
254254{
255- async_done_continue (areq -> data , err , poly_cipher );
255+ async_done_continue (data , err , poly_cipher );
256256}
257257
258258static int poly_adpad (struct aead_request * req )
@@ -279,9 +279,9 @@ static int poly_adpad(struct aead_request *req)
279279 return poly_cipher (req );
280280}
281281
282- static void poly_ad_done (struct crypto_async_request * areq , int err )
282+ static void poly_ad_done (void * data , int err )
283283{
284- async_done_continue (areq -> data , err , poly_adpad );
284+ async_done_continue (data , err , poly_adpad );
285285}
286286
287287static int poly_ad (struct aead_request * req )
@@ -303,9 +303,9 @@ static int poly_ad(struct aead_request *req)
303303 return poly_adpad (req );
304304}
305305
306- static void poly_setkey_done (struct crypto_async_request * areq , int err )
306+ static void poly_setkey_done (void * data , int err )
307307{
308- async_done_continue (areq -> data , err , poly_ad );
308+ async_done_continue (data , err , poly_ad );
309309}
310310
311311static int poly_setkey (struct aead_request * req )
@@ -329,9 +329,9 @@ static int poly_setkey(struct aead_request *req)
329329 return poly_ad (req );
330330}
331331
332- static void poly_init_done (struct crypto_async_request * areq , int err )
332+ static void poly_init_done (void * data , int err )
333333{
334- async_done_continue (areq -> data , err , poly_setkey );
334+ async_done_continue (data , err , poly_setkey );
335335}
336336
337337static int poly_init (struct aead_request * req )
@@ -352,9 +352,9 @@ static int poly_init(struct aead_request *req)
352352 return poly_setkey (req );
353353}
354354
355- static void poly_genkey_done (struct crypto_async_request * areq , int err )
355+ static void poly_genkey_done (void * data , int err )
356356{
357- async_done_continue (areq -> data , err , poly_init );
357+ async_done_continue (data , err , poly_init );
358358}
359359
360360static int poly_genkey (struct aead_request * req )
@@ -391,9 +391,9 @@ static int poly_genkey(struct aead_request *req)
391391 return poly_init (req );
392392}
393393
394- static void chacha_encrypt_done (struct crypto_async_request * areq , int err )
394+ static void chacha_encrypt_done (void * data , int err )
395395{
396- async_done_continue (areq -> data , err , poly_genkey );
396+ async_done_continue (data , err , poly_genkey );
397397}
398398
399399static int chacha_encrypt (struct aead_request * req )
0 commit comments