Skip to content

Commit

Permalink
[#197] Corrected mode in algorithm switch statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Donnie-Ice committed Jul 17, 2024
1 parent f36f5a1 commit a29dd8f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1057,7 +1057,7 @@ int32_t cryptography_get_ecs_mode(int8_t algo_enum)
mode = GCRY_CIPHER_MODE_GCM;
break;
case CRYPTO_CIPHER_AES256_GCM_SIV:
mode = GCRY_CIPHER_MODE_GCM;
mode = GCRY_CIPHER_MODE_GCM_SIV;
break;
case CRYPTO_CIPHER_AES256_CBC:
mode = GCRY_CIPHER_MODE_CBC;
Expand Down

0 comments on commit a29dd8f

Please sign in to comment.