ietf-openpgp
[Top] [All Lists]

Re: Changing HAVAL definition.

1998-06-16 12:27:06
Jon Callas <jon(_at_)pgp(_dot_)com> writes:

To all: by the bye, we still don't have OIDs for HAVAL and Tiger. I am
content to leave this situation as it is. But I would be delighted to add

What about a note, that some implementations use:

    /* 40: SEQUENCE {
     * 12:   SEQUENCE {
     *  8:     OCTET STRING   :54 49 47 45 52 31 39 32
     *  0:     NULL
     *   :     }
     * 24:   OCTET STRING
     *   :   }
     *
     * By replacing the 5th byte (0x04) with 0x16 we would have;
     *        8:     IA5String 'TIGER192'
     */
    static byte asn[18] =
     { 0x30, 0x28, 0x30, 0x0c, 0x04, 0x08, 0x54, 0x49, 0x47,
       0x45, 0x52, 0x31, 0x39, 0x32, 0x05, 0x00, 0x04, 0x18 };

This is a simple and pragmatic solution (Thanks to Tom).



Werner 




<Prev in Thread] Current Thread [Next in Thread>