Implementing Pairing Based Crypto on arduino uno

simsam:
Yes the libraries are pure C, could be please elaborate a little that what do you mean by structured exceptions.

try ... catch

In your case that gets broadened to include Microsoft extensions...
https://www.google.com/search?q=c%2B%2B+structured+exception+handling