Home
last modified time | relevance | path

Searched refs:pbits (Results 26 - 47 of 47) sorted by relevance

12

/third_party/mbedtls/library/
H A Dpkparse.c164 grp->pbits = mbedtls_mpi_bitlen(&grp->P); in pk_group_from_specified()
274 if (grp->pbits == ref.pbits && grp->nbits == ref.nbits && in pk_group_id_from_group()
H A Dpk_wrap.c531 return ecp->grp.pbits; in eckey_get_bitlen()
890 if (rs->ecdsa_ctx.grp.pbits == 0) { in eckey_verify_rs_wrap()
917 if (rs->ecdsa_ctx.grp.pbits == 0) { in eckey_sign_rs_wrap()
H A Dpkwrite.c203 byte_length = (ec->grp.pbits + 7) / 8; in pk_write_ec_private()
H A Decp.c253 if (grp->pbits >= 512) { in mbedtls_ecp_check_budget()
255 } else if (grp->pbits >= 384) { in mbedtls_ecp_check_budget()
520 grp->pbits = 0; in mbedtls_ecp_group_init()
1009 mbedtls_mpi_bitlen(N) > 2 * grp->pbits) { in ecp_modp()
H A Decjpake.c782 x_bytes = (ctx->grp.pbits + 7) / 8; in mbedtls_ecjpake_derive_secret()
H A Decp_curves_new.c4544 grp->pbits = mbedtls_mpi_bitlen(&grp->P); in ecp_group_load()
4673 grp->pbits = mbedtls_mpi_bitlen(&grp->P); in ecp_use_curve25519()
4734 grp->pbits = mbedtls_mpi_bitlen(&grp->P); in ecp_use_curve448()
H A Decp_curves.c4534 grp->pbits = mbedtls_mpi_bitlen(&grp->P); in ecp_group_load()
4633 grp->pbits = mbedtls_mpi_bitlen(&grp->P); in ecp_use_curve25519()
4687 grp->pbits = mbedtls_mpi_bitlen(&grp->P); in ecp_use_curve448()
/kernel/linux/linux-5.10/drivers/net/hamradio/
H A Dyam.c432 unsigned char *pbits; in fpga_download() local
434 pbits = get_mcs(bitrate); in fpga_download()
435 if (pbits == NULL) in fpga_download()
440 if (fpga_write(iobase, pbits[i])) { in fpga_download()
/kernel/linux/linux-6.6/drivers/net/hamradio/
H A Dyam.c432 unsigned char *pbits; in fpga_download() local
434 pbits = get_mcs(bitrate); in fpga_download()
435 if (pbits == NULL) in fpga_download()
440 if (fpga_write(iobase, pbits[i])) { in fpga_download()
/third_party/ffmpeg/libavcodec/
H A Dvc2enc.c188 int pbits = 0, bits = 0, topbit = 1, maxval = 1; in put_vc2_ue_uint() local
205 pbits <<= 2; in put_vc2_ue_uint()
207 pbits |= 0x1; in put_vc2_ue_uint()
210 put_bits(pb, bits*2 + 1, (pbits << 1) | 1); in put_vc2_ue_uint()
/third_party/openssl/test/
H A Dendecoder_legacy_test.c200 static size_t pbits = 1024; /* With 160 Q bits, we MUST use 1024 P bits */ variable
202 OSSL_PARAM_size_t("pbits", &pbits),
H A Devp_extra_test2.c367 unsigned int pbits = 512; /* minimum allowed for speed */ in test_dh_paramgen() local
369 params[0] = OSSL_PARAM_construct_uint(OSSL_PKEY_PARAM_FFC_PBITS, &pbits); in test_dh_paramgen()
1039 unsigned int pbits = 512; /* minimum allowed for speed */ in test_dsa_fromdata_digest_prop() local
1041 *p++ = OSSL_PARAM_construct_uint(OSSL_PKEY_PARAM_FFC_PBITS, &pbits); in test_dsa_fromdata_digest_prop()
H A Dendecode_test.c1270 static size_t pbits = 1024; /* With 160 Q bits, we MUST use 1024 P bits */ in setup_tests() local
1272 OSSL_PARAM_size_t("pbits", &pbits), in setup_tests()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
H A Di915_drv.h1326 const unsigned int pbits = in __platform_mask_index() local
1331 pbits * ARRAY_SIZE(info->platform_mask)); in __platform_mask_index()
1333 return p / pbits; in __platform_mask_index()
1340 const unsigned int pbits = in __platform_mask_bit() local
1343 return p % pbits + INTEL_SUBPLATFORM_BITS; in __platform_mask_bit()
/third_party/mbedtls/include/mbedtls/
H A Decp.h216 * range of <code>0..2^(2*pbits)-1</code>, and transforms it in-place to an integer
217 * which is congruent mod \p P to the given MPI, and is close enough to \p pbits
227 * \c pbits and \c nbits must have the same type and semantics
245 size_t pbits; /*!< The number of bits in \p P.*/ member
/kernel/linux/linux-5.10/drivers/nvmem/
H A Dcore.c1298 u8 v, *p, *buf, *b, pbyte, pbits; in nvmem_cell_prepare_write_buffer() local
1321 pbits = pbyte >> (BITS_PER_BYTE - 1 - bit_offset); in nvmem_cell_prepare_write_buffer()
1325 *b++ |= pbits; in nvmem_cell_prepare_write_buffer()
/kernel/linux/linux-5.10/arch/s390/mm/
H A Dgmap.c1011 unsigned long pbits = 0; in gmap_protect_pte() local
1020 pbits |= (bits & GMAP_NOTIFY_MPROT) ? PGSTE_IN_BIT : 0; in gmap_protect_pte()
1021 pbits |= (bits & GMAP_NOTIFY_SHADOW) ? PGSTE_VSIE_BIT : 0; in gmap_protect_pte()
1023 rc = ptep_force_prot(gmap->mm, gaddr, ptep, prot, pbits); in gmap_protect_pte()
/third_party/node/deps/openssl/openssl/include/openssl/
H A Ddh.h39 int EVP_PKEY_CTX_set_dh_paramgen_prime_len(EVP_PKEY_CTX *ctx, int pbits);
/third_party/openssl/include/openssl/
H A Ddh.h39 int EVP_PKEY_CTX_set_dh_paramgen_prime_len(EVP_PKEY_CTX *ctx, int pbits);
/kernel/linux/linux-6.6/arch/s390/mm/
H A Dgmap.c1027 unsigned long pbits = 0; in gmap_protect_pte() local
1036 pbits |= (bits & GMAP_NOTIFY_MPROT) ? PGSTE_IN_BIT : 0; in gmap_protect_pte()
1037 pbits |= (bits & GMAP_NOTIFY_SHADOW) ? PGSTE_VSIE_BIT : 0; in gmap_protect_pte()
1039 rc = ptep_force_prot(gmap->mm, gaddr, ptep, prot, pbits); in gmap_protect_pte()
/kernel/linux/linux-6.6/drivers/nvmem/
H A Dcore.c1661 u8 v, *p, *buf, *b, pbyte, pbits; in nvmem_cell_prepare_write_buffer() local
1684 pbits = pbyte >> (BITS_PER_BYTE - 1 - bit_offset); in nvmem_cell_prepare_write_buffer()
1688 *b++ |= pbits; in nvmem_cell_prepare_write_buffer()
/third_party/pcre2/pcre2/src/
H A Dpcre2_compile.c5783 uint8_t pbits[32]; in compile_branch() local
5848 memcpy(pbits, cbits + posix_class_maps[posix_class], in compile_branch()
5859 for (int i = 0; i < 32; i++) pbits[i] |= cbits[(int)i + taboffset]; in compile_branch()
5861 for (int i = 0; i < 32; i++) pbits[i] &= ~cbits[(int)i + taboffset]; in compile_branch()
5868 if (tabopt == 1) pbits[1] &= ~0x3c; in compile_branch()
5869 else if (tabopt == 2) pbits[11] &= 0x7f; in compile_branch()
5875 for (int i = 0; i < 32; i++) classbits[i] |= (uint8_t)(~pbits[i]); in compile_branch()
5877 for (int i = 0; i < 32; i++) classbits[i] |= pbits[i]; in compile_branch()

Completed in 70 milliseconds

12