Searched refs:libder_obj_alloc_simple (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/libder/tests/ |
H A D | test_privkey.c | 75 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 D | test_pubkey.c | 58 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 D | libder.h | 162 struct libder_object *libder_obj_alloc_simple(struct libder_ctx *, uint8_t, const uint8_t *,
|
H A D | libder_obj.c | 89 libder_obj_alloc_simple(struct libder_ctx *ctx, uint8_t stype, in libder_obj_alloc_simple() function
|