-
Notifications
You must be signed in to change notification settings - Fork 81
Open
Description
Using EVP_PKEY_decrypt() with an RSA private key leaks approximately 1KB of enclave heap for each call.
A zip file with a simple enclave application that demonstrates the leak is attached. Note line 304 of rsaencryption.c:
// set this to 1, and the leak disappears
#if 0
int result = 1;
#else
int result = EVP_PKEY_decrypt( pkeyCtx, plaintext, &bytesDecrypted, ciphertext, ciphertextLen );
#endif
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels