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