Details

    • Sub-task
    • Status: Closed
    • Medium
    • Resolution: Won't Do
    • v1.0.5
    • None
    • fabric-crypto

    Description

      Enable fabric/bccsp support SM2.

      • implemented based-on bccsp/sw
      • support sm2 KeyGen KeyImport KeyDeriv Sign and Veirfy

      The implementation of this new feature includes several main steps.

      1.  bccsp

      • sm2 algorithm implementation in golang.  This can refer to warm3snow/gmsm/sm2, which is based on  tjfoc/gmsm/sm2
      • supply bccsp options pertaining sm2 in bccsp/SMxOpts.go
      • implement sm2 keygen keyimport keyderiv sign and verify in bccsp/sw
      • unit test

      2.  msp

      • x509 package supporting sm2
      • invoking x509 above in msp

      3. Test

      • implement tool `cryptogen` supporting sm2
      • examples/e2e_cli test

      Attachments

        Issue Links

          Activity

            People

              warm3snow xueyang han
              warm3snow xueyang han
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 4 days
                  4d
                  Remaining:
                  Remaining Estimate - 4 days
                  4d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified