Home
last modified time | relevance | path

Searched refs:LWS_GENCRYPTO_EC_KEYEL_D (Results 1 – 10 of 10) sorted by relevance

/third_party/libwebsockets/minimal-examples/api-tests/api-test-cose/
Dkeys.c730 ck->e[LWS_GENCRYPTO_EC_KEYEL_D].len != sizeof(key1_d) || in test_cose_keys()
733 memcmp(ck->e[LWS_GENCRYPTO_EC_KEYEL_D].buf, key1_d, sizeof(key1_d))) in test_cose_keys()
762 ck->e[LWS_GENCRYPTO_EC_KEYEL_D].len != sizeof(key2_d) || in test_cose_keys()
765 memcmp(ck->e[LWS_GENCRYPTO_EC_KEYEL_D].buf, key2_d, sizeof(key2_d))) in test_cose_keys()
804 ck->e[LWS_GENCRYPTO_EC_KEYEL_D].len != sizeof(key4_d) || in test_cose_keys()
807 memcmp(ck->e[LWS_GENCRYPTO_EC_KEYEL_D].buf, key4_d, sizeof(key4_d))) in test_cose_keys()
840 ck->e[LWS_GENCRYPTO_EC_KEYEL_D].len != sizeof(key6_d) || in test_cose_keys()
843 memcmp(ck->e[LWS_GENCRYPTO_EC_KEYEL_D].buf, key6_d, sizeof(key6_d))) in test_cose_keys()
/third_party/libwebsockets/lib/tls/openssl/
Dlws-genec.c178 if (el[LWS_GENCRYPTO_EC_KEYEL_D].len) { in lws_genec_eckey_import()
179 bn_d = BN_bin2bn(el[LWS_GENCRYPTO_EC_KEYEL_D].buf, in lws_genec_eckey_import()
180 (int)el[LWS_GENCRYPTO_EC_KEYEL_D].len, NULL); in lws_genec_eckey_import()
236 if ((el[LWS_GENCRYPTO_EC_KEYEL_D].len && in lws_genec_keypair_import()
237 el[LWS_GENCRYPTO_EC_KEYEL_D].len != curve->key_bytes) || in lws_genec_keypair_import()
242 ctx->has_private = !!el[LWS_GENCRYPTO_EC_KEYEL_D].len; in lws_genec_keypair_import()
Dopenssl-x509.c556 mpi[LWS_GENCRYPTO_EC_KEYEL_D] = NULL; in lws_x509_public_to_jwk()
718 jwk->e[LWS_GENCRYPTO_EC_KEYEL_D].len = (unsigned int)n; in lws_x509_jwk_privkey_pem()
719 jwk->e[LWS_GENCRYPTO_EC_KEYEL_D].buf = lws_malloc((unsigned int)n, "ec"); in lws_x509_jwk_privkey_pem()
720 if (!jwk->e[LWS_GENCRYPTO_EC_KEYEL_D].buf) in lws_x509_jwk_privkey_pem()
723 m = BN_bn2binpad(cmpi, jwk->e[LWS_GENCRYPTO_EC_KEYEL_D].buf, in lws_x509_jwk_privkey_pem()
724 (int32_t)jwk->e[LWS_GENCRYPTO_EC_KEYEL_D].len); in lws_x509_jwk_privkey_pem()
/third_party/libwebsockets/lib/tls/mbedtls/
Dlws-genec.c81 if ((el[LWS_GENCRYPTO_EC_KEYEL_D].len && in lws_genec_keypair_import()
82 el[LWS_GENCRYPTO_EC_KEYEL_D].len != curve->key_bytes) || in lws_genec_keypair_import()
92 ctx->has_private = !!el[LWS_GENCRYPTO_EC_KEYEL_D].len; in lws_genec_keypair_import()
98 el[LWS_GENCRYPTO_EC_KEYEL_D].buf, in lws_genec_keypair_import()
99 el[LWS_GENCRYPTO_EC_KEYEL_D].len)) in lws_genec_keypair_import()
Dmbedtls-x509.c414 mpi[LWS_GENCRYPTO_EC_KEYEL_D] = &ecpctx->MBEDTLS_PRIVATE(d); in lws_x509_public_to_jwk()
498 mpi[LWS_GENCRYPTO_EC_KEYEL_D] = &ecpctx->MBEDTLS_PRIVATE(d); in lws_x509_jwk_privkey_pem()
499 n = LWS_GENCRYPTO_EC_KEYEL_D; in lws_x509_jwk_privkey_pem()
/third_party/libwebsockets/lib/jose/jwe/
Djwe-ecdh-es-aeskw.c252 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()
/third_party/libwebsockets/include/libwebsockets/
Dlws-gencrypto.h76 LWS_GENCRYPTO_EC_KEYEL_D = LWS_GENCRYPTO_RSA_KEYEL_D, enumerator
/third_party/libwebsockets/lib/cose/
Dcose_key.c506 LWS_GENCRYPTO_EC_KEYEL_D; in cb_cose_key()
527 LWS_GENCRYPTO_EC_KEYEL_D; in cb_cose_key()
/third_party/libwebsockets/lib/jose/jwk/
Djose_key.c105 { "d", LWS_GENCRYPTO_EC_KEYEL_D, 2 | 0 },
/third_party/libwebsockets/lib/jose/jws/
Djws.c829 !jws->jwk->e[LWS_GENCRYPTO_EC_KEYEL_D].buf) in lws_jws_sign_from_b64()