CPC G06F 21/79 (2013.01) [G06F 13/40 (2013.01); G06F 21/602 (2013.01); G06F 21/72 (2013.01); G09C 1/00 (2013.01); H04L 9/065 (2013.01); H04L 9/0631 (2013.01); H04L 9/0637 (2013.01); H04L 9/0869 (2013.01); G06F 13/1668 (2013.01); H04L 2209/122 (2013.01)] | 20 Claims |
1. A writing method of a crypto device, comprising:
receiving a write request from a central processing unit;
determining a write attribute of the write request; and
performing one of a partial write operation and a full write operation, according to the write attribute,
the full write operation including
generating a version count based on a random number,
generating a key stream based on the version count, encrypting write data by performing a first logical operation on the key stream and the write data, and
storing the encrypted data and the version count in a memory device.
|