Searched refs:rsa_ctx (Results 1 – 3 of 3) sorted by relevance
/external/syslinux/gpxe/src/crypto/axtls/ |
D | rsa.c | 47 RSA_CTX *rsa_ctx; in RSA_priv_key_new() local 50 rsa_ctx = *ctx; in RSA_priv_key_new() 51 bi_ctx = rsa_ctx->bi_ctx; in RSA_priv_key_new() 52 rsa_ctx->d = bi_import(bi_ctx, priv_exp, priv_len); in RSA_priv_key_new() 53 bi_permanent(rsa_ctx->d); in RSA_priv_key_new() 56 rsa_ctx->p = bi_import(bi_ctx, p, p_len); in RSA_priv_key_new() 57 rsa_ctx->q = bi_import(bi_ctx, q, q_len); in RSA_priv_key_new() 58 rsa_ctx->dP = bi_import(bi_ctx, dP, dP_len); in RSA_priv_key_new() 59 rsa_ctx->dQ = bi_import(bi_ctx, dQ, dQ_len); in RSA_priv_key_new() 60 rsa_ctx->qInv = bi_import(bi_ctx, qInv, qInv_len); in RSA_priv_key_new() [all …]
|
D | crypto.h | 157 void RSA_priv_key_new(RSA_CTX **rsa_ctx, 169 void RSA_pub_key_new(RSA_CTX **rsa_ctx, 238 RSA_CTX *rsa_ctx; member 252 int asn1_get_private_key(const uint8_t *buf, int len, RSA_CTX **rsa_ctx);
|
/external/syslinux/gpxe/src/net/ |
D | tls.c | 650 RSA_CTX *rsa_ctx; in tls_send_client_key_exchange() local 651 RSA_pub_key_new ( &rsa_ctx, tls->rsa.modulus, tls->rsa.modulus_len, in tls_send_client_key_exchange() 656 uint8_t encrypted_pre_master_secret[rsa_ctx->num_octets]; in tls_send_client_key_exchange() 672 RSA_encrypt ( rsa_ctx, ( const uint8_t * ) &tls->pre_master_secret, in tls_send_client_key_exchange() 678 RSA_free ( rsa_ctx ); in tls_send_client_key_exchange()
|