Home
last modified time | relevance | path

Searched refs:LWS_GENCRYPTO_RSA_KEYEL_D (Results 1 – 6 of 6) sorted by relevance

/external/libwebsockets/lib/tls/openssl/
Dopenssl-x509.c421 (const BIGNUM **)&mpi[LWS_GENCRYPTO_RSA_KEYEL_D]); in lws_x509_public_to_jwk()
425 mpi[LWS_GENCRYPTO_RSA_KEYEL_D] = NULL; in lws_x509_public_to_jwk()
427 count = LWS_GENCRYPTO_RSA_KEYEL_D; in lws_x509_public_to_jwk()
609 jwk->e[LWS_GENCRYPTO_RSA_KEYEL_D].len = n; in lws_x509_jwk_privkey_pem()
610 jwk->e[LWS_GENCRYPTO_RSA_KEYEL_D].buf = lws_malloc(n, "privjk"); in lws_x509_jwk_privkey_pem()
611 if (!jwk->e[LWS_GENCRYPTO_RSA_KEYEL_D].buf) in lws_x509_jwk_privkey_pem()
614 BN_bn2bin(mpi, jwk->e[LWS_GENCRYPTO_RSA_KEYEL_D].buf); in lws_x509_jwk_privkey_pem()
621 lws_free_set_NULL(jwk->e[LWS_GENCRYPTO_RSA_KEYEL_D].buf); in lws_x509_jwk_privkey_pem()
629 lws_free_set_NULL(jwk->e[LWS_GENCRYPTO_RSA_KEYEL_D].buf); in lws_x509_jwk_privkey_pem()
Dlws-genrsa.c117 ctx->bn[LWS_GENCRYPTO_RSA_KEYEL_D]) != 1) { in lws_genrsa_create()
126 ctx->rsa->d = ctx->bn[LWS_GENCRYPTO_RSA_KEYEL_D]; in lws_genrsa_create()
185 &mpi[LWS_GENCRYPTO_RSA_KEYEL_E], &mpi[LWS_GENCRYPTO_RSA_KEYEL_D]);
/external/libwebsockets/include/libwebsockets/
Dlws-gencrypto.h55 LWS_GENCRYPTO_RSA_KEYEL_D, /* note... same offset as EC D */ enumerator
69 LWS_GENCRYPTO_EC_KEYEL_D = LWS_GENCRYPTO_RSA_KEYEL_D,
/external/libwebsockets/lib/jose/jwk/
Djwk.c84 F_RSA | F_EC | F_B64U | LWS_GENCRYPTO_RSA_KEYEL_D,
135 { "d", LWS_GENCRYPTO_RSA_KEYEL_D, 2 | 0 },
377 !(((!jwk->e[LWS_GENCRYPTO_RSA_KEYEL_D].buf) && in cb_jwk()
380 (jwk->e[LWS_GENCRYPTO_RSA_KEYEL_D].buf && in cb_jwk()
411 !jwk->e[LWS_GENCRYPTO_RSA_KEYEL_D].buf && in cb_jwk()
420 jwk->e[LWS_GENCRYPTO_RSA_KEYEL_D].buf) in cb_jwk()
/external/libwebsockets/lib/tls/mbedtls/
Dmbedtls-x509.c297 mpi[LWS_GENCRYPTO_RSA_KEYEL_D] = &rsactx->D; in lws_x509_public_to_jwk()
381 mpi[LWS_GENCRYPTO_RSA_KEYEL_D] = &rsactx->D; in lws_x509_jwk_privkey_pem()
384 n = LWS_GENCRYPTO_RSA_KEYEL_D; in lws_x509_jwk_privkey_pem()
Dlws-genrsa.c85 if ( el[LWS_GENCRYPTO_RSA_KEYEL_D].len && in lws_genrsa_create()