/third_party/openssl/crypto/evp/ |
D | m_sha3.c | 291 # define EVP_MD_SHA3(bitlen) \ argument 292 const EVP_MD *EVP_sha3_##bitlen(void) \ 294 static const EVP_MD s390x_sha3_##bitlen##_md = { \ 295 NID_sha3_##bitlen, \ 296 NID_RSA_SHA3_##bitlen, \ 297 bitlen / 8, \ 304 (KECCAK1600_WIDTH - bitlen * 2) / 8, \ 307 static const EVP_MD sha3_##bitlen##_md = { \ 308 NID_sha3_##bitlen, \ 309 NID_RSA_SHA3_##bitlen, \ [all …]
|
D | e_aes_cbc_hmac_sha1.c | 485 unsigned int res, maxpad, pad, bitlen; in aesni_cbc_hmac_sha1_cipher() local 585 bitlen = key->md.Nl + (inp_len << 3); /* at most 18 bits */ in aesni_cbc_hmac_sha1_cipher() 587 bitlen = BSWAP4(bitlen); in aesni_cbc_hmac_sha1_cipher() 590 mac.c[1] = (unsigned char)(bitlen >> 16); in aesni_cbc_hmac_sha1_cipher() 591 mac.c[2] = (unsigned char)(bitlen >> 8); in aesni_cbc_hmac_sha1_cipher() 592 mac.c[3] = (unsigned char)bitlen; in aesni_cbc_hmac_sha1_cipher() 593 bitlen = mac.u[0]; in aesni_cbc_hmac_sha1_cipher() 614 data->u[SHA_LBLOCK - 1] |= bitlen & mask; in aesni_cbc_hmac_sha1_cipher() 630 data->u[SHA_LBLOCK - 1] |= bitlen & mask; in aesni_cbc_hmac_sha1_cipher() 642 data->u[SHA_LBLOCK - 1] = bitlen; in aesni_cbc_hmac_sha1_cipher()
|
D | e_aes_cbc_hmac_sha256.c | 519 unsigned int res, maxpad, pad, bitlen; in aesni_cbc_hmac_sha256_cipher() local 574 bitlen = key->md.Nl + (inp_len << 3); /* at most 18 bits */ in aesni_cbc_hmac_sha256_cipher() 576 bitlen = BSWAP4(bitlen); in aesni_cbc_hmac_sha256_cipher() 579 mac.c[1] = (unsigned char)(bitlen >> 16); in aesni_cbc_hmac_sha256_cipher() 580 mac.c[2] = (unsigned char)(bitlen >> 8); in aesni_cbc_hmac_sha256_cipher() 581 mac.c[3] = (unsigned char)bitlen; in aesni_cbc_hmac_sha256_cipher() 582 bitlen = mac.u[0]; in aesni_cbc_hmac_sha256_cipher() 606 data->u[SHA_LBLOCK - 1] |= bitlen & mask; in aesni_cbc_hmac_sha256_cipher() 625 data->u[SHA_LBLOCK - 1] |= bitlen & mask; in aesni_cbc_hmac_sha256_cipher() 640 data->u[SHA_LBLOCK - 1] = bitlen; in aesni_cbc_hmac_sha256_cipher()
|
/third_party/openssl/crypto/pem/ |
D | pvkfmt.c | 82 unsigned int bitlen, int ispub); 84 unsigned int bitlen, int ispub); 149 static unsigned int blob_length(unsigned bitlen, int isdss, int ispub) in blob_length() argument 152 nbyte = (bitlen + 7) >> 3; in blob_length() 153 hnbyte = (bitlen + 15) >> 4; in blob_length() 186 unsigned int bitlen, magic; in do_b2i() local 188 if (do_blob_header(&p, length, &magic, &bitlen, &isdss, &ispub) <= 0) { in do_b2i() 193 if (length < blob_length(bitlen, isdss, ispub)) { in do_b2i() 198 return b2i_dss(&p, bitlen, ispub); in do_b2i() 200 return b2i_rsa(&p, bitlen, ispub); in do_b2i() [all …]
|
/third_party/openssl/crypto/whrlpool/ |
D | wp_dgst.c | 98 c->bitlen[0] += bits; in WHIRLPOOL_BitUpdate() 99 if (c->bitlen[0] < bits) { /* overflow */ in WHIRLPOOL_BitUpdate() 102 c->bitlen[n]++; in WHIRLPOOL_BitUpdate() 103 } while (c->bitlen[n] == 0 in WHIRLPOOL_BitUpdate() 234 for (v = c->bitlen[i], j = 0; j < sizeof(size_t); j++, v >>= 8) in WHIRLPOOL_Final()
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_pk.data | 71 EC(DSA) verify test vector: good, bitlen(r) = 256 75 EC(DSA) verify test vector: good, bitlen(r) = 255 79 EC(DSA) verify test vector: good, bitlen(r) = 248 83 EC(DSA) verify test vector: good, bitlen(r) = 247 87 EC(DSA) verify test vector: good, bitlen(s) = 256 91 EC(DSA) verify test vector: good, bitlen(s) = 255 95 EC(DSA) verify test vector: good, bitlen(s) = 248 99 EC(DSA) verify test vector: good, bitlen(s) = 247
|
D | test_suite_pk.function | 128 const size_t bitlen = 256; /* harcoded in genkey() */ 157 TEST_ASSERT( mbedtls_pk_get_bitlen( &pk ) == bitlen ); 158 TEST_ASSERT( mbedtls_pk_get_len( &pk ) == bitlen / 8 ); 323 void pk_utils( int type, int parameter, int bitlen, int len, char * name ) 334 TEST_ASSERT( mbedtls_pk_get_bitlen( &pk ) == (unsigned) bitlen );
|
/third_party/mbedtls/library/ |
D | debug.c | 223 size_t bitlen; in mbedtls_debug_print_mpi() local 235 bitlen = mbedtls_mpi_bitlen( X ); in mbedtls_debug_print_mpi() 238 text, (unsigned) bitlen ); in mbedtls_debug_print_mpi() 241 if( bitlen == 0 ) in mbedtls_debug_print_mpi() 249 for( n = (int) ( ( bitlen - 1 ) / 8 ); n >= 0; n-- ) in mbedtls_debug_print_mpi()
|
D | ssl_tls.c | 3981 unsigned int bitlen ) in mbedtls_ssl_conf_dhm_min_bitlen() argument 3983 conf->dhm_min_bitlen = bitlen; in mbedtls_ssl_conf_dhm_min_bitlen()
|
/third_party/FreeBSD/sys/crypto/sha2/ |
D | sha256c.c | 249 uint64_t bitlen; in SHA256_Update() local 257 bitlen = len << 3; in SHA256_Update() 260 ctx->count += bitlen; in SHA256_Update()
|
/third_party/toybox/lib/ |
D | deflate.c | 165 static void len2huff(struct huff *huff, char bitlen[], int len) in len2huff() argument 172 for (i = 0; i<len; i++) huff->length[bitlen[i]]++; in len2huff() 178 for (i = 0; i<len; i++) if (bitlen[i]) huff->symbol[offset[bitlen[i]]++] = i; in len2huff()
|
/third_party/openssl/include/openssl/ |
D | whrlpool.h | 34 size_t bitlen[WHIRLPOOL_COUNTER / sizeof(size_t)]; member
|
/third_party/ffmpeg/libavcodec/ |
D | agm.c | 940 int bitlen = bitlens[i]; in make_new_tree() local 941 int blcount = blcounts[bitlen]; in make_new_tree() 943 zlcount += bitlen < 1; in make_new_tree() 944 syms[(bitlen << 8) + blcount] = i; in make_new_tree() 945 blcounts[bitlen]++; in make_new_tree() 1015 static int build_huff(const uint8_t *bitlen, VLC *vlc) in build_huff() argument 1023 int ret = make_new_tree(bitlen, new_codes); in build_huff() 1028 if (bitlen[i]) { in build_huff() 1029 bits[nb_codes] = bitlen[i]; in build_huff()
|
D | qcelpdata.h | 79 uint8_t bitlen; /**< number of bits to read */ member
|
D | qcelpdec.c | 728 unpacked_data[bitmaps->index] |= get_bits(&q->gb, bitmaps->bitlen) << bitmaps->bitpos; in qcelp_decode_frame()
|
/third_party/openssl/crypto/x509v3/ |
D | v3_addr.c | 391 int bytelen = (prefixlen + 7) / 8, bitlen = prefixlen % 8; in make_addressPrefix() local 404 if (bitlen > 0) { in make_addressPrefix() 405 aor->u.addressPrefix->data[bytelen - 1] &= ~(0xFF >> bitlen); in make_addressPrefix() 406 aor->u.addressPrefix->flags |= 8 - bitlen; in make_addressPrefix()
|
/third_party/openssl/crypto/modes/ |
D | gcm128.c | 1818 u128 bitlen; local 1854 bitlen.hi = alen; 1855 bitlen.lo = clen; 1856 memcpy(ctx->Xn + mres, &bitlen, sizeof(bitlen)); 1857 mres += sizeof(bitlen);
|
/third_party/toybox/toys/pending/ |
D | ip.c | 1118 int family, bytelen, bitlen; in ipaddrupdate() member 1211 local.bitlen = netmask; in ipaddrupdate() 1237 if (local.bitlen <= 30) { in ipaddrupdate() 1238 for (i = 31; i >= local.bitlen; i--) { in ipaddrupdate() 1250 req.ifadd.ifa_prefixlen = local.bitlen; in ipaddrupdate()
|
/third_party/openssl/engines/ |
D | e_capi.c | 691 rsa_modlen = rp->bitlen / 8; in capi_get_pkey() 718 dsa_plen = dp->bitlen / 8; in capi_get_pkey()
|
/third_party/mbedtls/include/mbedtls/ |
D | ssl.h | 3178 unsigned int bitlen );
|
/third_party/pcre2/pcre2/src/sljit/ |
D | sljitNativeS390X.c | 389 #define CHECK_SIGNED(v, bitlen) \ in HAVE_FACILITY() argument 390 ((v) >= -(1 << ((bitlen) - 1)) && (v) < (1 << ((bitlen) - 1))) in HAVE_FACILITY()
|
/third_party/node/tools/ |
D | lint-md.mjs | 9468 var code, idx, bitlen = 0, max = data.length, map = BASE64_MAP; 9480 bitlen += 6; 9484 return (bitlen % 8) === 0;
|