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

Commit

Permalink
docs(uenclave): mention MAX / MIN_OUT_TOKEN_LEN at buffer creation
Browse files Browse the repository at this point in the history
  • Loading branch information
longtomjr committed Jun 22, 2021
1 parent 591975e commit ea6f6e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rtc_uenclave/src/enclaves/rtc_auth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ pub mod ecalls {
payload: &[u8],
metadata: ExecReqMetadata,
) -> Result<EncryptedMessage, EcallError<ExecTokenError>> {
// See MAX / MIN_OUT_TOKEN_LEN in rtc_auth_enclave
let mut out_token_buffer = vec![0u8; 416].into_boxed_slice();
let mut retval = IssueTokenResult::Ok([0u8; 24]);

Expand Down

0 comments on commit ea6f6e9

Please sign in to comment.