Lines Matching defs:psign
974 DSA_SIG *psign=NULL;
989 if((psign = DSA_SIG_new()) == NULL)
994 psign->r=BN_new();
995 psign->s=BN_new();
996 bn_expand2(psign->r, 20/sizeof(BN_ULONG));
997 bn_expand2(psign->s, 20/sizeof(BN_ULONG));
998 if (!psign->r || psign->r->dmax!=20/sizeof(BN_ULONG) ||
999 !psign->s || psign->s->dmax!=20/sizeof(BN_ULONG))
1002 (unsigned long *)psign->r->d,
1003 (unsigned long *)psign->s->d,
1007 psign->r->top=20/sizeof(BN_ULONG);
1008 bn_fix_top(psign->r);
1009 psign->s->top=20/sizeof(BN_ULONG);
1010 bn_fix_top(psign->s);
1013 if (psign)
1015 DSA_SIG_free(psign);
1016 psign=NULL;
1018 return psign;