Efficient Implementations Of Pairing-Based Cryptography On Embedded Systems