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/ |
D | keys.c | 730 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/ |
D | lws-genec.c | 178 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()
|
D | openssl-x509.c | 556 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/ |
D | lws-genec.c | 81 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()
|
D | mbedtls-x509.c | 414 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/ |
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()
|
/third_party/libwebsockets/include/libwebsockets/ |
D | lws-gencrypto.h | 76 LWS_GENCRYPTO_EC_KEYEL_D = LWS_GENCRYPTO_RSA_KEYEL_D, enumerator
|
/third_party/libwebsockets/lib/cose/ |
D | cose_key.c | 506 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/ |
D | jose_key.c | 105 { "d", LWS_GENCRYPTO_EC_KEYEL_D, 2 | 0 },
|
/third_party/libwebsockets/lib/jose/jws/ |
D | jws.c | 829 !jws->jwk->e[LWS_GENCRYPTO_EC_KEYEL_D].buf) in lws_jws_sign_from_b64()
|