Home
last modified time | relevance | path

Searched refs:aenum (Results 1 – 2 of 2) sorted by relevance

/openbsd/lib/libcrypto/asn1/
H A Da_enum.c93 freezero(aenum->data, aenum->length); in asn1_aenum_clear()
95 memset(aenum, 0, sizeof(*aenum)); in asn1_aenum_clear()
97 aenum->type = V_ASN1_ENUMERATED; in asn1_aenum_clear()
114 if (aenum == NULL || aenum->length < 0) in ASN1_ENUMERATED_get_int64()
123 CBS_init(&cbs, aenum->data, aenum->length); in ASN1_ENUMERATED_get_int64()
135 asn1_aenum_clear(aenum); in ASN1_ENUMERATED_set_int64()
144 return asn1_aint_set_uint64(uval, &aenum->data, &aenum->length); in ASN1_ENUMERATED_set_int64()
153 if (aenum == NULL) in ASN1_ENUMERATED_get()
362 ASN1_ENUMERATED *aenum = NULL; in c2i_ASN1_ENUMERATED_cbs() local
375 aenum->type = V_ASN1_ENUMERATED | (aenum->type & V_ASN1_NEG); in c2i_ASN1_ENUMERATED_cbs()
[all …]
H A Dasn1.h716 int ASN1_ENUMERATED_get_int64(int64_t *out_val, const ASN1_ENUMERATED *aenum);
717 int ASN1_ENUMERATED_set_int64(ASN1_ENUMERATED *aenum, int64_t val);