Lines Matching refs:tag

26     uint8_t tag;  member
233 uint8_t tag; in qcrypto_der_decode_tlv() local
240 tag = qcrypto_der_cut_byte(data, dlen); in qcrypto_der_decode_tlv()
241 if (tag != expected_tag) { in qcrypto_der_decode_tlv()
243 expected_tag, tag); in qcrypto_der_decode_tlv()
262 const uint8_t tag = QCRYPTO_DER_TAG(QCRYPTO_DER_TAG_CLASS_UNIV, in qcrypto_der_decode_int() local
265 return qcrypto_der_decode_tlv(tag, data, dlen, cb, ctx, errp); in qcrypto_der_decode_int()
271 uint8_t tag = QCRYPTO_DER_TAG(QCRYPTO_DER_TAG_CLASS_UNIV, in qcrypto_der_decode_seq() local
274 return qcrypto_der_decode_tlv(tag, data, dlen, cb, ctx, errp); in qcrypto_der_decode_seq()
280 uint8_t tag = QCRYPTO_DER_TAG(QCRYPTO_DER_TAG_CLASS_UNIV, in qcrypto_der_decode_octet_str() local
283 return qcrypto_der_decode_tlv(tag, data, dlen, cb, ctx, errp); in qcrypto_der_decode_octet_str()
289 uint8_t tag = QCRYPTO_DER_TAG(QCRYPTO_DER_TAG_CLASS_UNIV, in qcrypto_der_decode_bit_str() local
292 return qcrypto_der_decode_tlv(tag, data, dlen, cb, ctx, errp); in qcrypto_der_decode_bit_str()
298 uint8_t tag = QCRYPTO_DER_TAG(QCRYPTO_DER_TAG_CLASS_UNIV, in qcrypto_der_decode_oid() local
301 return qcrypto_der_decode_tlv(tag, data, dlen, cb, ctx, errp); in qcrypto_der_decode_oid()
307 uint8_t tag = QCRYPTO_DER_TAG(QCRYPTO_DER_TAG_CLASS_CONT, in qcrypto_der_decode_ctx_tag() local
310 return qcrypto_der_decode_tlv(tag, data, dlen, cb, ctx, errp); in qcrypto_der_decode_ctx_tag()
313 static void qcrypto_der_encode_prim(QCryptoEncodeContext *ctx, uint8_t tag, in qcrypto_der_encode_prim() argument
319 node->tag = tag; in qcrypto_der_encode_prim()
341 uint8_t tag) in qcrypto_der_encode_cons_begin() argument
345 node->tag = tag; in qcrypto_der_encode_cons_begin()
365 uint8_t tag = QCRYPTO_DER_TAG(QCRYPTO_DER_TAG_CLASS_UNIV, in qcrypto_der_encode_seq_begin() local
368 qcrypto_der_encode_cons_begin(ctx, tag); in qcrypto_der_encode_seq_begin()
379 uint8_t tag = QCRYPTO_DER_TAG(QCRYPTO_DER_TAG_CLASS_UNIV, in qcrypto_der_encode_oid() local
382 qcrypto_der_encode_prim(ctx, tag, src, src_len); in qcrypto_der_encode_oid()
388 uint8_t tag = QCRYPTO_DER_TAG(QCRYPTO_DER_TAG_CLASS_UNIV, in qcrypto_der_encode_int() local
391 qcrypto_der_encode_prim(ctx, tag, src, src_len); in qcrypto_der_encode_int()
396 uint8_t tag = QCRYPTO_DER_TAG(QCRYPTO_DER_TAG_CLASS_UNIV, in qcrypto_der_encode_null() local
399 qcrypto_der_encode_prim(ctx, tag, NULL, 0); in qcrypto_der_encode_null()
405 uint8_t tag = QCRYPTO_DER_TAG(QCRYPTO_DER_TAG_CLASS_UNIV, in qcrypto_der_encode_octet_str() local
408 qcrypto_der_encode_prim(ctx, tag, src, src_len); in qcrypto_der_encode_octet_str()
413 uint8_t tag = QCRYPTO_DER_TAG(QCRYPTO_DER_TAG_CLASS_UNIV, in qcrypto_der_encode_octet_str_begin() local
416 qcrypto_der_encode_cons_begin(ctx, tag); in qcrypto_der_encode_octet_str_begin()
438 *dst++ = node->tag; in qcrypto_der_encode_ctx_flush_and_free()