-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[GPU] Enable encryption of cache blob with CacheMode::OPTIMIZE_SIZE #27912
[GPU] Enable encryption of cache blob with CacheMode::OPTIMIZE_SIZE #27912
Conversation
Instead of encrypting or decrypting the entire blob all at once, can't we do it in multiple batches? |
@e-ddykim Before implementing I talked about this with @ilya-lavrenov and I decided to fulfill an expectation to give encryption algorithm developers a full freedom to analyze/encrypt the whole data. This is only enabled with CacheMode::OPTIMIZE_SIZE so with blobs sized a couple of MB (after the dependency PR is merged). A second consideration - are we certain that breaking it up into arbitrarily sized blocks wouldn't compromise security of any encryption algorithm a user may provide? |
I don't know if it affects security. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
just question: Is this feature expected to work on all OSs and platforms?
@olpipi Yes, that's the intention here. |
6999412
to
ea19102
Compare
build_jenkins |
build_jenkins |
Co-authored-by: Sergey Shlyapnikov <[email protected]>
aa15586
to
fa24a8e
Compare
build_jenkins |
build_jenkins |
### Details: - Replacement for #27993 (can't modify it, not from fork). - Docs for #27912. Added separately because docs addition breaks CI (no GPU Plugin in Python API tests currently), ### Tickets: - CVS-158140 --------- Co-authored-by: Sebastian Golebiewski <[email protected]> Co-authored-by: Pavel Durandin <[email protected]>
…penvinotoolkit#27912) ### Details: - Enables encryption of cache blob with CacheMode::OPTIMIZE_SIZE in GPU Plugin. - Some additional test coverage already present in src/plugins/intel_gpu/tests/functional/shared_tests_instances/behavior/ov_plugin/caching_tests.cpp. Test coverage in this PR is distinct from those tests because it also checks correctness of the results. - openvinotoolkit#27742 has to be merged first - it guarantees small cache sizes in majority of cases which is important for encryption. ### Tickets: - CVS-158140 --------- Co-authored-by: Sergey Shlyapnikov <[email protected]>
### Details: - Replacement for openvinotoolkit#27993 (can't modify it, not from fork). - Docs for openvinotoolkit#27912. Added separately because docs addition breaks CI (no GPU Plugin in Python API tests currently), ### Tickets: - CVS-158140 --------- Co-authored-by: Sebastian Golebiewski <[email protected]> Co-authored-by: Pavel Durandin <[email protected]>
Details:
Tickets: