On Fri, 26 Nov 2010 18:02:36 -0200 Klaus Heinrich Kiwi <[email protected]> wrote:
> p11_bigint_trim() will trim a Big Integer (using the BIG ENDIAN > PKCS#11 representation), taking unnecessary leading zeros. > > This function will be useful in properly converting PKCS#11 > numbers to native formats so we can check their contents. > > Signed-off-by: Klaus Heinrich Kiwi <[email protected]> > --- > usr/lib/pkcs11/common/p11util.c | 50 > ++++++++++++++++++++++++++++++++++++++- > usr/lib/pkcs11/common/p11util.h | 15 +++++++++++ > 2 files changed, 64 insertions(+), 1 deletions(-) > > diff --git a/usr/lib/pkcs11/common/p11util.c b/usr/lib/pkcs11/common/p11util.c > index 6f0921b..af2f84d 100755 > --- a/usr/lib/pkcs11/common/p11util.c > +++ b/usr/lib/pkcs11/common/p11util.c > @@ -289,7 +289,7 @@ > /* (C) COPYRIGHT International Business Machines Corp. 2001,2002 */ > patch series (1-4) applied to master branch. -Klaus -- Klaus Heinrich Kiwi | [email protected] | http://blog.klauskiwi.com Open Source Security blog : http://www.ratliff.net/blog IBM Linux Technology Center : http://www.ibm.com/linux/ltc ------------------------------------------------------------------------------ This SF Dev2Dev email is sponsored by: WikiLeaks The End of the Free Internet http://p.sf.net/sfu/therealnews-com _______________________________________________ Opencryptoki-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opencryptoki-tech
