Searched refs:LWS_GENCRYPTO_EC_KEYEL_D (Results 1 – 8 of 8) sorted by relevance
/external/libwebsockets/lib/tls/openssl/ |
D | lws-genec.c | 136 if (el[LWS_GENCRYPTO_EC_KEYEL_D].len) { in lws_genec_eckey_import() 137 bn_d = BN_bin2bn(el[LWS_GENCRYPTO_EC_KEYEL_D].buf, in lws_genec_eckey_import() 138 el[LWS_GENCRYPTO_EC_KEYEL_D].len, NULL); in lws_genec_eckey_import() 191 if ((el[LWS_GENCRYPTO_EC_KEYEL_D].len && in lws_genec_keypair_import() 192 el[LWS_GENCRYPTO_EC_KEYEL_D].len != curve->key_bytes) || in lws_genec_keypair_import() 197 ctx->has_private = !!el[LWS_GENCRYPTO_EC_KEYEL_D].len; in lws_genec_keypair_import()
|
D | openssl-x509.c | 378 mpi[LWS_GENCRYPTO_EC_KEYEL_D] = NULL; in lws_x509_public_to_jwk() 540 jwk->e[LWS_GENCRYPTO_EC_KEYEL_D].len = n; in lws_x509_jwk_privkey_pem() 541 jwk->e[LWS_GENCRYPTO_EC_KEYEL_D].buf = lws_malloc(n, "ec"); in lws_x509_jwk_privkey_pem() 542 if (!jwk->e[LWS_GENCRYPTO_EC_KEYEL_D].buf) in lws_x509_jwk_privkey_pem() 545 m = BN_bn2binpad(cmpi, jwk->e[LWS_GENCRYPTO_EC_KEYEL_D].buf, in lws_x509_jwk_privkey_pem() 546 jwk->e[LWS_GENCRYPTO_EC_KEYEL_D].len); in lws_x509_jwk_privkey_pem()
|
/external/libwebsockets/lib/tls/mbedtls/ |
D | lws-genec.c | 72 if ((el[LWS_GENCRYPTO_EC_KEYEL_D].len && in lws_genec_keypair_import() 73 el[LWS_GENCRYPTO_EC_KEYEL_D].len != curve->key_bytes) || in lws_genec_keypair_import() 82 ctx->has_private = !!el[LWS_GENCRYPTO_EC_KEYEL_D].len; in lws_genec_keypair_import() 87 mbedtls_mpi_read_binary(&kp.d, el[LWS_GENCRYPTO_EC_KEYEL_D].buf, in lws_genec_keypair_import() 88 el[LWS_GENCRYPTO_EC_KEYEL_D].len)) in lws_genec_keypair_import()
|
D | mbedtls-x509.c | 313 mpi[LWS_GENCRYPTO_EC_KEYEL_D] = &ecpctx->d; in lws_x509_public_to_jwk() 393 mpi[LWS_GENCRYPTO_EC_KEYEL_D] = &ecpctx->d; in lws_x509_jwk_privkey_pem() 394 n = LWS_GENCRYPTO_EC_KEYEL_D; in lws_x509_jwk_privkey_pem()
|
/external/libwebsockets/lib/jose/jwe/ |
D | jwe-ecdh-es-aeskw.c | 252 lws_explicit_bzero(ephem->e[LWS_GENCRYPTO_EC_KEYEL_D].buf, in lws_jwe_encrypt_ecdh() 253 ephem->e[LWS_GENCRYPTO_EC_KEYEL_D].len); in lws_jwe_encrypt_ecdh() 254 lws_free_set_NULL(ephem->e[LWS_GENCRYPTO_EC_KEYEL_D].buf); in lws_jwe_encrypt_ecdh() 255 ephem->e[LWS_GENCRYPTO_EC_KEYEL_D].len = 0; in lws_jwe_encrypt_ecdh()
|
/external/libwebsockets/include/libwebsockets/ |
D | lws-gencrypto.h | 69 LWS_GENCRYPTO_EC_KEYEL_D = LWS_GENCRYPTO_RSA_KEYEL_D, enumerator
|
/external/libwebsockets/lib/jose/jwk/ |
D | jwk.c | 117 { "d", LWS_GENCRYPTO_EC_KEYEL_D, 2 | 0 },
|
/external/libwebsockets/lib/jose/jws/ |
D | jws.c | 828 !jws->jwk->e[LWS_GENCRYPTO_EC_KEYEL_D].buf) in lws_jws_sign_from_b64()
|