Lines Matching +full:- +full:e

8  *  SPDX-License-Identifier: Apache-2.0
14 * http://www.apache.org/licenses/LICENSE-2.0
46 #define MBEDTLS_ERR_ASN1_OUT_OF_DATA -0x0060 /**< Out of data when parsing an…
47 #define MBEDTLS_ERR_ASN1_UNEXPECTED_TAG -0x0062 /**< ASN1 tag was of an unexpect…
48 #define MBEDTLS_ERR_ASN1_INVALID_LENGTH -0x0064 /**< Error when trying to determ…
49 #define MBEDTLS_ERR_ASN1_LENGTH_MISMATCH -0x0066 /**< Actual length differs from …
50 #define MBEDTLS_ERR_ASN1_INVALID_DATA -0x0068 /**< Data is invalid. */
51 #define MBEDTLS_ERR_ASN1_ALLOC_FAILED -0x006A /**< Memory allocation failed */
52 #define MBEDTLS_ERR_ASN1_BUF_TOO_SMALL -0x006C /**< Buffer too small when writi…
61 * - 0x02 -- tag indicating INTEGER
62 * - 0x01 -- length in octets
63 * - 0x05 -- value
106 * +-------+-----+------------+
108 * +-------+-----+------------+
118 #define MBEDTLS_OID_SIZE(x) (sizeof(x) - 1)
127 ( ( MBEDTLS_OID_SIZE(oid_str) != (oid_buf)->len ) || \
128 memcmp( (oid_str), (oid_buf)->p, (oid_buf)->len) != 0 )
144 * Type-length-value structure that allows for ASN1 using DER.
148 int MBEDTLS_PRIVATE(tag); /**< ASN1 type, e.g. MBEDTLS_ASN1_UTF8_STRING. */
150 unsigned char *MBEDTLS_PRIVATE(p); /**< ASN1 data, e.g. in ASCII. */
192 * i.e. immediately after the tag.
194 * after the length, i.e. the first byte of the content.
216 * after the length, i.e. the first byte of the content.
345 * You must set `cur->next = NULL` before calling this function!
346 * Otherwise it is impossible to distinguish a previously non-null
350 * \c *cur. If the sequence is valid and non-empty, this
351 * function sets `cur->buf.tag` to \p tag. This allows
353 * a one-element sequence.
365 * The head of the list (i.e. \c *cur itself) describes the
366 * first element, `*cur->next` describes the second element, etc.
369 * points to the first byte of the content (i.e. immediately
389 * \brief Free a heap-allocated linked list presentation of
394 * - Allocate a head node `mbedtls_asn1_sequence *head` with mbedtls_calloc().
398 * - Allocate a head node `mbedtls_asn1_sequence *head` in any manner,
399 * for example on the stack. Make sure that `head->next == NULL`.
402 * call mbedtls_asn1_sequence_free() on `head->cur`,
473 * - \p ctx.
474 * - The tag of the current element.
475 * - A pointer to the start of the current element's
477 * - The length of the content of the current element.
478 * If the callback returns a non-zero value,
493 * \return A non-zero error code forwarded from the callback
494 * \p cb in case the latter returns a non-zero value.
586 * `entry->oid.p` and `entry->val.p`.