Fixed a bug for BE architectures (#1478)

Fixed a bug in the internal implementation of libgcrypt for bigendian architectures
This commit is contained in:
Vitaly Lavrov
2022-03-05 11:44:21 +01:00
committed by GitHub
parent a173d3e98f
commit 438f04066b
3 changed files with 3 additions and 20 deletions
+1
View File
@@ -145,6 +145,7 @@ do {
static void single_encryption2(void) {
gcry_cipher_hd_t handle2;
uint8_t de2_out[sizeof de2_src];
gcry_error_t err;
do {
err = gcry_cipher_open (&handle2, GCRY_CIPHER_AES128, GCRY_CIPHER_MODE_GCM,0);