/third_party/libwebsockets/lib/tls/mbedtls/ |
D | mbedtls-x509.c | 386 mbedtls_mpi *mpi[LWS_GENCRYPTO_RSA_KEYEL_COUNT]; in lws_x509_public_to_jwk() local 396 mpi[LWS_GENCRYPTO_RSA_KEYEL_E] = &rsactx->MBEDTLS_PRIVATE(E); in lws_x509_public_to_jwk() 397 mpi[LWS_GENCRYPTO_RSA_KEYEL_N] = &rsactx->MBEDTLS_PRIVATE(N); in lws_x509_public_to_jwk() 398 mpi[LWS_GENCRYPTO_RSA_KEYEL_D] = &rsactx->MBEDTLS_PRIVATE(D); in lws_x509_public_to_jwk() 399 mpi[LWS_GENCRYPTO_RSA_KEYEL_P] = &rsactx->MBEDTLS_PRIVATE(P); in lws_x509_public_to_jwk() 400 mpi[LWS_GENCRYPTO_RSA_KEYEL_Q] = &rsactx->MBEDTLS_PRIVATE(Q); in lws_x509_public_to_jwk() 401 mpi[LWS_GENCRYPTO_RSA_KEYEL_DP] = &rsactx->MBEDTLS_PRIVATE(DP); in lws_x509_public_to_jwk() 402 mpi[LWS_GENCRYPTO_RSA_KEYEL_DQ] = &rsactx->MBEDTLS_PRIVATE(DQ); in lws_x509_public_to_jwk() 403 mpi[LWS_GENCRYPTO_RSA_KEYEL_QI] = &rsactx->MBEDTLS_PRIVATE(QP); in lws_x509_public_to_jwk() 413 mpi[LWS_GENCRYPTO_EC_KEYEL_X] = &ecpctx->MBEDTLS_PRIVATE(Q).MBEDTLS_PRIVATE(X); in lws_x509_public_to_jwk() [all …]
|
D | lws-genrsa.c | 74 mbedtls_mpi *mpi[LWS_GENCRYPTO_RSA_KEYEL_COUNT] = { local 87 mbedtls_mpi_read_binary(mpi[n], el[n].buf, 161 mbedtls_mpi *mpi[LWS_GENCRYPTO_RSA_KEYEL_COUNT] = { local 173 if (mpi[n] && mbedtls_mpi_size(mpi[n])) { 175 mbedtls_mpi_size(mpi[n]), "genrsakey"); 178 el[n].len = (uint32_t)mbedtls_mpi_size(mpi[n]); 179 if (mbedtls_mpi_write_binary(mpi[n], el[n].buf, 476 mbedtls_mpi *mpi[LWS_GENCRYPTO_RSA_KEYEL_COUNT] = { local 514 int m = (int)mbedtls_mpi_size(mpi[n]); 530 if (mbedtls_mpi_write_binary(mpi[n], p, (unsigned int)m)) [all …]
|
D | lws-genec.c | 244 mbedtls_mpi *mpi[3]; in lws_genecdh_new_keypair() local 281 mpi[0] = &kp->MBEDTLS_PRIVATE(Q).MBEDTLS_PRIVATE(X); in lws_genecdh_new_keypair() 282 mpi[1] = &kp->MBEDTLS_PRIVATE(d); in lws_genecdh_new_keypair() 283 mpi[2] = &kp->MBEDTLS_PRIVATE(Q).MBEDTLS_PRIVATE(Y); in lws_genecdh_new_keypair() 299 if (mbedtls_mpi_write_binary(mpi[n - 1], el[n].buf, in lws_genecdh_new_keypair() 326 mbedtls_mpi *mpi[3]; in lws_genecdsa_new_keypair() local 355 mpi[0] = &kp->MBEDTLS_PRIVATE(Q).MBEDTLS_PRIVATE(X); in lws_genecdsa_new_keypair() 356 mpi[1] = &kp->MBEDTLS_PRIVATE(d); in lws_genecdsa_new_keypair() 357 mpi[2] = &kp->MBEDTLS_PRIVATE(Q).MBEDTLS_PRIVATE(Y); in lws_genecdsa_new_keypair() 374 if (mbedtls_mpi_write_binary(mpi[n - 1], el[n].buf, el[n].len)) { in lws_genecdsa_new_keypair()
|
/third_party/libwebsockets/lib/tls/openssl/ |
D | openssl-x509.c | 483 BIGNUM *mpi[4]; in lws_x509_public_to_jwk() local 554 mpi[LWS_GENCRYPTO_EC_KEYEL_CRV] = NULL; in lws_x509_public_to_jwk() 555 mpi[LWS_GENCRYPTO_EC_KEYEL_X] = BN_new(); /* X */ in lws_x509_public_to_jwk() 556 mpi[LWS_GENCRYPTO_EC_KEYEL_D] = NULL; in lws_x509_public_to_jwk() 557 mpi[LWS_GENCRYPTO_EC_KEYEL_Y] = BN_new(); /* Y */ in lws_x509_public_to_jwk() 564 mpi[LWS_GENCRYPTO_EC_KEYEL_X], in lws_x509_public_to_jwk() 565 mpi[LWS_GENCRYPTO_EC_KEYEL_Y], in lws_x509_public_to_jwk() 567 BN_clear_free(mpi[LWS_GENCRYPTO_EC_KEYEL_X]); in lws_x509_public_to_jwk() 568 BN_clear_free(mpi[LWS_GENCRYPTO_EC_KEYEL_Y]); in lws_x509_public_to_jwk() 597 (const BIGNUM **)&mpi[LWS_GENCRYPTO_RSA_KEYEL_N], in lws_x509_public_to_jwk() [all …]
|
D | lws-genrsa.c | 183 const BIGNUM *mpi[5]; local 185 RSA_get0_key(ctx->rsa, &mpi[LWS_GENCRYPTO_RSA_KEYEL_N], 186 &mpi[LWS_GENCRYPTO_RSA_KEYEL_E], &mpi[LWS_GENCRYPTO_RSA_KEYEL_D]); 187 RSA_get0_factors(ctx->rsa, &mpi[LWS_GENCRYPTO_RSA_KEYEL_P], 188 &mpi[LWS_GENCRYPTO_RSA_KEYEL_Q]); 191 BIGNUM *mpi[5] = { ctx->rsa->e, ctx->rsa->n, ctx->rsa->d, 195 if (BN_num_bytes(mpi[n])) { 197 (unsigned int)BN_num_bytes(mpi[n]), "genrsakey"); 200 el[n].len = (unsigned int)BN_num_bytes(mpi[n]); 201 BN_bn2bin(mpi[n], el[n].buf);
|
/third_party/gstreamer/gstplugins_good/gst/rtp/ |
D | gstrtph263ppay.c | 219 caps_append (GstCaps * caps, GstStructure * in_s, guint x, guint y, guint mpi) in caps_append() argument 226 if (mpi < 1 || mpi > 32) in caps_append() 234 "framerate", GST_TYPE_FRACTION_RANGE, 0, 1, 30000, 1001 * mpi, NULL); in caps_append() 554 unsigned int xmax, ymax, mpi; in gst_rtp_h263p_pay_sink_getcaps() local 555 if (sscanf (str, "%u,%u,%u", &xmax, &ymax, &mpi) == 3) { in gst_rtp_h263p_pay_sink_getcaps() 556 if (xmax % 4 && ymax % 4 && mpi >= 1 && mpi <= 32) { in gst_rtp_h263p_pay_sink_getcaps() 557 caps = caps_append (caps, new_s, xmax, ymax, mpi); in gst_rtp_h263p_pay_sink_getcaps() 561 " %u x %u at %u, ignoring", xmax, ymax, mpi); in gst_rtp_h263p_pay_sink_getcaps() 571 int mpi = atoi (str); in gst_rtp_h263p_pay_sink_getcaps() local 572 caps = caps_append (caps, new_s, 1408, 1152, mpi); in gst_rtp_h263p_pay_sink_getcaps() [all …]
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_asn1write.data | 94 #ASN.1 Write mpi 0 97 ASN.1 Write mpi 1 100 ASN.1 Write mpi 0x7f 103 #ASN.1 Write mpi 0x80 106 #ASN.1 Write mpi 0xff 109 ASN.1 Write mpi 0x100 112 ASN.1 Write mpi, 127*8-1 bits 115 #ASN.1 Write mpi, 127*8 bits 118 ASN.1 Write mpi, 127*8+1 bits 121 ASN.1 Write mpi, 255*8-1 bits [all …]
|
D | test_suite_asn1write.function | 145 mbedtls_mpi mpi; 148 mbedtls_mpi_init( &mpi ); 149 TEST_ASSERT( mbedtls_mpi_read_binary( &mpi, val->x, val->len ) == 0 ); 155 ret = mbedtls_asn1_write_mpi( &data.p, data.start, &mpi ); 163 mbedtls_mpi_free( &mpi );
|
D | test_suite_asn1parse.function | 62 mbedtls_mpi mpi; 63 mbedtls_mpi_init( &mpi ); 65 ret = mbedtls_asn1_get_mpi( p, end, &mpi ); 66 mbedtls_mpi_free( &mpi );
|
D | test_suite_asn1parse.data | 289 INTEGER too large for mpi
|
/third_party/ffmpeg/libavcodec/ |
D | rkmppdec.c | 47 MppApi *mpi; member 108 ret = decoder->mpi->decode_put_packet(decoder->ctx, packet); in rkmpp_write_data() 135 if (decoder->mpi) { in rkmpp_release_decoder() 136 decoder->mpi->reset(decoder->ctx); in rkmpp_release_decoder() 195 ret = mpp_create(&decoder->ctx, &decoder->mpi); in rkmpp_init_decoder() 212 ret = decoder->mpi->control(decoder->ctx, MPP_SET_OUTPUT_BLOCK, ¶mS32); in rkmpp_init_decoder() 220 ret = decoder->mpi->control(decoder->ctx, MPP_SET_OUTPUT_BLOCK_TIMEOUT, ¶mS64); in rkmpp_init_decoder() 234 ret = decoder->mpi->control(decoder->ctx, MPP_DEC_SET_EXT_BUF_GROUP, decoder->frame_group); in rkmpp_init_decoder() 335 ret = decoder->mpi->decode_get_frame(decoder->ctx, &mppframe); in rkmpp_retrieve_frame() 353 decoder->mpi->control(decoder->ctx, MPP_DEC_SET_INFO_CHANGE_READY, NULL); in rkmpp_retrieve_frame() [all …]
|
/third_party/ffmpeg/libavfilter/ |
D | vf_fftdnoiz.c | 394 float sumr, sumi, difr, difi, mpr, mpi, mnr, mni; in filter_plane3d2() local 405 mpi = cbuff[2 * j + 1] - 0.5f * sumpni + difr; in filter_plane3d2() 406 mni = mpi - difr - difr; in filter_plane3d2() 411 power = mpr * mpr + mpi * mpi + 1e-15f; in filter_plane3d2() 414 mpi *= factor; in filter_plane3d2() 420 cbuff[2 * j + 1] = (sumi + mpi + mni) * scale; in filter_plane3d2()
|
/third_party/mbedtls/programs/ |
D | README.md | 48 ### Bignum (`mpi`) usage examples 50 * [`pkey/dh_genprime.c`](pkey/dh_genprime.c): shows how to use the bignum (`mpi`) interface to gene…
|
/third_party/mbedtls/library/ |
D | psa_crypto.c | 1136 mbedtls_mpi mpi; in psa_get_rsa_public_exponent() local 1140 mbedtls_mpi_init( &mpi ); in psa_get_rsa_public_exponent() 1142 ret = mbedtls_rsa_export( rsa, NULL, NULL, NULL, NULL, &mpi ); in psa_get_rsa_public_exponent() 1145 if( mbedtls_mpi_cmp_int( &mpi, 65537 ) == 0 ) in psa_get_rsa_public_exponent() 1152 buflen = mbedtls_mpi_size( &mpi ); in psa_get_rsa_public_exponent() 1159 ret = mbedtls_mpi_write_binary( &mpi, buffer, buflen ); in psa_get_rsa_public_exponent() 1166 mbedtls_mpi_free( &mpi ); in psa_get_rsa_public_exponent()
|
/third_party/mbedtls/tests/ |
D | CMakeLists.txt | 209 add_test_suite(mpi)
|
/third_party/openssl/test/ |
D | bntest.c | 35 const char *mpi; member 2054 || !TEST_mem_eq(test->mpi, test->mpi_len, scratch, mpi_len)) in test_mpi()
|
/third_party/json/cmake/ |
D | ci.cmake | 568 …null,optin.cplusplus.UninitializedObject,optin.cplusplus.VirtualCall,optin.mpi.MPI-Checker,optin.o…
|
/third_party/mbedtls/ |
D | ChangeLog | 580 those always built an mpi object with at least one limb. 626 function and some mpi operations. 3316 * mpi_size() and mpi_msb() would segfault when called on an mpi that is 3717 * Missing MPI_CHK calls added around unguarded mpi calls (found by 4171 * Allow R and A to point to same mpi in mpi_div_mpi (found by Manuel 4300 * Allow R and A to point to same mpi in mpi_div_mpi (found by Manuel
|