Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.

feat(rtc_types): add enclave_messages, with set_access_key #98

Merged
merged 10 commits into from
Jun 15, 2021

Conversation

PiDelport
Copy link
Collaborator

@PiDelport PiDelport commented Jun 11, 2021

Supporting functionality for issue #37

Precedes PR #87

@PiDelport PiDelport added the feat New feature or request label Jun 11, 2021
@PiDelport PiDelport self-assigned this Jun 11, 2021
@PiDelport PiDelport mentioned this pull request Jun 11, 2021
7 tasks
@PiDelport PiDelport force-pushed the feat-types-enclave-messages branch from cce761b to a5fbec2 Compare June 11, 2021 19:04
Copy link
Collaborator

@longtomjr longtomjr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

Copy link
Contributor

@Nghondzweni Nghondzweni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@PiDelport I see you refactored the set_access_key enclave_mesages code into the ffi_set_access_key module and renamed REQUEST_SIZE to SET_ACCESS_KEY_REQUEST_SIZE. Will all other enclave messages be defined this way? Also does this allow us now to define request sizes without conflicts?

@PiDelport
Copy link
Collaborator Author

@Nghondzweni: Yeah, for now, it looks like we'll have to use this approach to have both generic and non-generic versions of the types, for FFI purposes.

If / when cbindgen gets better support for creating bindings for const generic types, we'll hopefully be able to drop these, but we'll have to follow the upstream issues for that.

@PiDelport PiDelport force-pushed the feat-types-enclave-messages branch from a5fbec2 to 9c50c82 Compare June 15, 2021 11:41
@PiDelport
Copy link
Collaborator Author

(Rebased to refresh.)

@PiDelport PiDelport merged commit 26318d0 into main Jun 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feat New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants