arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1810.01662cs.CRcs.SE
收藏

JavaCards的低层密码基元研究

Towards Low-level Cryptographic Primitives for JavaCards

Vasilios Mavroudis, Petr Svenda

摘要:

JavaCard是一个多应用安全平台,部署到超过200亿张智能卡,用于从安全支付到电信的应用。虽然该平台是已建立的商业用例的流行选择(例如,电信网络中的SIM卡),它在以下方面的采用率非常低:1)需要最近标准化的加密算法的应用场景,2)研究项目,以及3)开源计划。我们将其归因于对低级加密原语的访问受限(例如,椭圆曲线运算)和缺少基本数据类型(例如,整数)。虽然底层硬件具有这些功能,但JavaCard API不提供对相应功能的调用。到目前为止,唯一可用的解决方案是特定于服务器的专有API,这些API带有非常严格的保密协议。在本文中,我们介绍了一种方法,有效地派生基本的数据类型和低层次的密码原语从高层次的操作。我们的技术非常适合资源受限的平台,并充分利用底层硬件,同时具有较小的内存占用。我们还介绍了JCMathLib,据我们所知,它是第一个不依赖于专有API的JavaCards中低级加密操作的通用库。在没有任何公开限制的情况下,JCMathLib支持开放代码共享,发布研究原型以及公共和第三方代码审计。

英文摘要:

JavaCard is a multi-application security platform deployed to over twenty billion smartcards, used in applications ranging from secure payments to telecommunications. While the platform is a popular choice for established commercial use cases (e.g., SIM cards in telecommunication networks), it has notably low adoption rates in: 1) application scenarios requiring recently-standardized cryptographic algorithms, 2) research projects, and 3) open source initiatives. We attribute this to the restricted access to low-level cryptographic primitives (e.g., elliptic curve operations) and the lack of essential data types (e.g., Integers). While the underlying hardware has those capabilities, the JavaCard API does not provide calls for the corresponding functionality. Until now, the only available workaround was manufacturer-specific proprietary APIs that come with very restrictive non-disclosure agreements. In this paper, we introduce a methodology to efficiently derive essential data types and low-level cryptographic primitives from high-level operations. Our techniques are ideal for resource-constrained platforms, and make optimal use of the underlying hardware, while having a small memory footprint. We also introduce JCMathLib, which, to the best of our knowledge, is the first generic library for low-level cryptographic operations in JavaCards that does not rely on a proprietary API. Without any disclosure limitations, JCMathLib enables open code sharing, release of research prototypes and public and third-party code audits.

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

↑