@@ -489,7 +489,7 @@ static int mv_cesa_des_op(struct skcipher_request *req,
489
489
490
490
static int mv_cesa_ecb_des_encrypt (struct skcipher_request * req )
491
491
{
492
- struct mv_cesa_op_ctx tmpl ;
492
+ struct mv_cesa_op_ctx tmpl = { } ;
493
493
494
494
mv_cesa_set_op_cfg (& tmpl ,
495
495
CESA_SA_DESC_CFG_CRYPTCM_ECB |
@@ -500,7 +500,7 @@ static int mv_cesa_ecb_des_encrypt(struct skcipher_request *req)
500
500
501
501
static int mv_cesa_ecb_des_decrypt (struct skcipher_request * req )
502
502
{
503
- struct mv_cesa_op_ctx tmpl ;
503
+ struct mv_cesa_op_ctx tmpl = { } ;
504
504
505
505
mv_cesa_set_op_cfg (& tmpl ,
506
506
CESA_SA_DESC_CFG_CRYPTCM_ECB |
@@ -543,7 +543,7 @@ static int mv_cesa_cbc_des_op(struct skcipher_request *req,
543
543
544
544
static int mv_cesa_cbc_des_encrypt (struct skcipher_request * req )
545
545
{
546
- struct mv_cesa_op_ctx tmpl ;
546
+ struct mv_cesa_op_ctx tmpl = { } ;
547
547
548
548
mv_cesa_set_op_cfg (& tmpl , CESA_SA_DESC_CFG_DIR_ENC );
549
549
@@ -552,7 +552,7 @@ static int mv_cesa_cbc_des_encrypt(struct skcipher_request *req)
552
552
553
553
static int mv_cesa_cbc_des_decrypt (struct skcipher_request * req )
554
554
{
555
- struct mv_cesa_op_ctx tmpl ;
555
+ struct mv_cesa_op_ctx tmpl = { } ;
556
556
557
557
mv_cesa_set_op_cfg (& tmpl , CESA_SA_DESC_CFG_DIR_DEC );
558
558
@@ -596,7 +596,7 @@ static int mv_cesa_des3_op(struct skcipher_request *req,
596
596
597
597
static int mv_cesa_ecb_des3_ede_encrypt (struct skcipher_request * req )
598
598
{
599
- struct mv_cesa_op_ctx tmpl ;
599
+ struct mv_cesa_op_ctx tmpl = { } ;
600
600
601
601
mv_cesa_set_op_cfg (& tmpl ,
602
602
CESA_SA_DESC_CFG_CRYPTCM_ECB |
@@ -608,7 +608,7 @@ static int mv_cesa_ecb_des3_ede_encrypt(struct skcipher_request *req)
608
608
609
609
static int mv_cesa_ecb_des3_ede_decrypt (struct skcipher_request * req )
610
610
{
611
- struct mv_cesa_op_ctx tmpl ;
611
+ struct mv_cesa_op_ctx tmpl = { } ;
612
612
613
613
mv_cesa_set_op_cfg (& tmpl ,
614
614
CESA_SA_DESC_CFG_CRYPTCM_ECB |
@@ -649,7 +649,7 @@ static int mv_cesa_cbc_des3_op(struct skcipher_request *req,
649
649
650
650
static int mv_cesa_cbc_des3_ede_encrypt (struct skcipher_request * req )
651
651
{
652
- struct mv_cesa_op_ctx tmpl ;
652
+ struct mv_cesa_op_ctx tmpl = { } ;
653
653
654
654
mv_cesa_set_op_cfg (& tmpl ,
655
655
CESA_SA_DESC_CFG_CRYPTCM_CBC |
@@ -661,7 +661,7 @@ static int mv_cesa_cbc_des3_ede_encrypt(struct skcipher_request *req)
661
661
662
662
static int mv_cesa_cbc_des3_ede_decrypt (struct skcipher_request * req )
663
663
{
664
- struct mv_cesa_op_ctx tmpl ;
664
+ struct mv_cesa_op_ctx tmpl = { } ;
665
665
666
666
mv_cesa_set_op_cfg (& tmpl ,
667
667
CESA_SA_DESC_CFG_CRYPTCM_CBC |
@@ -725,7 +725,7 @@ static int mv_cesa_aes_op(struct skcipher_request *req,
725
725
726
726
static int mv_cesa_ecb_aes_encrypt (struct skcipher_request * req )
727
727
{
728
- struct mv_cesa_op_ctx tmpl ;
728
+ struct mv_cesa_op_ctx tmpl = { } ;
729
729
730
730
mv_cesa_set_op_cfg (& tmpl ,
731
731
CESA_SA_DESC_CFG_CRYPTCM_ECB |
@@ -736,7 +736,7 @@ static int mv_cesa_ecb_aes_encrypt(struct skcipher_request *req)
736
736
737
737
static int mv_cesa_ecb_aes_decrypt (struct skcipher_request * req )
738
738
{
739
- struct mv_cesa_op_ctx tmpl ;
739
+ struct mv_cesa_op_ctx tmpl = { } ;
740
740
741
741
mv_cesa_set_op_cfg (& tmpl ,
742
742
CESA_SA_DESC_CFG_CRYPTCM_ECB |
@@ -778,7 +778,7 @@ static int mv_cesa_cbc_aes_op(struct skcipher_request *req,
778
778
779
779
static int mv_cesa_cbc_aes_encrypt (struct skcipher_request * req )
780
780
{
781
- struct mv_cesa_op_ctx tmpl ;
781
+ struct mv_cesa_op_ctx tmpl = { } ;
782
782
783
783
mv_cesa_set_op_cfg (& tmpl , CESA_SA_DESC_CFG_DIR_ENC );
784
784
@@ -787,7 +787,7 @@ static int mv_cesa_cbc_aes_encrypt(struct skcipher_request *req)
787
787
788
788
static int mv_cesa_cbc_aes_decrypt (struct skcipher_request * req )
789
789
{
790
- struct mv_cesa_op_ctx tmpl ;
790
+ struct mv_cesa_op_ctx tmpl = { } ;
791
791
792
792
mv_cesa_set_op_cfg (& tmpl , CESA_SA_DESC_CFG_DIR_DEC );
793
793
0 commit comments