Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BCH code #8

Open
xipki opened this issue Nov 2, 2019 · 0 comments
Open

BCH code #8

xipki opened this issue Nov 2, 2019 · 0 comments

Comments

@xipki
Copy link

xipki commented Nov 2, 2019

The paper https://eprint.iacr.org/2016/930.pdf points me to this repository. I think the OT-based solution described there is implemented here.

I try to find the initialization parameter of the BCH code. It seems that you use m=10 instead 77 as described in Section 2.2.3 "1-out-of-N OT extension': In the remainder of the paper ..., we fix linear BCH code, generated from [50], denoted as a [2^77, 512, 129] code.

The code use m=10 is in ecc.c:

ECC::ECC() {
  bch_ctrl = init_bch(CONFIG_BCH_CONST_M, CONFIG_BCH_CONST_T, 0);
}

And the method init_bch does not allow m greater than 15.

Does I interpret the paper incorrectly? If not, any idea to use m = 77 in your code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant