Hi  Marek:<div>According to Lang's suggestion, I think DH and DSS is a better choice. Thanks for your generous. DH and DSS is strange to me. I need to to learn more about this. I accept it 's difficult for me to absorb your proposal . it's better for me to get this step by step. As i said in my gsoc</div>

<div>proposal I'm interested in this. joining the wine  project is the best for me. </div><div><br></div><div>thank you.</div><div><br></div><br><div class="gmail_quote">2013/5/10 Marek Chmiel <span dir="ltr"><<a href="mailto:kcmark@gmail.com" target="_blank">kcmark@gmail.com</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><font color="#222222" face="arial, sans-serif">Hey </font>Kaiyi Zhang,</div>

<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">

<br></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">Welcome to wine dev! <font color="#222222" face="arial, sans-serif">If you decide to move forward with this(DH and DSS)</font>,<font color="#222222" face="arial, sans-serif"> I wish to share with you all that I have finished up to now. Using a few things from RSAENH I have all the related algorithms functioning. Also using LibTomCrypt I have partially implemented DSA but you would have to choose on the PRNG that DSA will use. </font>My plan was to use RC4 but have not gotten to test that. I have yet to touch anything with DH_EPHEM (Ephemeral) or DH_SF (Store and Forward).  If you have any questions shoot them to Juan or me (Juan is the better choice). Best of luck!</div>

<span class="HOEnZb"><font color="#888888">

</font></span></div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-- <br>Marek</div></font></span><div class="HOEnZb"><div class="h5"><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><div>

<span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><br>

</span></div>>Hi Kaiyi Zhang,</span><br style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">><br style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">

<span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">>(or is Zhang Kaiyi?)</span><br style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">

><br style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">>I think there's a little misconception in your proposal. Bcrypt the</span><br style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">



<span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">>algorithm is not the same as the BCrypt functions in crypt32. I believe</span><br style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">



<span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">>that Microsoft redesigned their CryptoAPI and more or less renamed their</span><br style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">



<span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">>functions BCrypt*. I don't believe they have any relationship to the Bcrypt</span><br style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">



<span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">>algorithm by Niels Provos and David Mazieres. I don't know how many</span><br style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">



<span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">>applications depend on the Bcrypt* functions in newer crypt32</span><br style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">



<span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">>implementations, vs. the the Crypt* functions that are present in all</span><br style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">



<span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">>versions of crypt32.</span><br style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">

><br style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">>If you want feedback on Wine crypto stuff, I'm probably the best to help</span><br style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">



<span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">>you with that. Sorry if I've been a little absent, I'm pretty busy between</span><br style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">



<span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">>my family and my day job of late.</span><br style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">

><br style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">>I have another idea for you that I think is tractable, and perhaps up your</span><br style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">



<span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">>alley. The DH and DSS algorithms are still unimplemented in Wine. We</span><br style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">



<span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">>already have tests for them, so I think it should be possible to contribute</span><br style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">



<span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">>implementations. See the tests in dlls/dssenh/tests.</span><br style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">

><br style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">>I hope that helps.</span><br style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">



<span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">>--Juan</span>
</div></div><br><br>
<br></blockquote></div><br>