mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
Updated bcrypt-Improvements
Updates patch #0029 to allow test to compile.
This commit is contained in:
parent
c35053e845
commit
e71ab406f1
@ -1,4 +1,4 @@
|
||||
From 74d179cafdabfeb5139a9e22b9a2dfbf1884dcc8 Mon Sep 17 00:00:00 2001
|
||||
From 34937c9def50791d3588c4b618df284de5ecc8e8 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
|
||||
Date: Sun, 13 Aug 2017 05:04:21 +0200
|
||||
Subject: [PATCH] bcrypt: Add support for 192 and 256 bit aes keys.
|
||||
@ -37,7 +37,7 @@ index 46e7ab1..0c07c1f 100644
|
||||
FIXME( "algorithm %u not supported\n", key->alg_id );
|
||||
return GNUTLS_CIPHER_UNKNOWN;
|
||||
diff --git a/dlls/bcrypt/tests/bcrypt.c b/dlls/bcrypt/tests/bcrypt.c
|
||||
index d52c79d..396f553 100644
|
||||
index d52c79d..e4c9ea0 100644
|
||||
--- a/dlls/bcrypt/tests/bcrypt.c
|
||||
+++ b/dlls/bcrypt/tests/bcrypt.c
|
||||
@@ -615,6 +615,9 @@ static void test_BCryptEncrypt(void)
|
||||
@ -61,7 +61,7 @@ index d52c79d..396f553 100644
|
||||
static UCHAR expected_tag[] =
|
||||
{0x89,0xb3,0x92,0x00,0x39,0x20,0x09,0xb4,0x6a,0xd6,0xaf,0xca,0x4b,0x5b,0xfd,0xd0};
|
||||
static UCHAR expected_tag2[] =
|
||||
@@ -1130,6 +1137,31 @@ static void test_BCryptDecrypt(void)
|
||||
@@ -873,6 +880,31 @@ static void test_BCryptEncrypt(void)
|
||||
ok(ret == STATUS_SUCCESS, "got %08x\n", ret);
|
||||
HeapFree(GetProcessHeap(), 0, buf);
|
||||
|
||||
@ -91,7 +91,7 @@ index d52c79d..396f553 100644
|
||||
+ HeapFree(GetProcessHeap(), 0, buf);
|
||||
+
|
||||
/******************
|
||||
* AES - GCM mode *
|
||||
* AES - ECB mode *
|
||||
******************/
|
||||
--
|
||||
1.9.1
|
||||
|
Loading…
Reference in New Issue
Block a user