Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Note
Certaines informations concernent un produit de préversion qui peut être sensiblement modifié avant sa publication commerciale. Microsoft n’offre aucune garantie, expresse ou implicite, en ce qui concerne les informations fournies ici. La fonctionnalité décrite dans cette rubrique est disponible dans les versions préliminaires du Windows Insider Preview.
The BCRYPT_PQDSA_PADDING_INFO structure is used to specify the padding scheme for Post-Quantum Digital Signature algorithms (PQDSA).
Syntax
typedef struct _BCRYPT_PQDSA_PADDING_INFO {
PUCHAR pbCtx;
ULONG cbCtx;
LPCWSTR pszPrehashAlgId;
} BCRYPT_PQDSA_PADDING_INFO;
Fields
pbCtx
Pointeur vers la mémoire tampon qui contient la chaîne de contexte.
Peut-être NULL. If pbCtx is NULL, then cbCtx must be set to 0.
cbCtx
The size, in bytes, of the context string pointed to by pbCtx. Its value must be 0 if pbCtx is NULL. Sinon, il doit s’agir d’un entier non égal à zéro inférieur à 256.
pszPrehashAlgId
A CNG hash algorithm identifier. Ce paramètre indique si la variante pure (par exemple, ML-DSA) ou la variante de pré-hachage (par exemple, HashML-DSA) sera utilisée. Une NULL valeur indique l’utilisation de variante pure. Pour utiliser une variante de pré-hachage, cet identificateur doit faire référence à un algorithme de hachage approuvé : SHA-2, SHA-3 ou SHAKE.
Remarks
For many PQDSA signatures, the use of BCRYPT_PQDSA_PADDING_INFO is not required. Using NULLpPaddingInfo in calls to BCryptSignHash and BCryptVerifySignature is equivalent to using pure variant with an empty context string.
Requirements
| Requirement | Value |
|---|---|
| Client minimum requis | Windows Insiders (build 27843) : La prise en charge de ML-DSA commence. [Applications de bureau uniquement] |
| Serveur minimal pris en charge | Windows Insiders (build 27843) : La prise en charge de ML-DSA commence. [Applications de bureau uniquement] |
| Header | bcrypt.h |