[ESP32] How to upload file to a S3 bucket using Arduino

I'm looking for a way to make a PUT request to S3 bucket form the ESP32.

As far as I know, uploading to the s3 bucket requires calculation of sha256 has. I'm able to do this from PC using a curl request but can I do this from my ESP32? For the curl script I've to use openssl for generating those hashes. Is there any possibility a similar thing can be done from the ESP32? Or any other suggestion is welcome.