#317 Missing NIST_AES OIDs in wincrypt.h

closed-fixed
nobody
header (101)
5
2012-09-20
2012-08-24
Stephen Kitt
No

Hi,

The following OIDs are missing from wincrypt.h:

Index: mingw-w64-headers/include/wincrypt.h

--- mingw-w64-headers/include/wincrypt.h (revision 5374)
+++ mingw-w64-headers/include/wincrypt.h (working copy)
@@ -835,6 +835,10 @@
#define szOID_INFOSEC_mosaicKMandUpdSig "2.16.840.1.101.2.1.1.20"
#define szOID_INFOSEC_mosaicUpdatedInteg "2.16.840.1.101.2.1.1.21"

+#define szOID_NIST_AES128_CBC "2.16.840.1.101.3.4.1.2"
+#define szOID_NIST_AES192_CBC "2.16.840.1.101.3.4.1.22"
+#define szOID_NIST_AES256_CBC "2.16.840.1.101.3.4.1.42"
+
typedef struct _CRYPT_OBJID_TABLE {
DWORD dwAlgId;
LPCSTR pszObjId;

(This is based on information provided in http://bugs.debian.org/685710 and checked separately.)

Regards,

Stephen

Discussion

  • Stephen Kitt
    Stephen Kitt
    2012-08-24

    Patch adding missing NIST AES OIDs

     
  • Kai Tietz
    Kai Tietz
    2012-09-20

    • status: open --> pending-fixed
     
  • Kai Tietz
    Kai Tietz
    2012-09-20

    Thanks for the report. Applied at revision 5408 to trunk. Keep it pending as this might be something for 2.x branch, too.

     
  • Stephen Kitt
    Stephen Kitt
    2012-09-20

    Great, thanks!

     
  • Stephen Kitt
    Stephen Kitt
    2012-09-20

    • status: pending-fixed --> open-fixed
     
  • Ozkan Sezer
    Ozkan Sezer
    2012-09-20

    • status: open-fixed --> closed-fixed
     
  • Ozkan Sezer
    Ozkan Sezer
    2012-09-20

    Entries added in the 2.x branch at r5412. Closing.