Wan-Teh Chang wrote: > [EMAIL PROTECTED] wrote: > > Hi, > > > > HASH_* APIs provide a good wrapper for the hashing algorithms. > > But secsign.c does not use any of these. It instead calls > > create/update/end directly on the hash context. > > > > Would it be better to use HASH_* APIs in secsign.c? > > We could use HASH_* APIs in secsign.c. Perhaps the > author of secsign.c wanted to save the function call > overhead and decided to call create/update/end directly > on the hash context. Compared with calling HASH_Create, > we also save a malloc call this way.
What do I need to do if I want to propose a change to use HASH_* APIs in this implementation? This requires changes to the underneath structure for the opaque SGNContext. > > Wan-Teh _______________________________________________ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto