Implement oblivious index operation#284
Conversation
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
|
This pull request was exported from Phabricator. Differential Revision: D37892641 |
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
|
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. ProcessIn 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 If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks! |
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