Home
last modified time | relevance | path

Searched refs:LWS_GENCRYPTO_RSA_KEYEL_N (Results 1 – 13 of 13) sorted by relevance

/third_party/libwebsockets/lib/tls/openssl/
Dlws-genrsa.c116 if (RSA_set0_key(ctx->rsa, ctx->bn[LWS_GENCRYPTO_RSA_KEYEL_N], in lws_genrsa_create()
126 ctx->rsa->n = ctx->bn[LWS_GENCRYPTO_RSA_KEYEL_N]; in lws_genrsa_create()
185 RSA_get0_key(ctx->rsa, &mpi[LWS_GENCRYPTO_RSA_KEYEL_N],
Dopenssl-x509.c597 (const BIGNUM **)&mpi[LWS_GENCRYPTO_RSA_KEYEL_N], in lws_x509_public_to_jwk()
602 mpi[LWS_GENCRYPTO_RSA_KEYEL_N] = rsapub->n; in lws_x509_public_to_jwk()
760 if (jwk->e[LWS_GENCRYPTO_RSA_KEYEL_N].len != (uint32_t)n) { in lws_x509_jwk_privkey_pem()
768 dummy[2] = BN_bin2bn(jwk->e[LWS_GENCRYPTO_RSA_KEYEL_N].buf, in lws_x509_jwk_privkey_pem()
769 (int32_t)jwk->e[LWS_GENCRYPTO_RSA_KEYEL_N].len, in lws_x509_jwk_privkey_pem()
/third_party/libwebsockets/lib/tls/mbedtls/
Dmbedtls-server.c505 memcpy(p, el[LWS_GENCRYPTO_RSA_KEYEL_N].buf, el[LWS_GENCRYPTO_RSA_KEYEL_N].len); in lws_tls_acme_sni_cert_create()
506 p += el[LWS_GENCRYPTO_RSA_KEYEL_N].len; in lws_tls_acme_sni_cert_create()
Dlws-genrsa.c115 ctx->ctx->MBEDTLS_PRIVATE(len) = el[LWS_GENCRYPTO_RSA_KEYEL_N].len;
Dmbedtls-x509.c397 mpi[LWS_GENCRYPTO_RSA_KEYEL_N] = &rsactx->MBEDTLS_PRIVATE(N); in lws_x509_public_to_jwk()
/third_party/libwebsockets/include/libwebsockets/
Dlws-gencrypto.h54 LWS_GENCRYPTO_RSA_KEYEL_N, enumerator
/third_party/libwebsockets/lib/jose/jwk/
Djose_key.c75 F_RSA | F_B64U | F_M | LWS_GENCRYPTO_RSA_KEYEL_N,
130 { "n", LWS_GENCRYPTO_RSA_KEYEL_N, 0 },
/third_party/libwebsockets/lib/jose/jwe/
Djwe-rsa-aescbc.c87 jwe->jws.jwk->e[LWS_GENCRYPTO_RSA_KEYEL_N].len)) in lws_jwe_encrypt_rsa_aes_cbc_hs()
/third_party/libwebsockets/lib/cose/
Dcose_sign_alg.c133 alg->keybits = (int)ck->e[LWS_GENCRYPTO_RSA_KEYEL_N].len * 8; in lws_cose_sign_alg_create()
Dcose_validate_alg.c132 alg->keybits = (int)ck->e[LWS_GENCRYPTO_RSA_KEYEL_N].len * 8; in lws_cose_val_alg_create()
Dcose_key.c537 LWS_GENCRYPTO_RSA_KEYEL_N; in cb_cose_key()
/third_party/libwebsockets/plugins/ssh-base/
Dsshd.c1246 e[LWS_GENCRYPTO_RSA_KEYEL_N].buf = pp; in lws_ssh_parse_plaintext()
1247 e[LWS_GENCRYPTO_RSA_KEYEL_N].len = m; in lws_ssh_parse_plaintext()
/third_party/libwebsockets/lib/jose/jws/
Djws.c786 n = (int)jws->jwk->e[LWS_GENCRYPTO_RSA_KEYEL_N].len; in lws_jws_sign_from_b64()