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

Implement oblivious index operation #284

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ac-lan
Copy link

@ac-lan ac-lan commented Jul 15, 2022

Summary:
This is needed for the concat function in AsciiString when accessing a character in the AsciiString while the index is secret.

Overloaded the [ ] operator so the index could be a secret Int object. Iterate through the AsciiString and assign the return value to be the current character if we are at the secret index. Return a signed secret Int object.

Differential Revision: D37892641

Summary:
This is needed for the concat function in AsciiString when accessing a character in the AsciiString while the index is secret.

Overloaded the [ ] operator so the index could be a secret Int object. Iterate through the AsciiString and assign the return value to be the current character if we are at the secret index. Return a signed secret Int object.

Differential Revision: D37892641

fbshipit-source-id: 128c531dccd6da5f6df824770da42994158bff01
@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported labels Jul 15, 2022
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D37892641

ac-lan pushed a commit to ac-lan/fbpcf that referenced this pull request Jul 21, 2022
Summary:
Pull Request resolved: facebookresearch#284

This is needed for the concat function in AsciiString when accessing a character in the AsciiString while the index is secret.

Overloaded the [ ] operator so the index could be a secret Int object. Iterate through the AsciiString and assign the return value to be the current character if we are at the secret index. Return a signed secret Int object.

Differential Revision: https://www.internalfb.com/diff/D37892641?entry_point=27

fbshipit-source-id: 0b81990773e5635c2d6c33a945c96410ae863f5a
@facebook-github-bot
Copy link
Contributor

Hi @ac-lan!

Thank you for your pull request.

We require contributors to sign our Contributor License Agreement, and yours needs attention.

You currently have a record in our system, but the CLA is no longer valid, and will need to be resubmitted.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants