Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
3fb2a5d5
Commit
3fb2a5d5
authored
Feb 24, 2023
by
Sven Baars
Committed by
Alexandre Julliard
Feb 24, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bcrypt: Add wow64 support for PSS padding.
parent
a554ff21
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
gnutls.c
dlls/bcrypt/gnutls.c
+10
-0
No files found.
dlls/bcrypt/gnutls.c
View file @
3fb2a5d5
...
...
@@ -2305,6 +2305,7 @@ struct key32
union
padding
{
BCRYPT_PKCS1_PADDING_INFO
pkcs1
;
BCRYPT_PSS_PADDING_INFO
pss
;
};
union
padding32
...
...
@@ -2313,6 +2314,11 @@ union padding32
{
PTR32
pszAlgId
;
}
pkcs1
;
struct
{
PTR32
pszAlgId
;
ULONG
cbSalt
;
}
pss
;
};
static
union
padding
*
get_padding
(
union
padding32
*
padding32
,
union
padding
*
padding
,
ULONG
flags
)
...
...
@@ -2324,6 +2330,10 @@ static union padding *get_padding( union padding32 *padding32, union padding *pa
case
BCRYPT_PAD_PKCS1
:
padding
->
pkcs1
.
pszAlgId
=
ULongToPtr
(
padding32
->
pkcs1
.
pszAlgId
);
return
padding
;
case
BCRYPT_PAD_PSS
:
padding
->
pss
.
pszAlgId
=
ULongToPtr
(
padding32
->
pss
.
pszAlgId
);
padding
->
pss
.
cbSalt
=
padding32
->
pss
.
cbSalt
;
return
padding
;
default:
break
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment