Openssl:RSA n e d p q参数代表什么? [英] Openssl : What does RSA n e d p q parameters represent?

查看:1288
本文介绍了Openssl:RSA n e d p q参数代表什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在下面的openssl的RSA结构中,n, e, d, p, q代表什么参数?

What are the parameters n, e, d, p, q represent in below RSA structure for openssl ?

struct rsa_st
    {
    /* The first parameter is used to pickup errors where
     * this is passed instead of aEVP_PKEY, it is set to 0 */
    int pad;
    long version;
    const RSA_METHOD *meth;
    /* functional reference if 'meth' is ENGINE-provided */
    ENGINE *engine;
    BIGNUM *n;
    BIGNUM *e;
    BIGNUM *d;
    BIGNUM *p;
    BIGNUM *q;
    BIGNUM *dmp1;
    BIGNUM *dmq1;
    BIGNUM *iqmp;
    /* be careful using this if the RSA structure is shared */
    CRYPTO_EX_DATA ex_data;
    int references;
    int flags;

    /* Used to cache montgomery values */
    BN_MONT_CTX *_method_mod_n;
    BN_MONT_CTX *_method_mod_p;
    BN_MONT_CTX *_method_mod_q;

    /* all BIGNUM values are actually in the following data, if it is not
     * NULL */
    char *bignum_data;
    BN_BLINDING *blinding;
    BN_BLINDING *mt_blinding;
    };

您可以在openssl官方页面上看到

推荐答案

,其编号在计算密文我建议你对此轻描淡写, 再见!

I suggest you to take a gander at it, Bye!

编辑2018-07-27:更新URL Linuxatico

EDIT 2018-07-27: update url Linuxatico

这篇关于Openssl:RSA n e d p q参数代表什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆