Lines Matching defs:psign
1024 DSA_SIG *psign = NULL;
1037 if ((psign = DSA_SIG_new()) == NULL) {
1042 psign->r = BN_new();
1043 psign->s = BN_new();
1044 if(!psign->r || !psign->s)
1046 bn_expand2(psign->r, 20 / sizeof(BN_ULONG));
1047 bn_expand2(psign->s, 20 / sizeof(BN_ULONG));
1048 if (psign->r->dmax != 20 / sizeof(BN_ULONG) ||
1049 psign->s->dmax != 20 / sizeof(BN_ULONG))
1052 (unsigned long *)psign->r->d,
1053 (unsigned long *)psign->s->d, hptr);
1057 psign->r->top = 20 / sizeof(BN_ULONG);
1058 bn_fix_top(psign->r);
1059 psign->s->top = 20 / sizeof(BN_ULONG);
1060 bn_fix_top(psign->s);
1063 if (psign) {
1064 DSA_SIG_free(psign);
1065 psign = NULL;
1067 return psign;