X-Git-Url: https://www.bearssl.org/gitweb//home/git/?p=BearSSL;a=blobdiff_plain;f=src%2Fhash%2Fdig_oid.c;h=cd9692c959990b88179dd92acc57169898f8520c;hp=496f230a3f6f54182652cee500002ba4f975a6e1;hb=9e71c0673a9f46f82e43125919619f296698292e;hpb=3210f38e0491b39aec1ef419cb4114e9483089fb diff --git a/src/hash/dig_oid.c b/src/hash/dig_oid.c index 496f230..cd9692c 100644 --- a/src/hash/dig_oid.c +++ b/src/hash/dig_oid.c @@ -24,6 +24,12 @@ #include "inner.h" +/* + * This file contains the encoded OID for the standard hash functions. + * Such OID appear in, for instance, the PKCS#1 v1.5 padding for RSA + * signatures. + */ + static const unsigned char md5_OID[] = { 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x02, 0x05 };