hi, there:

i want to add a set of new ciphers to the openssl--1.0.0d source code and
make it as my default ssl cipher-suite.

(a EC asymmetric cipher named SM2, a symmetric cipher named SM1, and a
digest cipher SM3.)

now i have implemented SM1,SM2,SM3 in crypto/evp, and test it ok.

i'm trying to add it in ssl directory. and i've added SM1 OK as
[RSA-SM1-MD5] and [RSA-SM1-SHA] (after testing).

now i want change [RSA-SM1-MD5] to [RSA-SM1-SM3].

i add the SM3 into ssl directory almost the same way as SM1, just different
index/name/value as md5.(s3_libs.c, ssl3.h, ssl_algs.c, ssl_locl.h.etc.)

and in the ssl_locl.h, there is no more SSL_MAC_MASK mocro used in 0.9.8g,
so i'm not sure how should i set the SM3 value.

now it compiles ok, but when s_server communicates with s_client, there is
NO RSA-SM1-SM3 in cipher_list, but RSA-SM1-SHA within.

but before i add SM3, there are RSA-SM1-MD5 and RSA-SM1-SHA in the
cipher_list.

i don't know how to add the SM3 digest now.

any help? sorry for my english and my first post.

grateful to any advice. thanks.

Reply via email to