Lines Matching refs:ctxt
148 EVP_MD_CTX *ctxt; in SRP_Calc_x_ex() local
156 ctxt = EVP_MD_CTX_new(); in SRP_Calc_x_ex()
157 if (ctxt == NULL) in SRP_Calc_x_ex()
166 if (!EVP_DigestInit_ex(ctxt, sha1, NULL) in SRP_Calc_x_ex()
167 || !EVP_DigestUpdate(ctxt, user, strlen(user)) in SRP_Calc_x_ex()
168 || !EVP_DigestUpdate(ctxt, ":", 1) in SRP_Calc_x_ex()
169 || !EVP_DigestUpdate(ctxt, pass, strlen(pass)) in SRP_Calc_x_ex()
170 || !EVP_DigestFinal_ex(ctxt, dig, NULL) in SRP_Calc_x_ex()
171 || !EVP_DigestInit_ex(ctxt, sha1, NULL)) in SRP_Calc_x_ex()
175 if (!EVP_DigestUpdate(ctxt, cs, BN_num_bytes(s))) in SRP_Calc_x_ex()
178 if (!EVP_DigestUpdate(ctxt, dig, sizeof(dig)) in SRP_Calc_x_ex()
179 || !EVP_DigestFinal_ex(ctxt, dig, NULL)) in SRP_Calc_x_ex()
187 EVP_MD_CTX_free(ctxt); in SRP_Calc_x_ex()