@@ -218,14 +218,14 @@ static int ahash_partial_update(struct ahash_request **preq,
218218 crypto_ahash_reqtfm (req ));
219219 state = kmalloc (statesize + sizeof (guard ), GFP_KERNEL );
220220 if (!state ) {
221- pr_err ("alt : hash: Failed to alloc state for %s\n" , algo );
221+ pr_err ("alg : hash: Failed to alloc state for %s\n" , algo );
222222 goto out_nostate ;
223223 }
224224 memcpy (state + statesize , guard , sizeof (guard ));
225225 ret = crypto_ahash_export (req , state );
226226 WARN_ON (memcmp (state + statesize , guard , sizeof (guard )));
227227 if (ret ) {
228- pr_err ("alt : hash: Failed to export() for %s\n" , algo );
228+ pr_err ("alg : hash: Failed to export() for %s\n" , algo );
229229 goto out ;
230230 }
231231 ahash_request_free (req );
@@ -344,19 +344,19 @@ static int __test_hash(struct crypto_ahash *tfm,
344344 } else {
345345 ret = wait_async_op (& tresult , crypto_ahash_init (req ));
346346 if (ret ) {
347- pr_err ("alt : hash: init failed on test %d "
347+ pr_err ("alg : hash: init failed on test %d "
348348 "for %s: ret=%d\n" , j , algo , - ret );
349349 goto out ;
350350 }
351351 ret = wait_async_op (& tresult , crypto_ahash_update (req ));
352352 if (ret ) {
353- pr_err ("alt : hash: update failed on test %d "
353+ pr_err ("alg : hash: update failed on test %d "
354354 "for %s: ret=%d\n" , j , algo , - ret );
355355 goto out ;
356356 }
357357 ret = wait_async_op (& tresult , crypto_ahash_final (req ));
358358 if (ret ) {
359- pr_err ("alt : hash: final failed on test %d "
359+ pr_err ("alg : hash: final failed on test %d "
360360 "for %s: ret=%d\n" , j , algo , - ret );
361361 goto out ;
362362 }
@@ -488,13 +488,13 @@ static int __test_hash(struct crypto_ahash *tfm,
488488 ahash_request_set_crypt (req , sg , result , template [i ].tap [0 ]);
489489 ret = wait_async_op (& tresult , crypto_ahash_init (req ));
490490 if (ret ) {
491- pr_err ("alt : hash: init failed on test %d for %s: ret=%d\n" ,
491+ pr_err ("alg : hash: init failed on test %d for %s: ret=%d\n" ,
492492 j , algo , - ret );
493493 goto out ;
494494 }
495495 ret = wait_async_op (& tresult , crypto_ahash_update (req ));
496496 if (ret ) {
497- pr_err ("alt : hash: update failed on test %d for %s: ret=%d\n" ,
497+ pr_err ("alg : hash: update failed on test %d for %s: ret=%d\n" ,
498498 j , algo , - ret );
499499 goto out ;
500500 }
@@ -505,15 +505,15 @@ static int __test_hash(struct crypto_ahash *tfm,
505505 hash_buff , k , temp , & sg [0 ], algo , result ,
506506 & tresult );
507507 if (ret ) {
508- pr_err ("hash: partial update failed on test %d for %s: ret=%d\n" ,
508+ pr_err ("alg: hash: partial update failed on test %d for %s: ret=%d\n" ,
509509 j , algo , - ret );
510510 goto out_noreq ;
511511 }
512512 temp += template [i ].tap [k ];
513513 }
514514 ret = wait_async_op (& tresult , crypto_ahash_final (req ));
515515 if (ret ) {
516- pr_err ("alt : hash: final failed on test %d for %s: ret=%d\n" ,
516+ pr_err ("alg : hash: final failed on test %d for %s: ret=%d\n" ,
517517 j , algo , - ret );
518518 goto out ;
519519 }
0 commit comments