Prime and Prejudice
Prime and Prejudice
复制标题
最初与偏见
DOI:
10.1145/3243734.3243787
复制
发表时间:
2018
期刊:
影响因子:
--
通讯作者:
Albrecht M
中科院分区:
文献类型:
--
作者:
Albrecht M
This work provides a systematic analysis of primality testing under adversarial conditions, where the numbers being tested for primality are not generated randomly, but instead provided by a possibly malicious party. Such a situation can arise in secure messaging protocols where a server supplies Diffie-Hellman parameters to the peers, or in a secure communications protocol like TLS where a developer can insert such a number to be able to later passively spy on client-server data. We study a broad range of cryptographic libraries and assess their performance in this adversarial setting. As examples of our findings, we are able to construct 2048-bit composites that are declared prime with probability (1/16) by OpenSSL's primality testing in its default configuration; the advertised performance is (2-80). We can also construct 1024-bit composites that always pass the primality testing routine in GNU GMP when configured with the recommended minimum number of rounds. And, for a number of libraries (Cryptlib, LibTomCrypt, JavaScript Big Number, WolfSSL), we can construct composites that always pass the supplied primality tests. We explore the implications of these security failures in applications, focusing on the construction of malicious Diffie-Hellman parameters. We show that, unless careful primality testing is performed, an adversary can supply parameters (p,q,g) which on the surface look secure, but where the discrete logarithm problem in the subgroup of order q generated by g is easy. We close by making recommendations for users and developers. In particular, we promote the Baillie-PSW primality test which is both efficient and conjectured to be robust even in the adversarial setting for numbers up to a few thousand bits.
登录
查看更多内容
影响因子:
7.6
作者:
Brian S. Lowery;Curtis D. Hardin;S. Sinclair
通讯作者:
Brian S. Lowery;Curtis D. Hardin;S. Sinclair
影响因子:
4.4
作者:
Hofmann, Wilhelm;Gschwendner, Tobias;Schmitt, Manfred
通讯作者:
Schmitt, Manfred
影响因子:
5.5
作者:
Patrick F. McKay;Derek R. Avery
通讯作者:
Derek R. Avery
DOI:
10.1017/iop.2016.53
发表时间:
2016
期刊:
Industrial and Organizational Psychology
影响因子:
--
作者:
Sally D. Farley;Rebecca J. Thompson
通讯作者:
Rebecca J. Thompson
DOI:
--
发表时间:
2009
期刊:
Psychology Science
影响因子:
--
作者:
B. Stewart;William von Hippel;G. Radvansky
通讯作者:
G. Radvansky