Embedded implementation of Edwards curve- and extended Jacobi quartic curve-based cryptosystems