Home
last modified time | relevance | path

Searched refs:BT_BITSTRING (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/libder/tests/
H A Dmake_corpus.c37 #define BITSTRING1 BT_BITSTRING, 0x04, 0x03, 0xc0, 0xc0, 0xcc
38 #define BITSTRING2 BT_BITSTRING, 0x04, 0x05, 0xdd, 0xdd, 0xff
39 static const uint8_t constructed_bitstring[] = { 0x20 | BT_BITSTRING,
H A Dtest_pubkey.c42 assert(libder_obj_type_simple(keystring) == BT_BITSTRING); in test_interface()
65 keystring = libder_obj_alloc_simple(ctx, BT_BITSTRING, pubdata, sizeof(pubdata)); in test_construction()
H A Dtest_privkey.c105 obj = libder_obj_alloc_simple(ctx, BT_BITSTRING, pubdata, sizeof(pubdata)); in test_construction()
/freebsd/contrib/libder/libder/
H A Dlibder_obj.c398 UTYPE(BT_BITSTRING); in libder_type_name()
547 case BT_BITSTRING: /* Primitive */ in libder_is_valid_obj()
586 case BT_BITSTRING: in libder_obj_may_coalesce_children()
742 if (type == BT_BITSTRING && child->disk_size > 1) in libder_obj_coalesce_children()
754 if (type == BT_BITSTRING) in libder_obj_coalesce_children()
791 if (type == BT_BITSTRING) { in libder_obj_coalesce_children()
1147 case BT_BITSTRING: in libder_obj_normalize()
1181 case BT_BITSTRING: in libder_obj_normalize()
H A Dlibder.h25 BT_BITSTRING = 0x03, enumerator
/freebsd/usr.sbin/pkg/
H A Decc.c183 if (obj == NULL || libder_obj_type_simple(obj) != BT_BITSTRING) in ecc_read_pkgkey()
424 if (keydata == NULL || libder_obj_type_simple(keydata) != BT_BITSTRING) in ecc_extract_pubkey()