scieee AI-readable full text Open interactive document viewer

Properties and evaluation of fingerprinting codes

Moreira Sánchez, José

Abstract

The concept of data fingerprinting is of paramount importance in the framework of digital content distribution. This project deals with fingerprinting codes, which are used to prevent dishonest users from redistributing copyrighted material. After introducing some basic notions of coding and fingerprinting theory, the project is divided in two parts. In the first part, we present and analyze some of the main existing fingerprinting codes and we also discuss some new constructions. The study is specifically focused on the estimation of the minimum length of the codes, given the design parameters of the system: number of users to allocate, maximum size of the collusions and probability of identification error. Also, we present some theoretical results about the new code construction studied. Finally, we present several simulations, comparing the different codes and estimating what is the minimum-length code in each region. The second part of the project is devoted to the study of the properties of Reed-Solomon codes in the context of fingerprinting. Codes with the traceability (TA) property are of remarkable significance, since they provide an efficient way to identify traitors. Codes with the identifiable parent property (IPP) are also capable of identifying traitors, requiring less restrictive conditions than the TA codes at the expense of not having an efficient decoding algorithm, in the general case. Other codes that have been widely studied but possess a weaker traitor-tracing capability are the secure frameproof codes (SFP). It is a well-known result that TA implies IPP and IPP implies SFP. The converse is in general false. However, it has been conjectured that for Reed-Solomon codes all three properties are equivalent. In this paper we investigate this equivalence, and provide a positive answer for families of Reed-Solomon codes when the number of traitors divide the size of the code field

Full text

master thesis Properties and evaluation of fingerprinting codes Jos´e Moreira S´anchez Advisor: Marcel Fern´andez Mu˜noz Escola T`ecnica Superior d’Enginyeria de Telecomunicaci´o de Barcelona Universitat Polit`ecnica de Catalunya September 2009 iii Part of this work has been accepted for the First IEEE Workshop on Information Forensics and Security sponsored by the IEEE Signal Processing Society (WIFS09). December 6-9, 2009 - London, United Kingdom [1]. Summary The concept of data fingerprinting is of paramount importance in the framework of digital content distribution. This project deals with fingerprinting codes, which are used to prevent dishonest users from redistributing copyrighted material. After introducing some basic notions of coding and fingerprinting theory, the project is divided in two parts. In the first part, we present and analyze some of the main existing fingerprinting codes and we also discuss some new constructions. The study is specifically focused on the estimation of the minimum length of the codes, given the design parameters of the system: number of users to allocate, maximum size of the collusions and probability of identification error. Also, we present some theoretical results about the new code construction studied. Finally, we present several simulations, comparing the different codes and estimating what is the minimum-length code in each region. The second part of the project is devoted to the study of the properties of Reed-Solomon codes in the context of fingerprinting. Codes with the traceability (TA) property are of remarkable significance, since they provide an efficient way to identify traitors. Codes with the identifiable parent property (IPP) are also capable of identifying traitors, requiring less restrictive conditions than the TA codes at the expense of not having an efficient decoding algorithm, in the general case. Other codes that have been widely studied but possess a weaker traitor-tracing capability are the secure frameproof codes (SFP). It is a well-known result that TA implies IPP and IPP implies SFP. The converse is in general false. However, it has been conjectured that for Reed-Solomon codes all three properties are equivalent. In this paper we investigate this equivalence, and provide a positive answer for families of Reed-Solomon codes when the number of traitors divide the size of the code field. Keywords: Fingerprinting, Traitor Tracing, Identifiable Parent Property, Secure Frameproof Property, Simplex Codes, Boneh-Shaw Codes, Tardos Codes, Barg et al. Codes, Reed-Solomon Codes, Algebraic-Geometric Codes. v Acknowledgements I would like to thank specially my thesis advisor, Marcel Fern´andez for his help and support. Also, I would like to thank my family, friends and workmates in Genaker and ISG-UPC. vii Contents 1 Preface 1 1.1 Notation.............................. 2 2 Preliminaries 5 2.1 Coding theory definitions . . . . . . . . . . . . . . . . . . . . . 6 2.2 Fingerprinting and traceable codes . . . . . . . . . . . . . . . 8 3 Analysis of fingerprinting codes 11 3.1 SFP and simplex codes . . . . . . . . . . . . . . . . . . . . . . 11 3.2 Polynomial concatenation of simplex codes . . . . . . . . . . . 15 3.3 The Boneh-Shaw codes . . . . . . . . . . . . . . . . . . . . . . 18 3.4 TheBargcodes.......................... 21 3.4.1 Reed-Solomon codes as outer codes . . . . . . . . . . . 22 3.4.2 Algebraic-geometric codes as outer codes . . . . . . . . 23 3.5 The Tardos codes . . . . . . . . . . . . . . . . . . . . . . . . . 25 3.6 Structured concatenation of fingerprinting codes . . . . . . . . 27 3.6.1 Reed-Solomon codes as outer codes . . . . . . . . . . . 28 3.6.2 Algebraic-geometric codes as outer codes . . . . . . . . 29 3.7 Simulation results . . . . . . . . . . . . . . . . . . . . . . . . . 33 4 The traceability properties of Reed-Solomon codes 43 4.1 SFP, IPP and TA codes . . . . . . . . . . . . . . . . . . . . . 43 4.2 Equivalence of the traceability properties of Reed-Solomon codes 46 4.3 Example.............................. 50 4.4 Results for other coalition sizes . . . . . . . . . . . . . . . . . 50 5 Conclusion 55 5.1 Futurework............................ 55 Bibliography 57 ix 62. Preliminaries (fingerprint) for each user. If the content is illegally redistributed, the fingerprint can be extracted and identify the dishonest user. Again, the users may try to damage the fingerprint before they redistribute the content. This, however, should not cause much worry to the distributor if the watermarking process is robust. Nevertheless, the fingerprinting scenario is prone to another kind of attack known as collusion attack. As the copies of the content owned by the users contain different fingerprints they are, essentially, different objects. Several users (traitors) may compare their copies and find the locations where they differ. This simple operation reveals where part of the marks are located. Traitors may generate a new copy of the content where these locations are deleted or modified in order not to being caught. This has an additional and more severe problem: the pirate copy generated by the traitors may be very similar or coincide with that of an innocent user. Note that the traitors are unable to detect fingerprint positions where their copies agree. The distributor, with that amount of information, would like to be able to identify at least one of the traitors. Therefore, and assuming that we have robust watermark algorithms, we are interested in the design of sets of fingerprints (fingerprinting codes) who are resistant against collusion attacks. 2.1 Coding theory definitions In this section we present the basic elements of coding theory and fingerprinting that we will be using throughout the project. This, in turn, allow us to introduce some notation and conventions. Given a power of a prime number, 𝑞, we denote the finite field of 𝑞elements by 𝔽𝑞. For any integer 𝑛≥1 we denote the elements of 𝔽𝑛 𝑞in boldface, e.g. a= (𝑎1,...,𝑎𝑛)∈𝔽𝑛 𝑞. As we have just shown, 𝑎𝑖represents the 𝑖th coordinate of the vector a. For any subset 𝐴={a1,a2,...} ⊆ 𝔽𝑛 𝑞, we denote by u(𝐴) and m(𝐴) the sets of the unmatching and matching coordinates of the elements of 𝐴: u(𝐴) = {𝑖:𝑎𝑗,𝑖 ∕=𝑎𝑘,𝑖 for some a𝑗,a𝑘∈𝐴} m(𝐴) = {𝑖:𝑎𝑗,𝑖 =𝑎𝑘,𝑖 for all a𝑗,a𝑘∈𝐴}. The Hamming distance (or simply, the distance) between a,b∈𝔽𝑛 𝑞is defined as d(a,b) = ∣u({a,b})∣, and the similitude between aand bas s(a,b) = ∣m({a,b})∣. It is usual to generalize these two concepts for nonempty subsets 2.1. Coding theory definitions 7 of vectors 𝐴, 𝐵 ⊆𝔽𝑛 𝑞as d(𝐴, 𝐵) = min{d(a,b) : 𝑎∈𝐴, 𝑏 ∈𝐵} s(𝐴, 𝐵) = max{s(a,b) : 𝑎∈𝐴, 𝑏 ∈𝐵}. For the analysis of fingerprinting codes it will also be useful to define the following concept related to the distance between codewords. Definition 2.1.1. Let 𝐴, 𝐵 be two nonempty subsets of 𝔽𝑛 𝑞,𝐴={a1,a2,...}, 𝐵={b1,b2,...}. We define the group separation between 𝐴and 𝐵, D(𝐴, 𝐵), as the number of coordinates where the elements of 𝐴and 𝐵have disjoint elements of 𝔽𝑞, that is D(𝐴, 𝐵) = ∣U(𝐴, 𝐵)∣, where U(𝐴, 𝐵) = {𝑖:{𝑎1,𝑖, 𝑎2,𝑖,...} ∩ {𝑏1,𝑖, 𝑏2,𝑖,...}=∅} is the group unmatching set. The coordinates in U(𝐴, 𝐵) are called separated coordinates, whereas the remaining are called nonseparated coordinates. One can easily verify that the relations d(𝐴, 𝐵) + s(𝐴, 𝐵) = 𝑛and d(𝐴, 𝐵)≥D(𝐴, 𝐵) always hold. Whenever ∣𝐴∣=∣𝐵∣= 1 the last relation is satisfied with equality. An (𝑛, 𝑀, 𝑑)𝑞-block code 𝒞is a nonempty subset of 𝔽𝑛 𝑞of size 𝑀, where 𝑑= min{d(a,b) : a,b∈ 𝒞,a∕=b}is called the minimum distance of the code. We will only deal with block codes, therefore, the adjective block will be omitted henceforth. We refer to the elements of 𝒞as codewords. If 𝒞is a linear 𝑘-dimensional vector space over 𝔽𝑞we say that 𝒞is an [𝑛, 𝑘, 𝑑]𝑞-code. Given two integers 𝑐1and 𝑐2, we denote by 𝐷𝑐1,𝑐2the smallest of the D(𝐴, 𝐵) between disjoint sets 𝐴, 𝐵 of an (𝑛, 𝑀, 𝑑)𝑞-code with ∣𝐴∣=𝑐1and ∣𝐵∣=𝑐2. Clearly, 𝐷1,1is the minimum distance of the code, 𝑑. The value 𝐷𝑐1,𝑐2is called the (𝑐1, 𝑐2)-group separation of the code. For 𝐴and 𝐵disjoint, we will say that they form a (𝑐1, 𝑐2)-nonseparated configuration whenever they satisfy D(𝐴, 𝐵) = 0. Finally, we define the concept of code concatenation, which will be exploded throughout the project. Definition 2.1.2. Given an (𝑛𝑜, 𝑀, 𝑑𝑜)𝑞-code 𝒞𝑜(called outer code) and an (𝑛𝑖, 𝑞, 𝑑𝑖)𝑞𝑖-code 𝒞𝑖(called inner code) we denote by 𝒞𝑜∘𝒞𝑖the (𝑛𝑜𝑛𝑖, 𝑀, 𝑑𝑜𝑑𝑖)𝑞𝑖code 𝒞constructed as 𝒞={(𝜙1(𝑢1)∥⋅⋅⋅∥𝜙𝑛𝑜(𝑢𝑛𝑜)) : u= (𝑢1,...,𝑢𝑛𝑜)∈ 𝒞𝑜}, where 𝜙𝑗is a bijective mapping 𝜙𝑗:𝔽𝑞→ 𝒞𝑖and ∥denotes the concatenation of codewords. We say that 𝒞is the concatenated code of 𝒞𝑜and 𝒞𝑖. 82. Preliminaries In other words, to construct a codeword of 𝒞=𝒞𝑜∘ 𝒞𝑖, we choose a codeword of 𝒞𝑜,u, and for every coordinate 𝑗we replace 𝑢𝑗by the value 𝜙𝑗(𝑢𝑗). The corresponding codeword of 𝒞is the concatenation of the 𝜙𝑗(𝑢𝑗)’s. It is easy to see that 𝒞has length 𝑛𝑜𝑛𝑖, size 𝑀and minimum distance 𝑑𝑜𝑑𝑖. If 𝒞𝑜and 𝒞𝑖are [𝑛𝑜, 𝑘𝑜, 𝑑𝑜]𝑞and [𝑛𝑖, 𝑘𝑖, 𝑑𝑖]𝑞𝑖-codes respectively, the code 𝒞has dimension 𝑘=𝑘𝑜𝑘𝑖. 2.2 Fingerprinting and traceable codes Assume that a distributor is applying the fingerprinting technique, i.e. the copies of some content are being watermarked with a fingerprinting code 𝒞, and each fingerprint u𝑖∈ 𝒞 is assigned to a user. We will make no distinction between users and their corresponding fingerprints. Considering that a set of 𝑐traitors 𝐶={t1,...,t𝑐}collude and construct a pirate object, we are interested in the properties of the pirate fingerprint xproduced by them. Definition 2.2.1. Given an (𝑛, 𝑀, 𝑑)𝑞-fingerprinting code 𝒞, the envelope of 𝐶⊆ 𝒞, denoted by 𝔈(𝐶), is the set of pirate fingerprints that can be produced by the codewords in 𝐶in a collusion attack. We denote by 𝔈𝑐(𝒞) the set of all the pirate fingerprints that can be generated by coalitions of size at most 𝑐: 𝔈𝑐(𝒞) = ∪ 𝐶⊆𝒞 ∣𝐶∣≤𝑐 𝔈(𝐶). Obviously, each x∈𝔈(𝐶) must be equal to each t𝑖∈𝐶in the set of matching coordinates, m(𝐶). This is known as the marking assumption. For the coordinates in u(𝐶), several models can be defined: ∙The narrow-sense envelope model: the symbol at each position of the pirate fingerprint can only be one of the symbols that the traitors have at that position: 𝔈(𝐶) = {x∈𝔽𝑛 𝑞:𝑥𝑗∈ {𝑡1,𝑗,...,𝑡𝑐,𝑗}}. ∙The wide-sense envelope model: the traitors can put an arbitrary element of 𝔽𝑞in the coordinates in u(𝐶): 𝔈(𝐶) = {x∈𝔽𝑛 𝑞:𝑥𝑗=𝑡1,𝑗 for 𝑗∈m(𝐶)}. ∙The expanded narrow-sense envelope model: the traitors can either put one of the symbols that the traitors have at that position or make it 2.2. Fingerprinting and traceable codes 9 unreadable. This is denoted by ∗, an erasure symbol: 𝔈(𝐶) = {x∈(𝔽𝑞∪{∗})𝑛:𝑥𝑗=𝑡1,𝑗 for 𝑗∈m(𝐶) and 𝑥𝑗∈ {∗, 𝑡1,𝑗,...,𝑡𝑐,𝑗}for 𝑗∈u(𝐶)}. ∙The expanded wide-sense envelope model: the traitors can put an arbitrary element of 𝔽𝑞∪{∗} in the coordinates in u(𝐶): 𝔈(𝐶) = {x∈(𝔽𝑞∪{∗})𝑛:𝑥𝑗=𝑡1,𝑗 for 𝑗∈m(𝐶)}. Definition 2.2.2. Given a fingerprinting code 𝒞, a 𝜎-strategy for a set of traitors, 𝐶⊆ 𝒞, is a randomized or deterministic algorithm that takes as input 𝐶and outputs a pirate codeword x=𝜎(𝐶)∈𝔈(𝐶) The presented scenarios are discussed in more detail in [5]. Intuitively, the wide-sense envelopes lead to more sophisticated 𝜎-strategies than the narrow-sense envelopes. The same is valid for non-expanded versus expanded envelopes. An important remark is that, as we are interested in the case of digital content distribution, we are interested in fingerprinting codes over 𝔽2. In this case the four models are equivalent in terms of traitor tracing. What is more, for binary codes it is detrimental for the traitors to use ∗, since it gives the distributor more information that merely inserting 0 or 1 in a detectable position. Definition 2.2.3. Consider the narrow-sense envelope model. Then, an (𝑛, 𝑀, 𝑑)𝑞-fingerprinting code 𝒞may have the following properties: ∙The code 𝒞has the (𝑐1, 𝑐2)-secure frameproof property (SFP) if its group separation satisfies 𝐷𝑐1,𝑐2>0. In other words, for any 𝐶1, 𝐶2⊆ 𝒞 with ∣𝐶1∣=𝑐1and 𝐶2=𝑐2it holds that 𝐶1∩𝐶2=∅ ⇒ 𝔈(𝐶1)∩𝔈(𝐶2) = ∅. ∙The code 𝒞has the 𝑐-identifiable parent property (IPP) if for any x∈ 𝔽𝑛 𝑞either x∕∈ 𝔈𝑐(𝒞) or the intersection of all the coalitions capable of generating xis not empty, ∩ 𝐶⊆𝒞,∣𝐶∣≤𝑐 x∈𝔈(𝐶) 𝐶∕=∅. ∙The code has the 𝑐-traceability (TA) property if for any 𝐶⊆ 𝒞 with ∣𝐶∣=𝑐and x∈𝔈(𝐶), there exists some t∈𝐶such that d(x,t)< d(x,y), for any y∈ 𝒞 ∖𝐶. 10 2. Preliminaries The ideas under the previous definitions are the following. If a code has the (1, 𝑐)-SFP property,1then, no coalition of size at most 𝑐will be able to generate the fingerprint of any user. However, they may generate a pirate codeword xand claim that it was generated by another 𝑐-coalition. With an (𝑐, 𝑐)-SFP code [3, 6] they would not be able to accuse a completely disjoint coalition. Anyways, this does not guarantee that some traitor may be caught. If the fingerprints belong to a 𝑐-IPP code [7, 8] then, one can ensure that, at least, one traitor will be caught: if a codeword belongs to the intersection of all the coalitions that can generate a pirate codeword, in particular, it belongs to the coalition that actually generated it. Regarding 𝑐-TA codes [9, 3], they offer the same level of security than 𝑐-IPP codes, with the additional benefit that some traitor can be identified efficiently, as it is the closest codeword to x. The following relations are well-known results [3]: 𝑐-TA ⇒𝑐-IPP ⇒(𝑐, 𝑐)-SFP.(2.1) What is more, for any (𝑛, 𝑀, 𝑑)𝑞-code 𝑑 > 𝑛(1 −1/𝑐2)⇒𝑐-TA.(2.2) Definition 2.2.4. We say that a fingerprinting code 𝒞(under any envelope model), with identification algorithm 𝜌, is 𝑐-secure with error 𝜖if for any set of traitors 𝐶⊆ 𝒞, with ∣𝐶∣ ≤ 𝑐, using any 𝜎-strategy the probability that either no traitor is caught or some innocent user is accused is less than 𝜖, i.e. 𝑃(𝜌(𝜎(𝐶)) = ∅∨𝜌(𝜎(𝐶)) ∩𝒞 ∖𝐶∕=∅)< 𝜖. Note that 𝑐-IPP and 𝑐-TA codes can be viewed as 𝑐-secure fingerprinting codes with 0 error.2One may think that they represent the solution to the fingerprinting problem. However, these codes have two drawbacks: they are restricted to the narrow-case scenario and the size of the field limits severely their collusion-resistant properties. Lemma 2.2.5 ([3]).For any (𝑛, 𝑀, 𝑑)𝑞-fingerprinting code with the 𝑐-IPP property 𝑐 < 𝑞. As we have commented previously, we are mainly interested in the distribution of digital contents, therefore the codes that we use must be binary. Unfortunately, the previous lemma states that there are not IPP or TA codes (i.e. zero-error codes) over 𝔽2. In the following sections we are devoted to the study of binary fingerprinting codes with error 𝜖 > 0. We will show how concatenated constructions based on TA codes provide interesting tools for the construction of such codes. 1Codes with the (1, 𝑐)-SFP property are usually called 𝑐-frameproof (FP) codes. 2Some authors reserve name of fingerprinting codes solely for (binary) 𝑐-secure fingerprinting codes with error 𝜖. They classify IPP and TA codes as traceable codes. 3 Analysis of fingerprinting codes This part of the project is focused on the study of the main binary fingerprinting code families existing in the literature. Our goal is to determine or estimate their length given the following design parameters: the number of users to allocate in the system, 𝑀, the maximum size of the collusions, 𝑐, and the allowed identification error probability, 𝜖. For some of the codes the value of the length follows easily from their definition. For the others, we propose methods to estimate it. Also, an analysis and some results related to a new family of codes are presented. We conclude this part with the simulation results showing the regions where the codes have minimum length. 3.1 SFP and simplex codes SFP codes have been introduced in section 2.2. They have been studied under the name of separating codes in the context of automata: two systems which transit simultaneously from state 𝑎to 𝑎′and from 𝑏to 𝑏′respectively should be forbidden to pass through a common intermediate state. A state is described as an 𝑛-bit array, and transiting from the initial state to the final state can only be done through intermediate states by flipping one bit at a time, where the current and the final states differ. Recall that with a (𝑐1, 𝑐2)-SFP code 𝒞, a size-𝑐1coalition 𝐶⊆ 𝒞 cannot create a pirate codeword which incriminates a disjoint subset of, at most, 𝑐2 users. We will be mainly interested in SFP codes with 𝑐1=𝑐2=𝑐. Whenever 𝑐1∕=𝑐2we can obtain a (𝑐, 𝑐)-SFP code taking 𝑐= min{𝑐1, 𝑐2}, provided that 𝑐≥2. SFP codes are not very attractive in a fingerprinting scenario. Given a size-𝑐coalition 𝐶and a pirate codeword x⊆𝔈(𝐶) the only statement that we can make is that the intersection between sets capable of generating xis 11 12 3. Analysis of fingerprinting codes nonempty. In other words if 𝐶′is any size-𝑐coalition capable of generating x, all we can say with certainty is that it contains one true traitor, which henceforth implies a high false accusation error probability. Lemma 3.1.1. A (𝑐, 𝑐)-SFP code 𝒞has an identification error probability 𝜖 < 1−1/𝑡. Proof. Assume that the size-𝑐coalition 𝐶1⊆ 𝒞 creates the pirate fingerprint x=𝜎(𝐶1)⊆𝔈(𝐶1). Now, we propose the following tracing algorithm 𝜌. Consider all the size-𝑐coalitions 𝐶𝑗∈ 𝒞, 𝑗 = 1,...,𝑚 such that x∈𝔈(𝐶𝑗). Choose a codeword awhich belongs to the maximum number of 𝐶𝑗’s (ties are broken randomly) and accuse aas a pirate. As abelongs to the maximum number of 𝐶𝑗’s, say 𝑖, and because all the 𝐶𝑗must intersect each other, then, 𝑚≤𝑖+ (𝑡−1)(𝑖−1). Therefore, 𝑃(a∈𝐶1) = 𝑖 𝑖+ (𝑡−1)(𝑖−1) >1 𝑡, which implies 𝜖 < 1−1/𝑡. Note that a more accurate approximation of the identification error probability in lemma 3.1.1 can be improved after knowing the maximum value of the intersection in the first stage of the proposed decoding method. In [5] an alternative decoding method is proposed which is somewhat weaker than this result. There, they construct digital fingerprinting codes based on SFP codes, where the concatenation of Reed-Solomon and algebraic-geometric codes strengthen the poor tracing properties of the SFP codes. We will later discuss such codes. Besides that, SFP codes present additional drawbacks. Little is known about how to construct and decode SFP codes, except maybe for the wellknown binary simplex code. What is more, the rate 𝜅of binary SFP codes vanishes dramatically as 𝑐increases. Proposition 3.1.2 ([5]).There exist binary (𝑐1, 𝑐2)-SFP codes of size 𝑀 and length 𝑛≤(log2𝑀+ 1)(𝑐1+𝑐2−1) −log2(1 −2−𝑐1−𝑐2+1), i.e. of rate 𝜅≥ −log2(1 −2−(𝑐1+𝑐2−1)) 𝑐1+𝑐2−1−1 𝑀≃ −log2(1 −2−(𝑐1+𝑐2−1)) 𝑐1+𝑐2−1.(3.1) 3.1. SFP and simplex codes 13 If 𝑐1=𝑐2=𝑐, for 𝑀fixed and 𝑐increasing we have that the length of SFP codes increases as 𝑛= Ω(22𝑐𝑐log 𝑀). The proof of proposition 3.1.2 is based on an exhaustive search of random codes of size 𝑛and, therefore, the time complexity for generating such a code is 𝑂(2𝑀22𝑐𝑐log 𝑀). Algorithm 3.1 improves somewhat the running time of the code generation of a binary SFP code. In this case, the algorithm performs a search over all the possible pairs of disjoint subsets, i.e. in (𝑀 𝑐1)(𝑀−𝑐1 𝑐2) subsets. For 𝑐1=𝑐2=𝑐, the running time of the algorithm is 𝑂(𝑀2𝑐) at the expense of having a length of order Ω(𝑀2𝑐). Algorithm 3.1 Simple generation of a binary (𝑐1, 𝑐2)-SFP code. Input: Three integers 𝑀≥1, 𝑐1, 𝑐2≤𝑀/2. Output: A binary (𝑐, 𝑐)-SFP code 𝒞of size 𝑀. 𝑘← ⌈log2𝑀⌉ 𝒞 ← 𝐶, where 𝐶⊆𝔽𝑘 2and ∣𝐶∣=𝑀. for all 𝐴⊆ 𝒞 with ∣𝐴∣=𝑐1do for all 𝐵⊆ 𝒞 ∖𝐴with ∣𝐵∣=𝑐2do if D(𝐴, 𝐵) = 0 then for all a ∈𝐴do a←a∥(1) end for for all x ∈ 𝒞 ∖𝐴do x←x∥(0) end for end if end for end for return 𝒞 As mentioned before, a notable exception among the SFP codes are the binary simplex codes. They are defined as follows. Definition 3.1.3. The simplex code of parameter 𝑘over 𝔽𝑞,𝒮𝑞(𝑘), is the code which has a generator matrix 𝐺constructed as the concatenation of 𝑛= (𝑞𝑘−1)/(𝑞−1) columns that are pairwise linearly independent vectors of 𝔽𝑘 𝑞. 14 3. Analysis of fingerprinting codes Example 3.1.4. The simplex code of parameter 𝑘= 3 over 𝔽3,𝒮3(3), is the code generated by 𝐺=⎛ ⎝ 0000111111111 0111000111222 1012012012012⎞ ⎠. Observe that the 𝑛required pairwise linearly independent vectors of 𝔽𝑘 𝑞can always be found, e.g. by choosing all the non-zero vectors with the leftmost non-zero coordinate equal to 1. Proposition 3.1.5. The simplex code 𝒮𝑞(𝑘) satisfies: ∙It is an [𝑛, 𝑘, 𝑞𝑘−1]𝑞-code, with 𝑛= (𝑞𝑘−1)/(𝑞−1). ∙It meets the Griesmer bound. Therefore it is a linear code with the lowest possible length 𝑛for a given dimension 𝑘and distance 𝑞𝑘−1. ∙It is a constant-weight equidistant code. ∙It is the dual of a Hamming code. Now let us focus on the traceability properties of binary simplex codes. Corollary 3.1.6 ([10]).If 𝒞 ⊆ 𝔽𝑞is (𝑐1, 𝑐2)-SFP, then, max{𝑐1, 𝑐2} ≤ 𝑞. Corollary 3.1.7 ([10]).All linear, equidistant codes are (2,2)-SFP. The two previous corollaries imply that the binary simplex codes are (2,2)-SFP, and no better results can be achieved for linear equidistant codes. Simplex codes present several advantages over generic SFP codes: they are linear and they need not be stored, there exist polytime decoding algorithms and, unlike generic (2,2)-SFP codes, they have a remarkable small identification error probability. Any 2 colluding users of a simplex code can not generate a pirate codeword at a distance greater than 𝑑/2 [11]. Note that this radius is one unit greater than the error-correcting capacity of the code. Therefore, the appropriate decoding algorithm in this case consists of performing a list-decoding in a 𝑑/2 = 2𝑟−2radius. Using this decoding algorithm, we have the following result. Proposition 3.1.8. According to the 𝜎-strategy chosen by a set of traitors, 𝐶={t1,t2}the binary simplex code 𝒮2(𝑘), with 𝑑= 2𝑘−1, has the following identification error probability 𝜖using a radius-𝑑/2 list-decoding algorithm: ∙𝜎1-strategy: the pirate fingerprint xis chosen at random from 𝔈(𝐶), then 𝜖≤2𝑘−𝑑. 3.2. Polynomial concatenation of simplex codes 15 ∙𝜎2-strategy: xis chosen at random from {x𝑗:x𝑗∈𝔈(𝐶)∧d(t1,x) = d(t2,x) = 𝑑/2}, then 𝜖≤2𝑘/(𝑑 𝑑/2). ∙𝜎3-strategy: xis chosen at random from {x𝑗:x𝑗∈𝔈(𝐶)∧d(t1,x) = d(t2,x) = w𝑈(x) = 𝑑/2}, where 𝑈= u(t1,t2), then 𝜖≤2𝑘/(𝑑/2 𝑑/4). The idea of the proof of proposition 3.1.8 is that on a (2,2)-SFP code 𝒞 there are only three possible parent configurations for any x∈𝔈(𝒞). Assume that 𝐶𝑖, 𝑖 ≥1 are subsets of size 2 of 𝒞such that x∈𝔈(𝐶𝑖). Then, the 𝐶𝑖’s must form one of the following configurations: ∙Star configuration: all the 𝐶𝑖’s intersects in a common element. ∙Degenerated star configuration: there exists only one 𝐶𝑖. ∙Triangle configuration: there only exist three 𝐶𝑖such that 𝐶1={a,b}, 𝐶2={b,c}and 𝐶3={c,a}. One can accuse at least one traitor if the pirate codeword generates a star or a degenerated star configuration. Therefore 𝜖is a bound on the generation of a triangle configuration. Unfortunately, given any nonzero codewords of 𝒮2(𝑘) it is possible to generate deterministically a triangle configuration. This invalidates the use of simplex codes for fingerprinting. However, it can still be used as an inner code in a concatenated construction provided that the resulting code has highly mixed coordinates. A complete discussion of this issues can be found in [11]. As the simplex code is just parameterized just by its dimension, given the design parameters 𝑀, 𝑐 = 2, 𝜖, the minimum length of the simplex code, 𝑂(𝑀), can be computed as the length of that code with size and identification error probability satisfying the requirements. For 𝑘= 30 we can allocate 𝑀= 1,07 ⋅109users and the greatest identification error probability of proposition 3.1 is 𝜖≃0, which are reasonable values. 3.2 Polynomial concatenation of simplex codes In a paper by M. Fern´andez and M. Soriano [4] a 2-secure with error 𝜖 fingerprinting code was presented. It is a binary linear concatenated code based on simplex codes and it is determined by two parameters, 𝑛𝑜and 𝑘𝑖, namely, the size of the outer code and the dimension of the inner code, respectively. First we need the following definition. 22 3. Analysis of fingerprinting codes Definition 3.4.1. Let 𝒞𝑜be linear [𝑛𝑜, 𝑘𝑜, 𝑑𝑜=𝛿𝑜𝑛𝑜]𝑞-code with 𝛿𝑜>1−1 𝑐2+𝑐−1 𝑐(𝑞−1), and 𝒞𝑖be a size-𝑞code with the (𝑐, 𝑐)-SFP property. The Barg code ℬ(𝑞, 𝑛𝑜, 𝑘𝑜) is defined as the concatenated code 𝒞𝑜∘𝒞𝑖. Theorem 3.4.2 ([5]).The code ℬ(𝑞, 𝑛𝑜, 𝑘𝑜) using 𝒞𝑖as the inner code and 𝒞𝑜as the outer code is a 𝑐-secure fingerprinting code of length 𝑛=𝑛𝑜𝑛𝑖with 𝑀=𝑞𝑘𝑜codewords and identification error probability 𝜖≤2−𝑛𝜅𝑖((log2𝑞)−1D(𝜎∥𝑐−1 𝑞−1)−𝜅𝑜).(3.5) Here 𝜎= 1/𝑐 −(1 −𝛿𝑜)𝑐and 𝜅𝑜=𝑘𝑜/𝑛𝑜,𝜅𝑖=𝑘𝑖/𝑛𝑖are the rate of the outer and the inner code, respectively and D(𝜎∥𝑝) is the Kullback-Leibler divergence, D(𝜎∥𝜖) = 𝜎log2(𝜎/𝜖) + (1 −𝜎) log2((1 −𝜎)/(1 −𝜖)). In order to guarantee security against size-𝑐coalitions, the mappings used in the concatenation, 𝜙𝑖:𝔽𝑞→ 𝒞𝑖, for 𝑖= 1,...,𝑛𝑜, must be chosen at random. We now show the two purposed implementations and how their length can be computed. 3.4.1 Reed-Solomon codes as outer codes The first construction is based on extended Reed-Solomon codes over a large alphabet. Take as inner code 𝒞𝑖a (𝑐, 𝑐)-SFP code of size 𝑞and rate 𝜅𝑖. Next, choose an extended Reed-Solomon code ℰℛ𝒮𝑞(𝑘𝑜) as outer code 𝒞𝑜. Now note that, for sufficiently large 𝑞, the following approximation can be made: D(𝜎    𝑐−1 𝑞−1)=𝜎log2(𝜎(𝑞−1) 𝑡−1)+ (1 −𝜎) log2⎛ ⎝1−𝜎 (1−𝑡−1 𝑞−1)⎞ ⎠≈ 𝜎log2(𝜎(𝑞−1) 𝑡−1)=𝜎(log2𝜎+ log2(𝑞−1) + log2(𝑡−1)) ≈𝜎log2𝑞. (3.6) As ℰℛ𝒮𝑞(𝑘𝑜) meets the Singleton bound, and because 𝑞is large, its rate and normalized minimum distance satisfy 1−𝛿𝑜=𝜅𝑜+𝑜(1). This, together with (3.6), implies that the identification error probability of (3.5) can be approximated by 𝜖≤2−𝑛(𝑐−1𝜅𝑖−(𝑐+1)𝜅+𝑜(1)),(3.7) 3.4. The Barg codes 23 where 𝜅=𝜅𝑖𝜅𝑜denotes the rate of the concatenated code. The code will exist provided that the exponent in the previous equation is negative, that is, the rate of the outer code must satisfy 𝜅𝑜<1/𝑐(𝑐+ 1), and the total rate 𝜅 < 𝜅𝑖 𝑐(𝑐+ 1).(3.8) Now, let us estimate the code length of the previous construction given the design parameters 𝑀, 𝑐, 𝜖. First, note that the rate of the inner code 𝜅𝑖 can be computed according to (3.1), hence, it does not depend on 𝑀nor 𝜖. Ignoring the term 𝑜(1)3in (3.7) and combining (3.8) with 𝑀= 2𝑛𝜅 we obtain log2𝑀 𝑛≤𝜅 < 𝜅𝑖 𝑐(𝑐+ 1). From (3.7) we obtain 𝑛≥−log2𝜖 𝜅𝑖/𝑐 −(𝑐+ 1)𝜅, and therefore an estimation of the minimum length of the code ℰℛ𝒮𝑞(𝑘𝑖)∘𝒞𝑖 for SFP inner codes, according to (3.1), is 𝑛≥2𝑐(𝑐−1)−log2𝜖+ (𝑐+ 1) log2𝑀 −log2(1 −2−(2𝑐−1)).(3.9) That is, the code has a length of order Ω(max{22𝑐𝑐2log 1 𝜖,22𝑐𝑐3log 𝑀}). 3.4.2 Algebraic-geometric codes as outer codes The second construction is based on outer algebraic-geometric codes approaching the Tsfasman-Vlˇadut¸-Zink (TVZ) bound. It is well-known [16] the existence of families of [𝑛𝑜, 𝑘𝑜, 𝑑𝑜]𝑞algebraic-geometric codes over a finite field 𝔽𝑞whose parameters asymptotically approach the bound 𝑘𝑜+𝑑𝑜≥𝑛𝑜−𝑛𝑜/(√𝑞−1),(3.10) which can be restated as 𝜅𝑜+𝛿𝑜= 1 −1 √𝑞−1. As a consequence, 𝜎is of the form 𝜎=1 𝑐−𝑐(𝜅𝑜−1 √𝑞−1). Note that the code will exist if 1 𝑐−𝑐(𝜅𝑜−1 √𝑞−1)>𝑡−1 𝑞−1. 3This term is actually 1/𝑞. 24 3. Analysis of fingerprinting codes This condition can be rewritten as 𝜅𝑜< 𝐴, where 𝐴=1 𝑐−𝑐−1 𝑐(𝑞−1) +1 √𝑞−1.(3.11) The value 𝐴is always positive. This is implied by the fact that 𝑐−1+𝑐2√𝑞+ 𝑞 > 0, which is a trivial condition. Another necessary condition to guarantee the existence of the code, according to (3.5), is 𝑓(𝜅𝑜)>0, where 𝑓(𝑥) = (log2𝑞)−1D(1 𝑐−𝑐(𝑥−1 √𝑞−1)    𝑐−1 𝑞−1)−𝑥. It is easy to see that 𝑓(𝑥) is a monotonically decreasing function of 𝑥with a root, namely 𝜅max 𝑜, in the interval 0 < 𝑥 < 𝐴. The code will exists for any 𝜅𝑜< 𝜅max 𝑜. We omit here the proof because a similar proof will be presented later. Now, let us compute the length of the Barg code when using an outer algebraic-geometric code. Given the same design parameters, 𝑀, 𝑐 and 𝜖, and a set of possible values for 𝑞, we proceed as follows. 1. Compute 𝜅𝑖, which only depends on 𝑐. 2. For a given value of 𝑞: (a) Compute the value 𝐴(𝑞) according to (3.11). (b) Find the value 𝜅max 𝑜performing a search in the interval 0 < 𝜅max 𝑜< 𝐴(𝑞). This can be done numerically. (c) For every 0 < 𝜅𝑜< 𝜅max 𝑜compute 𝑛(𝜅𝑜, 𝑞) = max{𝑛1, 𝑛2}, where 𝑛1= log2(𝑀)/(𝜅𝑖𝜅𝑜) 𝑛2=−log2(𝜖)/(𝜅𝑖((log2𝑞)−1D(𝜎∥𝑐−1 𝑞−1)−𝜅𝑜)). This ensures that the code meets the requirements. Compute the value 𝑛(𝑞) = min{𝑛(𝜅𝑜, 𝑞) : 0 < 𝜅𝑜< 𝐴(𝑞)}. 3. Repeat the procedure until all the plausible values of 𝑞have been tested and return 𝑛, the minimum value of the 𝑛(𝑞)’s, as the code length. Note that, the value 𝑛(𝜅𝑜, 𝑞) is the minimum length such that both the code size and the identification error probability satisfy the requirements. Therefore, the procedure consists in finding the minimum value of the 𝑛(𝜅𝑜, 𝑞)’s. 3.5. The Tardos codes 25 0 0.01 0.02 0.03 0.04 0.05 0.06 0 2 4 6 8 10 12 x 107 κo n=nino Figure 3.1: Plot of the length of ℬAG(𝑀, 𝑐, 𝜖, 𝑞) versus 𝜅𝑜 As an example, in figure 3.1 there is a plot of 𝑛(𝜅𝑜, 𝑞) for 𝑀= 106, 𝑐 = 5, 𝜖 = 10−15 and 𝑞= 500. The minimum length occurs approximately at 0.038 and the minimum achieved code length is 𝑛= 1.6834 ⋅106. We denote by ℬRS(𝑀, 𝑐, 𝜖) and ℬAG(𝑀, 𝑐, 𝜖) the 𝑐-secure with error 𝜖Barg codes of size 𝑀, for outer extended Reed-Solomon and algebraic-geometric codes. The decoding of the Barg codes is performed in a two step-process: first, decoding the inner codes and then, using the list-decoding Guruswami-Sudan [17] decoding algorithm. The algorithm based in a similar idea to that presented for the polynomial concatenated simplex codes. 3.5 The Tardos codes The original Tardos code was presented in [18]. Currently it is the code with the best-known asymptotic length. In fact, the Tardos code mets the following bound. Proposition 3.5.1 ([18]).Any (𝑛, 𝑀, 𝑑)𝑐-secure code with error 𝜖satisfies 𝑛= Ω(𝑐2log(1/𝜖)). Definition 3.5.2. Let 𝑀, 𝑐 be positive integers with 𝑐≤𝑀and 0 < 𝜖 < 1. The Tardos code of parameters 𝑀, 𝑐, 𝜖,𝒯(𝑀, 𝑐, 𝜖), is a 𝑐-secure fingerprinting 26 3. Analysis of fingerprinting codes code with error 𝜖and length 𝑛= 100𝑐2⌈log(𝑀/𝜖)⌉, where every codeword u= (𝑢1,...,𝑢𝑛)∈ 𝒯(𝑀, 𝑐, 𝜖) is such that 𝑃(𝑢𝑖= 1) = 𝑝𝑖, and every 𝑝𝑖,1≤ 𝑖≤𝑛, is independently distributed according to the following probability density function: 𝑓𝑝𝑖(𝑝) = 1 𝜋−4 arcsin(√𝑐) 1 √𝑝(1 −𝑝),with 𝑡=1 300𝑐. In the original paper, it is set a value of 𝐿= 100 as a multiplicative constant term in the length of the code. However, many researchers found this constant not accurate. Better known approximations are, for instance, 𝐿= 4𝜋2[19], 𝐿= 38 [20]. Other works propose more practical implementations of the Tardos code [21]. Because of its random nature, the decoding of the Tardos code is almost a “brute force” process, i.e. the code must perform a search over all the codewords in 𝒯(𝑀, 𝑐, 𝜖). Algorithm 3.4 is the decoding algorithm for this code. Algorithm 3.4 Tracing algorithm for the 𝒯(𝑀, 𝑐, 𝜖) code. Input: The 𝒯(𝑀, 𝑐, 𝜖) code and a pirate codeword xgenerated by any coalition of traitors. Output: A list of traitors capable of generating the codeword xwith identification error probability 𝜖. Arrange the 𝑀codewords u1,...,u𝑀in an 𝑀×𝑛matrix where the 𝑗th row is the codeword u𝑗. Compute the 𝑀×𝑛matrix 𝑈as 𝑈𝑗,𝑖 =⎧ ⎨ ⎩√1−𝑝𝑖 𝑝𝑖if 𝑢𝑗,𝑖 = 1 −√𝑝𝑖 1−𝑝𝑖if 𝑢𝑗,𝑖 = 0. 𝑍←20𝑐⌈log(𝑀/𝜖)⌉ 𝐶← ∅ for all u𝑖∈ 𝒯(𝑀, 𝑐, 𝜖)do if ∑𝑛 𝑖=1 𝑥𝑖𝑈𝑗,𝑖 > 𝑍 then 𝐶←𝐶∪{u𝑗}. end if end for return 𝐶 3.6. Structured concatenation of fingerprinting codes 27 3.6 Structured concatenation of fingerprinting codes We have already discussed in previous sections constructions based on concatenation. Here we discuss a new family of codes proposed by J. Cotrina and M. Fern´andez in [2]. As mentioned earlier, TA codes and 𝑐-IPP codes can be viewed (under the narrow-case model) as 𝑐-secure fingerprinting codes with null error. What is more, TA codes posses and efficient decoding algorithm. Recall from (2.2) that a code with 𝑑 > 𝑛(1 −1/𝑐2) (3.12) is 𝑐-TA (and hence, 𝑐-IPP). Therefore, one may try to find a binary code satisfying (2.2). Unfortunately, for the binary case, we have that not only such codes do not exist, but no binary IPP code do exists. Corollary 3.6.1. Any (𝑛, 𝑀, 𝑑)𝑞-code 𝒞over 𝔽𝑞with 𝑑 > 𝑛(1−1/𝑐2) satisfies that 𝑐 < 𝑞. Proof. The proof is immediate, since 𝑑 > 𝑛(1 −1/𝑐2)⇒𝑐-TA ⇒𝑐-IPP ⇒ 𝑐 < 𝑞, where the last assertion is due to lemma 2.2.5. As commented earlier, the field size limits considerably the traceability properties in the narrow-case scenario. Therefore concatenated outer TA codes with inner binary codes cannot be used for our purposes. The idea proposed in [2] consists of concatenating an outer 𝑐-TA code 𝒞𝑜satisfying (3.12) with an inner binary 𝑐-secure fingerprinting code with error 𝜖. Obviously, after decoding the inner code, we will have an average of 𝑛𝑜𝜖𝑖errors in the outer code, and the selected value of 𝑑𝑜may not be higher enough. The solution to this problem consists of adding an additional term that depends on 𝜖𝑖to the value of 𝑑𝑜in (3.12). Theorem 3.6.2 ([2]).Let 𝒞𝑜be an (𝑛𝑜, 𝑀, 𝑑𝑜)𝑞-code. Let 𝒞𝑖be an (𝑛𝑖, 𝑞, 𝑑𝑖)- binary 𝑐-secure fingerprinting code with 𝜖𝑖error. Then, for any 𝜖𝑖< 𝜎 < 1/(𝑐+ 1), the concatenated code 𝒞=𝒞𝑜∘ 𝒞𝑖is a binary 𝑐-secure fingerprinting code with exponentially decreasing identification error probability 𝜖= exp(−Ω(𝑛𝑜)) for 𝑀users if 𝑑𝑜> 𝑛𝑜(1−1 𝑐2+𝜎(𝑐+ 1) 𝑐2).(3.13) 28 3. Analysis of fingerprinting codes The proof of the theorem, as well as in the case of the Barg codes, is based on the well-known Chernoff bound: 𝑃(𝑛𝑜 ∑ 𝑖=1 𝜉𝑖≥𝑛𝑜𝜎)≤2−𝑛𝑜D(𝜎∥𝜖𝑖), where 𝜉𝑖are independent Bernoully random variables equal to 1 with probability 𝜖𝑖and 0 with probability 1 −𝜖𝑖. Using this result, the identification error probability of the concatenated code can be bounded by 𝜖≤2−𝑛𝑜D(𝜎∥𝜖𝑖)(3.14) In order to obtain a short fingerprinting code and to provide an efficient decoding algorithm, the two purposed outer codes are based, as in the case of the Barg codes, in Reed-Solomon codes and algebraic-geometric codes approaching the TVZ bound. As inner codes, Boneh-Shaw codes ℬ𝒮(𝑞, 𝑐, 𝜖) are proposed. Given the design parameters, we denote by 𝒞ℱRS(𝑀, 𝑐, 𝜖) and 𝒞ℱAG(𝑀, 𝑐, 𝜖) the concatenated codes, when using Reed-Solomon and algebraic-geometric as outer codes, respectively. 3.6.1 Reed-Solomon codes as outer codes Our goal is to choose the optimal parameters to construct a minimum-length concatenated code 𝒞ℱRS(𝑀, 𝑐, 𝜖) = ℛ𝒮𝑞(𝑘𝑜)∘𝒞𝑖, given a fixed family of inner codes 𝒞𝑖. We choose as 𝒞𝑜a Reed-Solomon code over 𝔽𝑞, where 𝑞is the size of the inner code. Definition 3.6.3. For a fixed value of 0 < 𝜎 < 1/(𝑐+ 1), we denote by 𝒞ℱRS(𝑀, 𝑐, 𝜖, 𝜎) the 𝑐-secure fingerprinting code with error 𝜖for 𝑀users constructed according to the following steps: 1. Find the minimum prime power 𝑞such that 𝑓(𝑞)>0, where 𝑓(𝑞) = 𝑀−𝑞⌈(𝑞−1)(1−𝜎(𝑐+1) 𝑐2)⌉. 2. Find the 0 < 𝜖𝑖< 𝜎 such that 𝑔(𝜖𝑖) = 0, where 𝑔(𝜖𝑖) = 𝑞D(𝜎∥𝜖𝑖)−log2𝜖. 3. Construct 𝒞ℱRS(𝑀, 𝑐, 𝜖, 𝜎) as ℛ𝒮𝑞(𝑘𝑜)∘𝒞𝑖, where ℛ𝒮𝑞(𝑘𝑜) is a Reed- Solomon code over 𝔽𝑞with 𝑘𝑜=⌈𝑛𝑜(1−𝜎(𝑐+ 1) 𝑐2)⌉, and 𝒞𝑖is a binary 𝑐-secure fingerprinting code with error 𝜖𝑖and size 𝑞. 3.6. Structured concatenation of fingerprinting codes 29 Lemma 3.6.4. Assume that the length of the inner code of 𝒞ℱRS(𝑀, 𝑐, 𝜖, 𝜎), 𝒞𝑖, is a monotonically decreasing function of 𝜖𝑖. Then, 𝒞ℱRS(𝑀, 𝑐, 𝜖, 𝜎) exists and it is the shortest 𝑐-secure fingerprinting code with error 𝜖of size 𝑀among all the codes of the form ℛ𝒮𝑞(𝑘𝑜)∘𝒞𝑖for a fixed 𝜎and a fixed family of codes 𝒞𝑖. Proof. First, note that 𝒞ℱRS(𝑀, 𝑐, 𝜖, 𝜎) has size, at least, 𝑀if the ℛ𝒮𝑞(𝑘𝑜) code has 𝑞𝑘𝑜≥𝑀codewords. In order to satisfy (3.13) we take 𝑑𝑜=𝑛𝑜−⌈𝑛𝑜(1−𝜎(𝑐+ 1) 𝑐2)⌉+ 1, which is the minimum value allowed for 𝑑𝑜, leading to the maximum dimension. Therefore, 𝑀−𝑞𝑘𝑜>0 is precisely the condition that 𝑓(𝑞) must satisfy in the first step. As 𝑓(𝑞) is a monotonically increasing function of 𝑞we can find the smallest value for which 𝑓(𝑞)>0. Next, the code must satisfy (3.14). For 𝜎fixed, D(𝜎∥𝜖𝑖) is a monotonically decreasing function of 𝜖𝑖,in the interval (0, 𝜎), from +∞to 0. Therefore, there exists some value for 𝜖𝑖, say 𝜖′ 𝑖such that 𝑔(𝜖′ 𝑖) = 0. Since we assume that the length of 𝒞𝑖decreases with 𝜖𝑖, we choose the maximum value allowed for 𝜖𝑖=𝜖′ 𝑖, which leads to the minimum-length code 𝒞ℱRS(𝑀, 𝑐, 𝜖, 𝜎). We are, however, interested in the shortest-length 𝒞ℱRS(𝑀, 𝑐, 𝜖, 𝜎) code for any value of 0 < 𝜎 < 1/(𝑐+ 1). Therefore, we must perform a search in that interval. As an example, in the figure 3.2 we have considered the following parameters: 𝑀= 106,𝑐= 20 and 𝜖= 10−3. It can be appreciated that for these parameters the optimal code occurs for 𝜎= 0.0037, approximately. As the equations involved in the computation of the length are transcendental, the only way to determine the optimal value for 𝜎is through numerical simulation. We denote by 𝒞ℱRS(𝑀, 𝑐, 𝜖) the optimal code. 3.6.2 Algebraic-geometric codes as outer codes Finally we present another construction which is asymptotically optimal. The implementation consists of the concatenation of an outer algebraicgeometric code with an inner fingerprinting code. Recall that there exist codes approaching the TVZ bound (3.10): 𝑘𝑜+𝑑𝑜≥𝑛𝑜−𝑛𝑜/(√𝑞−1). These codes satisfy 𝑛𝑜=𝑂(log(𝑀)). Let 𝒜𝒢𝑞(𝑛𝑜, 𝑘𝑜, 𝑑𝑜) be one of those codes satisfying (3.13). Since we are interested in positive-rate algebraicgeometric codes, i.e. 𝑘𝑜/𝑛𝑜>0, for 𝑑𝑜, we have that it must be an integer 30 3. Analysis of fingerprinting codes 0 0.005 0.01 0.015 0.02 0.025 0.03 0 0.5 1 1.5 2 2.5 x 1011 σ n Figure 3.2: Plot of the length of 𝒞ℱ(𝑀, 𝑐, 𝜖, 𝜎) versus 𝜎 value satisfying the TVZ bound and (3.13): 𝑛𝑜(1−1−𝜎(𝑐+ 1) 𝑐2)< 𝑑𝑜< 𝑛𝑜(1−1 √𝑞−1).(3.15) Thus, a sufficient condition for the existence of such value is 𝑛𝑜(1−1−𝜎(𝑐+ 1) 𝑐2)< 𝑛𝑜(1−1 √𝑞−1)−1. Solving for 𝑞, we obtain √𝑞 > 1 + 𝑐2 1−𝑐2/𝑛𝑜−(1 + 𝑐)𝜎.(3.16) Note that 𝑛𝑜is related to the design parameter 𝜖, because of (3.14), as 𝑛𝑜≥log2𝜖𝑖 D(𝜎∥𝜖𝑖). Therefore, we have the following necessary lemma to guarantee the existence of the concatenated code 𝒞ℱAG(𝑀, 𝑐, 𝜖). Lemma 3.6.5. The code 𝒞=𝒜𝒢𝑞(𝑛𝑜, 𝑘𝑜, 𝑑𝑜)∘ 𝒞𝑖exists if 𝜖𝑖< 𝜎 < 𝜎′< 1/(𝑐+ 1), where 𝜎′is the root of the equation ℎ(𝜎) = 1 + 𝑐2𝐷(𝜎∥𝜖𝑖) log2𝜖−(1 + 𝑐)𝜎 3.6. Structured concatenation of fingerprinting codes 31 in the interval 𝜖𝑖< 𝜎 < 1/(𝑐+ 1). Proof. One can easily see that ℎ(𝜎) contains a root in the interval 𝜖𝑖< 𝜎 < 1/(𝑐+ 1). First, note that in that interval ℎ′(𝜎) = (1 + 𝑐)𝜎−1 is a negative increasing function that reaches zero for 𝜎= 1/(𝑐+1), and ℎ′′(𝜎) = 𝑐2𝐷(𝜎∥𝜖𝑖)/log2𝜖is a negative decreasing function starting at 0. Therefore, it must exist a single value 𝜎′where both functions meet (See figure 3.3 for a numerical example). Since ℎ(𝜎) = ℎ′′(𝜎)−ℎ′(𝜎), it changes sign at 𝜎′. Considering (3.14) we have that 𝑛𝑜≥𝑐2𝐷(𝜎∥𝜖𝑖)/log2𝜖, and therefore, the only interval where we can ensure the existence of the code is 𝜖 < 𝜎 < 𝜎′, otherwise √𝑞would not be a positive number. Obviously, as 𝑛𝑜increases, 𝜎′→1/(𝑐+ 1). 0.01 0.015 0.02 0.025 0.03 0.035 0.04 0.045 0.05 −2.5 −2 −1.5 −1 −0.5 0 σ Figure 3.3: Plot of ℎ′(𝜎) and ℎ′′ (𝜎) for 𝑐= 20, 𝜖𝑖= 10−2and 𝜖= 10−3 Asymptotically, we can suppress the term 𝑐2/𝑛𝑜from (3.16), which implies that constructible codes exist if 𝜖𝑖< 𝜎 < 1/(𝑐+ 1), with 𝑞= Ω(𝑐4). In order to obtain an efficient decoding process, in [2] it is suggested to use, as inner codes, binary 𝑐-secure Barg codes, which have been presented previously. In this case, the code has a length of order 𝑂(𝑐6log 𝑐 𝜖log 𝑀). Finally, we make some considerations about the decoding process. The inner decoding algorithm is obviously algorithm 3.3. For the outer decoding, 38 3. Analysis of fingerprinting codes log(M) log(ǫ) 0 1 2 3 4 5 6 7 −100 −90 −80 −70 −60 −50 −40 −30 −20 −10 BRS (M, c, ǫ) BS(M, c, ǫ) BS∗(M, c, ǫ) BS(M, ǫ) (a) 𝑎= 0.22 log(M) log(ǫ) 0 1 2 3 4 5 6 7 −100 −90 −80 −70 −60 −50 −40 −30 −20 −10 BRS (M, c, ǫ)BS∗(M, c, ǫ) BS(M, ǫ) BS(M, c, ǫ) (b) 𝑎= 0.25 log(M) log(ǫ) 0 1 2 3 4 5 6 7 −100 −90 −80 −70 −60 −50 −40 −30 −20 −10 BS(M, ǫ) BS∗(M, c, ǫ) BRS (M, c, ǫ) BS(M, c, ǫ) (c) 𝑎= 0.33 log(M) log(ǫ) 0 1 2 3 4 5 6 7 −100 −90 −80 −70 −60 −50 −40 −30 −20 −10 BS(M, ǫ) BS(M, c, ǫ) BRS (M, c, ǫ) (d) 𝑎= 0.50 Figure 3.9: Comparison of codes for the case 𝑐=𝑀𝑎 3.7. Simulation results 39 log(M) log(ǫ) 0 1 2 3 4 5 6 7 −100 −90 −80 −70 −60 −50 −40 −30 −20 −10 BS(M, ǫ) BS(M, c, ǫ) BRS (M, c, ǫ) (a) 𝑎= 0.59 log(M) log(ǫ) 0 1 2 3 4 5 6 7 −100 −90 −80 −70 −60 −50 −40 −30 −20 −10 BS(M, c, ǫ) BS(M, ǫ) BRS (M, c, ǫ) (b) 𝑎= 0.60 log(M) log(ǫ) 0 1 2 3 4 5 6 7 −100 −90 −80 −70 −60 −50 −40 −30 −20 −10 BS(M, c, ǫ) BS(M, ǫ) (c) 𝑎= 0.85 log(M) log(ǫ) 0 1 2 3 4 5 6 7 −100 −90 −80 −70 −60 −50 −40 −30 −20 −10 BS(M, c, ǫ) BS(M, ǫ) (d) 𝑎= 0.95 Figure 3.10: Comparison of codes for the case 𝑐=𝑀𝑎 40 3. Analysis of fingerprinting codes Next, we present a comparison between codes with efficient-decoding algorithms. It is a fact that randomized codes are usually better than structured codes. This has an enormous drawback, since the decoding of a random code it is known to be an NP-hard problem. The simulation has been made for the Reed-Solomon versions of the Barg and the structured concatenation of Boneh-Shaw codes. Observe how the concatenated codes follow approximately the shape of the regions in figure 3.6, which are, actually, the shape of their inner codes. log(M) c 0 1 2 3 4 5 6 7 8 10 20 30 40 50 60 70 80 90 100 BRS (M, c, ǫ) BS(M, c, ǫ) BS(M, ǫ)CF RS (M, c, ǫ) Figure 3.11: Comparison of codes with efficient-decoding algorithm. 3.7. Simulation results 41 Finally, we present some figures for some parameters of the codes, where it can be seen that randomized codes achieve usually shorter lengths. Code Length 𝒮(𝑘) n/a ℱ𝒮(𝑛𝑜, 𝑘𝑖) n/a 𝑐-SFP n/a ℬ𝒮(𝑀, 𝜖) 7.9674 ⋅1022 ℬ𝒮(𝑀, 𝑐, 𝜖) 3.9198 ⋅1013 ℬ𝒮★(𝑀, 𝑐, 𝜖) 4.9079 ⋅1012 𝒯(𝑀, 𝑐, 𝜖) 3.9143 ⋅107 ℬRS(𝑀, 𝑐, 𝜖)∞ ℬRS(𝑀, 𝑐, 𝜖)∞ 𝒞ℱRS(𝑀, 𝑐, 𝜖) 6.4526 ⋅1014 Table 3.1: Lengths for 𝑀= 107,𝑐= 100, 𝜖= 10−10 Code Length 𝒮(𝑘) n/a ℱ𝒮(𝑛𝑜, 𝑘𝑖) n/a 𝑐-SFP n/a ℬ𝒮(𝑀, 𝜖) 8.4279 ⋅1025 ℬ𝒮(𝑀, 𝑐, 𝜖) 4.2905 ⋅1013 ℬ𝒮★(𝑀, 𝑐, 𝜖) 3.9033 ⋅1010 𝒯(𝑀, 𝑐, 𝜖) 3.7301 ⋅107 ℬRS(𝑀, 𝑐, 𝜖)∞ ℬRS(𝑀, 𝑐, 𝜖)∞ 𝒞ℱRS(𝑀, 𝑐, 𝜖) 1.0618 ⋅1012 Table 3.2: Lengths for 𝑀= 108,𝑐= 30, 𝜖= 10−10 42 3. Analysis of fingerprinting codes Code Length 𝒮(𝑘) 5.2700 ⋅102 ℱ𝒮(𝑛𝑜, 𝑘𝑖) 3.7800 ⋅102 𝑐-SFP n/a ℬ𝒮(𝑀, 𝜖) 2.9190 ⋅1010 ℬ𝒮(𝑀, 𝑐, 𝜖) 4.7231 ⋅105 ℬ𝒮★(𝑀, 𝑐, 𝜖) 1.565 ⋅104 𝒯(𝑀, 𝑐, 𝜖) 3.7301 ⋅107 ℬRS(𝑀, 𝑐, 𝜖) 1.759 ⋅103 ℬRS(𝑀, 𝑐, 𝜖) 1.6924 ⋅103 𝒞ℱRS(𝑀, 𝑐, 𝜖) 8.8805 ⋅105 Table 3.3: Lengths for 𝑀= 107,𝑐= 2, 𝜖= 10−10 Code Length 𝒮(𝑘) n/a ℱ𝒮(𝑛𝑜, 𝑘𝑖) n/a 𝑐-SFP 7.7391 ⋅104 ℬ𝒮(𝑀, 𝜖) 3.4069 ⋅1022 ℬ𝒮(𝑀, 𝑐, 𝜖) 6.9500 ⋅1010 ℬ𝒮★(𝑀, 𝑐, 𝜖) 2.7749 ⋅106 𝒯(𝑀, 𝑐, 𝜖) 4.0854 ⋅104 ℬRS(𝑀, 𝑐, 𝜖) 1.4891 ⋅106 ℬRS(𝑀, 𝑐, 𝜖) 1.4414 ⋅106 𝒞ℱRS(𝑀, 𝑐, 𝜖) 3.9320 ⋅107 Table 3.4: Lengths for 𝑀= 107,𝑐= 5, 𝜖= 1 −1/5 4 The traceability properties of Reed-Solomon codes As we have seen, traceable codes play a paramount role in the fingerprinting framework. Ideally, one would like to use TA codes since they can be decoded efficiently by means, for example, of a traditional half-distance decoder. Unfortunately, they are usually very long codes and require a very stringent conditions to be constructed. One may try to relax the TA condition without losing the traceability properties using IPP codes. This topic has received considerable attention in the recent years having been studied by several authors. Given a family of codes, we are interested in how much can the TA property be relaxed without losing the IPP property. Specifically, in this section we are concerned with the case of Reed-Solomon codes. We try to give an answer to the question raised by Silverberg et al. in [22, 9]: Is it the case that all IPP Reed-Solomon codes are TA?. We show how often, losing the TA property implies losing more basic properties than just the IPP property. 4.1 SFP, IPP and TA codes Recall from section 2.2 that, under the narrow-sense envelope model, a code 𝒞 has the 𝑐-TA property if, for any pirate fingerprint generated by a 𝑐-coalition 𝐶⊆ 𝒞, the closest codeword of 𝒞, in terms of the Hamming distance, is a traitor. Recall the definition of group separation (definition 2.1.1): D(𝐴, 𝐵) = ∣U(𝐴, 𝐵)∣, 43 44 4. The traceability properties of Reed-Solomon codes where U(𝐴, 𝐵) = {𝑖:{𝑎1,𝑖, 𝑎2,𝑖,...} ∩{𝑏1,𝑖, 𝑏2,𝑖,...}=∅} is the set of separated coordinates. Recall also that we define the (𝑐1, 𝑐2)-group separation of a code 𝒞,𝐷𝑐1,𝑐2, as the minimum 𝐷(𝐴, 𝐵) for disjoint sets 𝐴, 𝐵 ⊆ 𝒞 with ∣𝐴∣=𝑐1and ∣𝐵∣=𝑐2. For linear codes, we have the following result. Proposition 4.1.1. For any [𝑛, 𝑘, 𝑑]𝑞-code 𝒞and any pair of positive integer values 𝑐1, 𝑐2it holds that max{0, 𝑑−(𝑐1𝑐2−1)(𝑛−𝑑)} ≤ 𝐷𝑐1,𝑐2≤max{0, 𝑑−(𝑐1+𝑐2−2)(𝑘−1)}.(4.1) Proof. To prove the first inequality, let us compute the maximum number of nonseparated coordinates that any pair of disjoint sets, 𝐴, 𝐵 ⊆ 𝒞, could have. Without loss of generality, assume that ∣𝐴∣=𝑐1and ∣𝐵∣=𝑐2, and let us call 𝑥the required number. First, note that the maximum similitude between any two codewords of 𝒞is 𝑛−𝑑. Therefore, every codeword in 𝐴contributes, at most, with 𝑐2(𝑛−𝑑) nonseparated coordinates, assuming that it agrees with every codeword in 𝐵in 𝑛−𝑑coordinates. As we have 𝑐1 codewords in 𝐴, 𝑛−𝐷𝑐1,𝑐2=𝑥≤min{𝑛, 𝑐1𝑐2(𝑛−𝑑)} proves the inequality. To prove the second inequality, let us construct explicitly two disjoint sets 𝐴, 𝐵 ⊆ 𝒞 in the following way. We call 𝑦the number of nondisjoint coordinates in this case. First choose two codewords a1,b1∈ 𝒞 which agree exactly in 𝑛−𝑑coordinates. Such codewords exist by definition of the minimum distance. Insert a1into 𝐴and b1into 𝐵. For the 𝑑remaining coordinates were a1and b1do not agree, we operate in the following way. As 𝒞is a 𝑘dimensional vector space, one can always find a codeword that matches any other codeword in any set of, at least, 𝑘−1 arbitrary coordinates.1Choose 𝑐1−1 codewords such that each one of them matches 𝑘−1 disjoint positions with b1(in the 𝑑coordinates where a1and b1are different) and insert them into 𝐴. Proceed similarly for the codeword a1and insert the computed codewords into 𝐵. Therefore, we have that 𝑛−𝐷𝑐1,𝑐2=𝑦≥min{𝑛, (𝑛−𝑑) + (𝑐1+𝑐2−2)(𝑘−1)}, which proves the inequality. Note that if we set either 𝑐1= 1 or 𝑐2= 1 in (4.1) we obtain the wellknown result 𝑛−𝑑≥𝑘−1, which is the Singleton bound for linear codes. 1We omit this part of the proof. 4.1. SFP, IPP and TA codes 45 From the previous result it follows that for a linear [𝑛, 𝑘, 𝑑]-code, if 𝑑 > (𝑐1𝑐2−1)(𝑛−𝑑) the code is (𝑐1, 𝑐2)-SFP, and if 𝑑≤(𝑐1+𝑐2−2)(𝑘−1) the code is not (𝑐1, 𝑐2)-SFP. Regarding the 𝑐-TA property we have the following sufficient condition. Proposition 4.1.2. An (𝑛, 𝑀, 𝑑)-code 𝒞is 𝑐-TA if 𝐷1,𝑐 >(1 −1/𝑐)𝑛. (4.2) Proof. From the definition of 𝐷1,𝑐, there exists a 𝑐-coalition 𝐶⊆ 𝒞 that can generate a pirate codeword xsuch that d(x,u) = 𝐷1,𝑐 for some u∈ 𝒞 ∖𝐶, and it does not exist any u′∈ 𝒞 ∖𝐶such that d(x,u′)< 𝐷1,𝑐. Note that x must agree with some traitor t∈𝐶at least in 𝑛/𝑐 coordinates. Therefore, d(x,t)≤(1 −1/𝑐)𝑛 < 𝐷1,𝑐 ≤d(x,u) for all u∈ 𝒞 ∖𝐶. It is not difficult to see that 𝑑 > (1 −1/𝑐2)𝑛(4.3) implies the previous condition, and therefore the code is 𝑐-TA too. The converse is, in general, not true. Example 4.1.3. Consider the following two codes over 𝔽4={0,1, 𝛼, 𝛼2}: 𝒞={(0,0),(1,1),(𝛼, 𝛼),(𝛼2, 𝛼2)} 𝒞′={(0,0,0),(1,1,0),(𝛼, 𝛼, 0),(𝛼2, 𝛼2,0)} Observe that, for 𝑐= 2, 𝒞satisfies both (4.2) and (4.3), whereas 𝒞′only satisfies (4.2). Nevertheless, they both are 2-TA codes. For 𝑐= 3, 𝒞′does not satisfy neither (4.2) nor (4.3), even though it is a 3-TA code. If 𝑑can be easily computed, it is often an easy way to determine or construct 𝑐-TA codes rather than computing the value 𝐷1,𝑐. We can now expand the diagram of equation (2.1) as follows: 𝑑 > (1 −1/𝑐2)𝑛⇒𝐷1,𝑐 >(1 −1/𝑐)𝑛⇒𝑐-TA ⇒𝑐-IPP ⇒(𝑐, 𝑐)-SFP (4.4) Codes that meet the Singleton bound, 𝑀≤𝑞𝑛−𝑑+1, are called maximum distance separable (MDS) codes. Linear MDS codes satisfy that 𝑛−𝑑=𝑘−1 and conditions (4.2) and (4.3) are equivalent for them [23]. What is more, the following result also holds. Theorem 4.1.4 ([23]).Let 𝒞be an [𝑛, 𝑘, 𝑑]𝑞-code with 𝑛≤𝑞+ 1. Then, for 𝑐≥2, 𝒞has the 𝑐-TA property if and only if 𝑑 > (1 −1/𝑐2)𝑛. 46 4. The traceability properties of Reed-Solomon codes Reed-Solomon codes are an important family of linear MDS codes which are also cyclic. We denote by t(𝑖)the cyclic rotation in 𝑖coordinates to the right of t∈𝔽𝑛 𝑞. In [22, 9] authors raised the question wether it is the case that all 𝑐-IPP Reed-Solomon codes are 𝑐-TA codes. Even though the conditions that appear on the right in (4.4) are more stringent than those on the left, for a large family of Reed-Solomon codes it turns out that (𝑐, 𝑐)-SFP ⇔𝑑 > (1 −1/𝑐2)𝑛. In the next section we present a method to find nonseparated configurations when the code is not 𝑐-TA and 𝑐divides the field size. We describe here one last convention that we will use henceforth. Let 𝑓 be a polynomial 𝑓∈𝔽𝑞[𝑥]. We can define the map 𝑓:𝔽𝑞→𝔽𝑞as 𝑥7→ 𝑓(𝑥). We shall immediately become less formal and refer to this map simply as the polynomial 𝑓. We will be specially interested in polynomials 𝑓such that 𝑓:𝔽𝑞→𝔽𝑞is homomorphic. 4.2 Equivalence of the traceability properties of Reed-Solomon codes The main result of this section comes in the form of the following theorem. Theorem 4.2.1. Let ℛ𝒮𝑞(𝑘) be a Reed-Solomon code over 𝔽𝑞and 𝑐a divisor of 𝑞. Then, if the minimum distance of ℛ𝒮𝑞(𝑘) satisfies 𝑑≤𝑛−𝑛/𝑐2the code is not (𝑐, 𝑐)-SFP. The proof of the theorem can get somewhat lost in the notation and the construction of the elements that appear in it. Because of this, we first present aprocedure which summarizes the idea underneath the construction of the elements in the proof. Let ℛ𝒮𝑞(𝑘), 𝑐and 𝑑be as stated in theorem 4.2.1. Note that in this situation ℛ𝒮𝑞(𝑘) is not 𝑐-TA. Our goal is to find a pair of subsets of size at most 𝑐,𝐶1, 𝐶2⊆ ℛ𝒮𝑞(𝑘), such that D(𝐶1, 𝐶2) = 0. That would prove that ℛ𝒮𝑞(𝑘) fails to be (𝑐, 𝑐)-SFP too. Given the finite field 𝔽𝑞, an integer value 𝑐satisfying 𝑐∣𝑞, and a Reed- Solomon code over 𝔽𝑞,ℛ𝒮𝑞(𝑘), with minimum distance 𝑑≤(1 −1/𝑐2)𝑛, the following procedure outputs a pair of subsets 𝑇1, 𝑇2⊆ ℛ𝒮𝑞(𝑘) such that they are (𝑐, 𝑐)-nonseparated: 1. If 𝑐2> 𝑞 then: (a) Set 𝑐′= min{𝑐, 𝑛}. 4.2. Equivalence of the traceability properties of Reed-Solomon codes 47 (b) Find a codeword t= (𝑡1,...,𝑡𝑛)∈ ℛ𝒮𝑞(𝑘) such that ∣𝔗∣=𝑐′, where 𝔗={𝑡1,...,𝑡𝑐′}. (c) Return 𝑇1={𝑡1:𝑡∈𝔗}and 𝑇2={t(𝑖𝑐′): 1 ≤𝑖≤ ⌈𝑛/𝑐′⌉}. 2. Else (𝑐2≤𝑞): (a) Find an additive subgroup 𝐺≤𝔽𝑞with 𝑞/𝑐2elements. (b) Find a nontrivial minimum-degree polynomial 𝑓∈𝔽𝑞[𝑥] with the elements of 𝐺as single-multiplicity roots (the application 𝑓:𝔽𝑞→ 𝔽𝑞will act as an additive homomorphism with ker 𝑓=𝐺). (c) Find a subgroup 𝑆≤im 𝑓of 𝑐elements and its 𝑐cosets, 𝛽1+ 𝑆,...,𝛽𝑐+𝑆. Set 𝔅={𝛽1,...,𝛽𝑐}. (d) Set 𝑟= random{1,...,𝑐}and consider the coset 𝛽𝑟+𝑆. (e) Return 𝑇1={𝛽𝑗1:𝛽𝑗∈𝛽𝑟+𝑆}and 𝑇2={ev(𝑓(𝑥)−𝛽𝑖) : 𝛽𝑖∈𝔅}. Note that the procedure, as well as the proof of theorem 4.2.1, is split in two cases. The first case is proved in the following proposition. Proposition 4.2.2. Let ℛ𝒮𝑞(𝑘) be a Reed-Solomon code over 𝔽𝑞and 𝑐an integer satisfying 𝑐2≥𝑞−1. Then, if the minimum distance of ℛ𝒮𝑞(𝑘) satisfies 𝑑≤𝑛−𝑛/𝑐2the code is not (𝑐, 𝑐)-SFP. Proof. According to the stated restrictions, we have that 𝑛=𝑞−1 and 𝑘≥2. This means that ℛ𝒮𝑞(2) ⊆ ℛ𝒮𝑞(𝑘), i.e. ℛ𝒮𝑞(𝑘) contains all the codewords resulting from the evaluation of constant and linear polynomials. Take a nontrivial linear polynomial and its associated codeword, t. Take the first 𝑐′= min{𝑐, 𝑛}coordinates of t,{𝑡1,...,𝑡𝑐′}, which are all different, and construct 𝐶1and 𝐶2as in step 1c of the procedure. Note that ∣𝐶2∣= ⌈𝑛/𝑐′⌉ ≤ ∣𝐶1∣=𝑐′≤𝑐. One can easily check that for the coordinates with indexes (𝑖−1)𝑐′+ 1,...,𝑖𝑐′the codeword t(𝑖𝑐′)∈𝐶2takes values in 𝔗, for 1 ≤𝑖≤ ⌈𝑛/𝑐′⌉. Because ⌈𝑛/𝑐′⌉ ≥ 𝑛, for each coordinate there exist some codeword in 𝐶2which takes a value in 𝔗and, therefore, agrees in that coordinate with some codeword in 𝐶1. Hence, D(𝐶1, 𝐶2) = 0, which implies that ℛ𝒮𝑞(𝑘) is not (𝑐, 𝑐)-SFP. 5 Conclusion In this project we have presented an study of the properties of the main fingerprinting codes, mainly focused on the determination of their length. We have also proposed methods to determine an estimation of this value when there is no direct method to obtain it. Specifically, we have presented and discussed some results related to SFP, Boneh-Shaw and Barg codes, and the codes presented in [2]. Also, we have presented a comparative analysis of the families of codes introduced in the project. The results show the regions where it is preferable to use each code, given the design parameters of number of users to allocate, maximum size of the collusions and identification error probability. Finally, we have discussed the tracing properties of Reed-Solomon codes. Our main goal was to give an answer to the question posted by Silverberg et al. in [22, 9] (Is it the case that all IPP Reed-Solomon codes are TA?). We have proven the equivalence of the SFP, IPP and TA properties for some families of Reed-Solomon codes, where the coalition of traitors has the particularity that its size divides the field size. Obviously this does not provide a full answer to the question but hopefully it gives some hints that may be useful in finding the final response. 5.1 Future work The main open questions are: 1. Determining a practical method to estimate the length of the 𝒞ℱAG(𝑀, 𝑐, 𝜖) code. 2. Determining the limits of concatenation for fingerprinting code: when is it detrimental to concatenate in terms of code length? 55 56 5. Conclusion 3. Providing a full answer to the question about the properties of Reed- Solomon codes. Of course, it would be interesting to determine if the last question also applies to other families of MDS or non-MDS codes. Bibliography [1] J. Moreira, M. Fernandez, and M. Soriano, “A note on the traceability properties of Reed-Solomon codes for certain coalition sizes,” in First IEEE workshop on information forensics and security, 2009, (Accepted). [2] J. Cotrina and M. Fernandez, “A family of asymptotically good binary fingerprinting codes,” IEEE Transactions on Information Theory, 2009, (Submitted). [3] J. N. Staddon, D. R. Stinson, and R. Wei, “Combinatorial properties of frameproof and traceability codes,” IEEE Transactions on Information Theory, vol. 47, no. 3, pp. 1042–1049, 2001. [4] M. Fern´andez and M. Soriano, “Fingerprinting concatenated codes with efficient identification,” in ISC ’02: Proceedings of the 5th International Conference on Information Security. London, UK: Springer-Verlag, 2002, pp. 459–470. [5] A. Barg, G. R. Blakley, and G. A. Kabatiansky, “Digital fingerprinting codes: problem statements, constructions, identification of traitors,” IEEE Transactions on Information Theory, vol. 49, no. 4, pp. 852–865, 2003. [6] G. D. Cohen and H. G. Schaathun, “Upper bounds on separating codes,” IEEE Transactions on Information Theory, vol. 50, no. 6, pp. 1291– 1294, 2004. [7] H. D. L. Hollmann, J. H. van Lint, J.-P. Linnartz, and L. M. G. M. Tolhuizen, “On codes with the identifiable parent property,” J. Comb. Theory Ser. A, vol. 82, no. 2, pp. 121–133, 1998. [8] A. Barg and G. Kabatiansky, “A class of i.p.p. codes with efficient identification,” Journal of Complexity, vol. 20, no. 2-3, pp. 137–147, 2004. 57 58 BIBLIOGRAPHY [9] A. Silverberg, J. Staddon, and J. L. Walker, “Applications of list decoding to tracing traitors,” IEEE Transactions on Information Theory, vol. 49, no. 5, pp. 1312–1318, May 2003. [10] G. Cohen, S. Encheva, and H. G. Schaathun, “On separating codes,” ENST, Paris, Tech. Rep., 2001. [11] J. Moreira and M. Fern´andez, “Implementaci´on y an´alisis de un algoritmo de decodificaci´on de un c´odigo de fingerprinting concatenado,” Universitat Polit`ecnica de Catalunya, Tech. Rep., 2006. [12] R. Kotter and A. Vardy, “Algebraic soft-decision decoding of Reed- Solomon codes,” in Proc. IEEE International Symposium on Information Theory, Jun. 25–30, 2000, p. 61. [13] D. Boneh and J. Shaw, “Collusion-secure fingerprinting for digital data,” IEEE Transactions on Information Theory, vol. 44, no. 5, pp. 1897– 1905, 1998. [14] B. Chor, A. Fiat, M. Naor, and B. Pinkas, “Tracing traitors,” 1994. [15] M. Fernandez and J. Cotrina, “Obtaining asymptotic fingerprint codes through a new analysis of the Boneh-Shaw codes,” in Information Security and Cryptology, 2006, pp. 289–303. [16] M. A. Tsfasman and S. G. Vlˇadut¸, Algebraic-Geometric Codes. Kluwer Academic Publishers, 1991. [17] V. Guruswami and M. Sudan, “Improved decoding of Reed-Solomon and algebraic-geometry codes,” IEEE Transactions on Information Theory, vol. 45, no. 6, pp. 1757–1767, Sep. 1999. [18] G. Tardos, “Optimal probabilistic fingerprint codes,” J. ACM, vol. 55, no. 2, pp. 1–24, 2008. [19] B. Skoric, T. U. Vladimirova, M. Celik, and J. C. Talstra, “Tardos fingerprinting is better than we thought,” IEEE Transactions on Information Theory, vol. 54, no. 8, pp. 3663–3676, 2008. [20] O. Blayer and T. Tassa, “Improved versions of Tardos’ fingerprinting scheme,” Des. Codes Cryptography, vol. 48, no. 1, pp. 79–103, 2008. [21] K. Nuida, S. Fujitsu, M. Hagiwara, T. Kitagawa, H. Watanabe, K. Ogawa, and H. Imai, “An improvement of Tardoss collusion-secure fingerprinting codes with very short lengths,” in Applied Algebra, Algebraic Algorithms and Error-Correcting Codes, 2007. BIBLIOGRAPHY 59 [22] A. Silverberg, J. Staddon, and J. Walker, “Efficient traitor tracing algorithms using list decoding,” in In Proceedings of ASIACRYPT 01, volume 2248 of LNCS, 2001, pp. 175–192. [23] H. Jin and M. Blaum, “Combinatorial properties for traceability codes using error correcting codes,” IEEE Transactions on Information Theory, vol. 53, no. 2, pp. 804–808, 2007. [24] J. J. Rotman, An Introduction to the Theory of Groups. Springer-Verlag New York, Inc., 1995. [25] M. Fernandez, J. Cotrina, M. Soriano, , and N. Domingo, “On the IPP properties of Reed-Solomon codes,” in Emerging Challenges for Security, Privacy and Trust, ser. IFIP Advances in Information and Communication Technology, vol. 297. Springer Boston, 2009, pp. 87– 97.