Searched refs:bit_string (Results 1 – 11 of 11) sorted by relevance
/external/libsrtp2/crypto/math/ |
D | datatypes.c | 82 char bit_string[MAX_PRINT_STRING_LEN]; variable 104 bit_string[i] = srtp_nibble_to_hex_char(*str >> 4); in srtp_octet_string_hex_string() 105 bit_string[i + 1] = srtp_nibble_to_hex_char(*str++ & 0xF); in srtp_octet_string_hex_string() 107 bit_string[i] = 0; /* null terminate string */ in srtp_octet_string_hex_string() 108 return bit_string; in srtp_octet_string_hex_string() 116 bit_string[j++] = srtp_nibble_to_hex_char(x->v8[i] >> 4); in v128_hex_string() 117 bit_string[j++] = srtp_nibble_to_hex_char(x->v8[i] & 0xF); in v128_hex_string() 120 bit_string[j] = 0; /* null terminate string */ in v128_hex_string() 121 return bit_string; in v128_hex_string() 132 bit_string[i] = '1'; in v128_bit_string() [all …]
|
/external/libsrtp2/test/ |
D | util.c | 52 char bit_string[MAX_PRINT_STRING_LEN + 1]; variable 160 bit_string[i] = nibble_to_hex_char(*str >> 4); in octet_string_hex_string() 161 bit_string[i + 1] = nibble_to_hex_char(*str++ & 0xF); in octet_string_hex_string() 163 bit_string[i] = 0; /* null terminate string */ in octet_string_hex_string() 164 return bit_string; in octet_string_hex_string()
|
/external/python/cryptography/src/cryptography/hazmat/backends/openssl/ |
D | decode_asn1.py | 396 def _decode_key_usage(backend, bit_string): argument 397 bit_string = backend._ffi.cast("ASN1_BIT_STRING *", bit_string) 398 bit_string = backend._ffi.gc(bit_string, backend._lib.ASN1_BIT_STRING_free) 400 digital_signature = get_bit(bit_string, 0) == 1 401 content_commitment = get_bit(bit_string, 1) == 1 402 key_encipherment = get_bit(bit_string, 2) == 1 403 data_encipherment = get_bit(bit_string, 3) == 1 404 key_agreement = get_bit(bit_string, 4) == 1 405 key_cert_sign = get_bit(bit_string, 5) == 1 406 crl_sign = get_bit(bit_string, 6) == 1 [all …]
|
/external/rust/crates/quiche/deps/boringssl/src/ssl/ |
D | ssl_cert.cc | 594 CBS bit_string; in ssl_cert_check_key_usage() local 595 if (!CBS_get_asn1(&contents, &bit_string, CBS_ASN1_BITSTRING) || in ssl_cert_check_key_usage() 603 if (!CBS_is_valid_asn1_bitstring(&bit_string)) { in ssl_cert_check_key_usage() 608 if (!CBS_asn1_bitstring_has_bit(&bit_string, bit)) { in ssl_cert_check_key_usage()
|
/external/boringssl/src/ssl/ |
D | ssl_cert.cc | 594 CBS bit_string; in ssl_cert_check_key_usage() local 595 if (!CBS_get_asn1(&contents, &bit_string, CBS_ASN1_BITSTRING) || in ssl_cert_check_key_usage() 603 if (!CBS_is_valid_asn1_bitstring(&bit_string)) { in ssl_cert_check_key_usage() 608 if (!CBS_asn1_bitstring_has_bit(&bit_string, bit)) { in ssl_cert_check_key_usage()
|
/external/scapy/scapy/ |
D | asn1fields.py | 564 bit_string, remain = ASN1F_BIT_STRING.m2i(self, pkt, s) 565 if len(bit_string.val) % 8 != 0: 567 p,s = self.extract_packet(self.cls, bit_string.val_readable)
|
/external/boringssl/src/crypto/x509/ |
D | asn1_gen.c | 787 (str, ',', 1, bitstr_cb, atmp->value.bit_string)) { in asn1_str2type()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/x509/ |
D | asn1_gen.c | 787 (str, ',', 1, bitstr_cb, atmp->value.bit_string)) { in asn1_str2type()
|
/external/boringssl/src/include/openssl/ |
D | asn1.h | 593 ASN1_BIT_STRING *bit_string; member
|
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/ |
D | asn1.h | 445 ASN1_BIT_STRING * bit_string; member
|
/external/python/asn1crypto/tests/ |
D | test_core.py | 508 def bit_string(self, native, der_bytes): member in CoreTests
|