intel / intel-sgx-ssl

Intel® Software Guard Extensions SSL
Other
230 stars 77 forks source link

rsa routines:RSA_padding_check_PKCS1_OAEP_mgf1:oaep decoding error #41

Open zxcwdta opened 5 years ago

zxcwdta commented 5 years ago

Hi there I have encountered a problem where RSA decryption will fail if there is one byte in my cipher text that contains "0x00". I have been testing this for all night and it works fine with another program that utilises native openssl library but not the one that runs inside Enclave using intel-sgx-ssl. The version of openssl I compiled my sgx-ssl library is 1.1.1c

akryeem-INTC commented 5 years ago

Hi, Thanks for reporting this. Can you please give an example of key and cipher that we can use to reproduce the issue? Code snippet that you used?