Linear complementary dual (LCD) codes is a class of linear codes introduced by Massey in 1964. LCD codes have been extensively studied in literature recently. In addition to their applications in data storage, communications systems, and consumer electronics, LCD codes have been employed in cryptography. More specifically, it has been shown that LCD codes can also help improve the security of the information processed by sensitive devices, especially against so-called side-channel attacks (SCA) and fault non-invasive attacks. In this paper, we are interested in the construction of particular algebraic geometry (AG) LCD codes which could be good candidates to be resistant against SCA. We firstly provide a construction scheme for obtaining LCD codes from elliptic curves. Then, some explicit LCD codes from elliptic curve are presented. MDS codes are of the most importance in coding theory due to their theoretical significance and practical interests. In this paper, all the constructed LCD codes from elliptic curves are MDS or almost MDS. Some infinite classes of LCD codes from elliptic curves are optimal due to the Griesmer bound. Finally, we introduce a construction mechanism for obtaining LCD codes from any algebraic curve and derive some explicit LCD codes from hyperelliptic curves and Hermitian curves.
Index TermsLinear complementary dual codes, algebraic geometry codes, algebraic curves, elliptic curves, non-special divisors
I. INTRODUCTIONLinear complementary dual (LCD) cyclic codes over finite fields were first introduced and studied by Massey [15] in 1964. In the literature LCD cyclic codes were referred to as reversible cyclic codes. It is well-known that LCD codes are asymptotically good. Furthermore, using the full dimension spectra of linear codes, Sendrier showed that LCD codes meet the asymptotic Gilbert-Varshamov bound [21]. Afterwards, LCD codes have been extensively studied in literature. In particular many properties and constructions of LCD codes have been obtained. Yang and Massey have provided in [24] a necessary and sufficient condition under which a cyclic code have a complementary dual. Dougherty et al. have developed in [6] a linear programming bound on the largest size of a LCD code of given length and minimum distance. Esmaeili and Yari analyzed LCD codes that are quasi-cyclic [7]. Muttoo and Lal constructed a reversible code over F q [18]. Tzeng and Hartmann proved that the minimum distance of a class of reversible cyclic codes is greater than the BCH bound [19]. In [13] Li et al. studied a class of reversible BCH codes proposed in [12] and extended the results on their parameters. As a byproduct, the parameters of some primitive BCH codes have been analyzed. Some of the obtained codes are optimal or have the best known parameters. In [3] Carlet and Guilley investigated an application of LCD codes against side-channel attacks, and presented several constructions of LCD codes. In [5], Ding et al. constructed several families of LCD cyclic codes over finite fields and analyzed their paramet...