Wan-Teh Chang wrote:
> [...]
> Thank you for tracking this down.  I filed a bug report:
> https://bugzilla.mozilla.org/show_bug.cgi?id=452692
>
> Note that the OIDs for SHA-256 and SHA-384 are also wrong
> because of this bug.

I didn't track down the NSS side though.

It seems there's fortunately no problem there :

http://mxr.mozilla.org/security/source/security/nss/lib/util/secoid.c#488
488 CONST_OID sha256[]                              = { SHAXXX, 1 };
489 CONST_OID sha384[]                              = { SHAXXX, 2 };
490 CONST_OID sha512[]                              = { SHAXXX, 3 };

http://mxr.mozilla.org/security/source/security/nss/lib/util/secoid.c#55
55 #define NISTALGS    USGOV, 3, 4
56 #define AES         NISTALGS, 1
57 #define SHAXXX      NISTALGS, 2


_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to