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 TE public encryption #582

Open
sync-by-unito bot opened this issue Feb 7, 2022 · 2 comments
Open

Implement TE public encryption #582

sync-by-unito bot opened this issue Feb 7, 2022 · 2 comments
Assignees

Comments

@sync-by-unito
Copy link

sync-by-unito bot commented Feb 7, 2022

Implement TE public encryption function of a 128-bit AES key using the current
TE threshold encryption key

{noformat}

string CryptoManager::teEncryptAESKey(ptr<vector<uint8t>> aesKey) {
CHECK
STATE(aesKey)
CHECK
STATE(aesKey->size() == AESKEY
LEN_BYTES);

if \(!isSGXEnabled\) {
    // mockup - dont encrypt
    return Utils::vector2Hex\(*aesKey\);
} else {
    return teEncryptAESKeySgx\(*aesKey\);
}

}

// encrypt 128 bit AES key using the current SGX public . Return a hex encryption string
string CryptoManager::teEncryptAESKeySgx(sharedptr<vector<uint8t>> ) {
return "";
}{noformat}

┆Issue is synchronized with this Jira Task

@sync-by-unito
Copy link
Author

sync-by-unito bot commented Feb 8, 2022

➤ Automation for Jira commented:

Corresponding Pull Request #586

@sync-by-unito sync-by-unito bot closed this as completed Feb 12, 2022
@sync-by-unito
Copy link
Author

sync-by-unito bot commented Feb 17, 2022

➤ Evgeniy Zherdzitskiy commented:

Not include in V2 release. Temporary moved to BLOCKED column

@sync-by-unito sync-by-unito bot reopened this Feb 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant