Home
last modified time | relevance | path

Searched refs:libder_obj_alloc_simple (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/libder/tests/
H A Dtest_privkey.c75 root = libder_obj_alloc_simple(ctx, BT_SEQUENCE, NULL, 0); in test_construction()
79 obj = libder_obj_alloc_simple(ctx, BT_INTEGER, &data, 1); in test_construction()
84 obj = libder_obj_alloc_simple(ctx, BT_OCTETSTRING, privdata, sizeof(privdata)); in test_construction()
89 oidp = libder_obj_alloc_simple(ctx, in test_construction()
94 pubp = libder_obj_alloc_simple(ctx, in test_construction()
100 obj = libder_obj_alloc_simple(ctx, BT_OID, oid_secp112r1, sizeof(oid_secp112r1)); in test_construction()
105 obj = libder_obj_alloc_simple(ctx, BT_BITSTRING, pubdata, sizeof(pubdata)); in test_construction()
H A Dtest_pubkey.c58 root = libder_obj_alloc_simple(ctx, BT_SEQUENCE, NULL, 0); in test_construction()
61 params = libder_obj_alloc_simple(ctx, BT_SEQUENCE, NULL, 0); in test_construction()
65 keystring = libder_obj_alloc_simple(ctx, BT_BITSTRING, pubdata, sizeof(pubdata)); in test_construction()
70 obj = libder_obj_alloc_simple(ctx, BT_OID, oid_ecpubkey, sizeof(oid_ecpubkey)); in test_construction()
74 obj = libder_obj_alloc_simple(ctx, BT_OID, oid_secp256k1, sizeof(oid_secp256k1)); in test_construction()
/freebsd/contrib/libder/libder/
H A Dlibder.h162 struct libder_object *libder_obj_alloc_simple(struct libder_ctx *, uint8_t, const uint8_t *,
H A Dlibder_obj.c89 libder_obj_alloc_simple(struct libder_ctx *ctx, uint8_t stype, in libder_obj_alloc_simple() function