Patent ID: 8559634

Claim:
An encoding/decoding circuit comprising: a key storage portion in which a first generation encoding key is stored; an encoding/decoding operation portion; and an encoding key/decoding key generation coincidence judgment circuit, wherein said encoding/decoding operation portion uses said first generation encoding key to generate a second generation encoding key for encoding input data, and updates said first generation encoding key and stores said second generation encoding key into said key storage portion, said encoding/decoding operation portion uses an n-th (n: natural number) generation encoding key to generate an (n+1)th generation encoding key for encoding said input data, and stores said (n+1)th generation encoding key into said key storage portion for updating the n-th generation encoding key, said encoding/decoding operation portion uses said first generation encoding key to generate a first generation decoding key for decoding said input data which is encoded by said first generation encoding key and stores said first generation decoding key into said key storage portion, said encoding/decoding operation portion uses the (n+1)th generation encoding keys to generate the (n+1)th generation decoding keys for decoding said input data, respectively, and stores said (n+1)th generation decoding key into said key storage portion for updating the n-th generation decoding key, said encoding key/decoding key generation coincidence judgment circuit activates an encoding key/decoding key generation coincidence signal indicating said n-th generation decoding key is valid if said encoding/decoding operation portion generates said n-th generation decoding key by using said corresponding n-th generation encoding key, and said encoding key/decoding key generation coincidence judgment circuit inactivates said encoding key/decoding key generation coincidence signal if said n-th generation decoding key is generated by using a key other than said corresponding n-th generation encoding key.