Home
last modified time | relevance | path

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

/third_party/libwebsockets/lib/tls/openssl/
Dopenssl-x509.c599 (const BIGNUM **)&mpi[LWS_GENCRYPTO_RSA_KEYEL_D]); in lws_x509_public_to_jwk()
603 mpi[LWS_GENCRYPTO_RSA_KEYEL_D] = NULL; in lws_x509_public_to_jwk()
605 count = LWS_GENCRYPTO_RSA_KEYEL_D; in lws_x509_public_to_jwk()
787 jwk->e[LWS_GENCRYPTO_RSA_KEYEL_D].len = (unsigned int)n; in lws_x509_jwk_privkey_pem()
788 jwk->e[LWS_GENCRYPTO_RSA_KEYEL_D].buf = lws_malloc((unsigned int)n, "privjk"); in lws_x509_jwk_privkey_pem()
789 if (!jwk->e[LWS_GENCRYPTO_RSA_KEYEL_D].buf) in lws_x509_jwk_privkey_pem()
792 BN_bn2bin(mpi, jwk->e[LWS_GENCRYPTO_RSA_KEYEL_D].buf); in lws_x509_jwk_privkey_pem()
799 lws_free_set_NULL(jwk->e[LWS_GENCRYPTO_RSA_KEYEL_D].buf); in lws_x509_jwk_privkey_pem()
807 lws_free_set_NULL(jwk->e[LWS_GENCRYPTO_RSA_KEYEL_D].buf); in lws_x509_jwk_privkey_pem()
Dlws-genrsa.c118 ctx->bn[LWS_GENCRYPTO_RSA_KEYEL_D]) != 1) { in lws_genrsa_create()
127 ctx->rsa->d = ctx->bn[LWS_GENCRYPTO_RSA_KEYEL_D]; in lws_genrsa_create()
186 &mpi[LWS_GENCRYPTO_RSA_KEYEL_E], &mpi[LWS_GENCRYPTO_RSA_KEYEL_D]);
/third_party/libwebsockets/include/libwebsockets/
Dlws-gencrypto.h55 LWS_GENCRYPTO_RSA_KEYEL_D, /* note... same offset as EC D */ enumerator
76 LWS_GENCRYPTO_EC_KEYEL_D = LWS_GENCRYPTO_RSA_KEYEL_D,
/third_party/libwebsockets/lib/jose/jwk/
Djose_key.c76 F_RSA | F_EC | F_B64U | LWS_GENCRYPTO_RSA_KEYEL_D,
123 { "d", LWS_GENCRYPTO_RSA_KEYEL_D, 2 | 0 },
260 !(((!jwk->e[LWS_GENCRYPTO_RSA_KEYEL_D].buf) && in cb_jwk()
263 (jwk->e[LWS_GENCRYPTO_RSA_KEYEL_D].buf && in cb_jwk()
294 !jwk->e[LWS_GENCRYPTO_RSA_KEYEL_D].buf && in cb_jwk()
303 jwk->e[LWS_GENCRYPTO_RSA_KEYEL_D].buf) in cb_jwk()
/third_party/libwebsockets/lib/tls/mbedtls/
Dmbedtls-x509.c398 mpi[LWS_GENCRYPTO_RSA_KEYEL_D] = &rsactx->MBEDTLS_PRIVATE(D); in lws_x509_public_to_jwk()
486 mpi[LWS_GENCRYPTO_RSA_KEYEL_D] = &rsactx->MBEDTLS_PRIVATE(D); in lws_x509_jwk_privkey_pem()
489 n = LWS_GENCRYPTO_RSA_KEYEL_D; in lws_x509_jwk_privkey_pem()
Dlws-genrsa.c97 if ( el[LWS_GENCRYPTO_RSA_KEYEL_D].len &&
/third_party/libwebsockets/lib/cose/
Dcose_key.c545 LWS_GENCRYPTO_RSA_KEYEL_D; in cb_cose_key()