Searched defs:s_ (Results 1 - 1 of 1) sorted by relevance
/osnet-11/usr/src/common/crypto/ecc/ |
H A D | ec.c | 868 mp_int r_, s_; /* tuple (r', s') is received signature) */ local 887 MP_DIGITS(&s_) = 0; 916 CHECK_MPI_OK( mp_init(&s_, kmflag) ); 928 CHECK_MPI_OK( mp_read_unsigned_octets(&s_, signature->data + slen, slen) ); 936 if (mp_cmp_z(&r_) <= 0 || mp_cmp_z(&s_) <= 0 || 937 mp_cmp(&r_, &n) >= 0 || mp_cmp(&s_, &n) >= 0) { 947 CHECK_MPI_OK( mp_invmod(&s_, &n, &c) ); /* c = (s')**-1 mod n */ 966 mp_todecimal(&s_, mpstr); 967 printf("s_: %s (dec)\n", mpstr); 1042 mp_clear(&s_); [all...] |
Completed in 23 milliseconds