Re: [PATCH 3/5] PM / hibernate: Encrypt snapshot image

2019-01-06 Thread Stephan Mueller
Am Donnerstag, 3. Januar 2019, 15:32:25 CET schrieb Lee, Chun-Yi: Hi Chun, > To protect the secret in memory snapshot image, this patch adds the > logic to encrypt snapshot pages by AES-CTR. Using AES-CTR is because > it's simple, fast and parallelizable. But this patch didn't implement >

[PATCH 3/5] PM / hibernate: Encrypt snapshot image

2019-01-03 Thread Lee, Chun-Yi
To protect the secret in memory snapshot image, this patch adds the logic to encrypt snapshot pages by AES-CTR. Using AES-CTR is because it's simple, fast and parallelizable. But this patch didn't implement parallel encryption. The encrypt key is derived from the snapshot key. And the

[PATCH 3/5] PM / hibernate: Encrypt snapshot image

2018-09-12 Thread Lee, Chun-Yi
To protect the secret in memory snapshot image, this patch adds the logic to encrypt snapshot pages by AES-CTR. Using AES-CTR is because it's simple, fast and parallelizable. But this patch didn't implement parallel encryption. The encrypt key is derived from the snapshot key. And the

[PATCH 3/5] PM / hibernate: Encrypt snapshot image

2018-09-12 Thread Lee, Chun-Yi
To protect the secret in memory snapshot image, this patch adds the logic to encrypt snapshot pages by AES-CTR. Using AES-CTR is because it's simple, fast and parallelizable. But this patch didn't implement parallel encryption. The encrypt key is derived from the snapshot key. And the