ecc source code based on aes