arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2009.02667cs.CR
收藏

加密到自我的效率改进

Efficiency Improvements for Encrypt-to-Self

Jeroen Pijnenburg, Bertram Poettering

摘要:

Pijnenburg和Poettering(ESORICS'20)最近的工作探索了新颖的加密自加密原语,该原语专用于对称加密的用例,其中加密器和解密器重合。该原语被设想为每当需要存储器受限的计算设备加密某些数据以将其临时存储在不可信的存储设备上时是有用的。虽然新的原语可以像传统的认证加密原语一样保护有效载荷的机密性,但它提供了更好的真实性保证:具体来说,虽然传统的解决方案在涉及用户腐败的情况下会完全失败,但如果使用自验证方案来保护数据,则所有密文和消息都完全不可伪造。为了实例化它们的自映射原语,Pijnenburg等人提出了一种哈希函数的压缩函数的操作模式,其中精心设计的编码函数在处理的消息和相关数据的序列化中发挥核心作用。在目前的工作中,我们重新设计这个编码功能。在不质疑它是否足以安全地完成任务的情况下,我们从技术/实现的角度对其进行了改进,提出了一些修改,以减轻某些条件,这些条件不可避免地需要实现不尊重现代CPU的字操作所施加的内存对齐限制,最终导致性能损失。因此,我们的主要贡献是提出一个改进的编码函数,解释为什么它提供了更好的性能,并证明它提供了尽可能多的安全性,其前身。最后,我们报告我们的开源实现的基础上,新的编码功能的原始的bottom-to-self。

英文摘要:

Recent work by Pijnenburg and Poettering (ESORICS'20) explores the novel cryptographic Encrypt-to-Self primitive that is dedicated to use cases of symmetric encryption where encryptor and decryptor coincide. The primitive is envisioned to be useful whenever a memory-bounded computing device is required to encrypt some data with the aim of temporarily depositing it on an untrusted storage device. While the new primitive protects the confidentiality of payloads as much as classic authenticated encryption primitives would do, it provides considerably better authenticity guarantees: Specifically, while classic solutions would completely fail in a context involving user corruptions, if an encrypt-to-self scheme is used to protect the data, all ciphertexts and messages fully remain unforgeable. To instantiate their encrypt-to-self primitive, Pijnenburg et al propose a mode of operation of the compression function of a hash function, with a carefully designed encoding function playing the central role in the serialization of the processed message and associated data. In the present work we revisit the design of this encoding function. Without questioning its adequacy for securely accomplishing the encrypt-to-self job, we improve on it from a technical/implementational perspective by proposing modifications that alleviate certain conditions that would inevitably require implementations to disrespect memory alignment restrictions imposed by the word-wise operation of modern CPUs, ultimately leading to performance penalties. Our main contributions are thus to propose an improved encoding function, to explain why it offers better performance, and to prove that it provides as much security as its predecessor. We finally report on our open-source implementation of the encrypt-to-self primitive based on the new encoding function.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑