Home
last modified time | relevance | path

Searched refs:string (Results 1 – 18 of 18) sorted by relevance

/optee_os/lib/libmbedtls/mbedtls/library/
H A Dversion.c20 void mbedtls_version_get_string(char *string) in mbedtls_version_get_string() argument
22 memcpy(string, MBEDTLS_VERSION_STRING, in mbedtls_version_get_string()
26 void mbedtls_version_get_string_full(char *string) in mbedtls_version_get_string_full() argument
28 memcpy(string, MBEDTLS_VERSION_STRING_FULL, in mbedtls_version_get_string_full()
H A Dssl_tls13_keys.h44 #define MBEDTLS_SSL_TLS1_3_LABEL(name, string) \ argument
45 const unsigned char name [sizeof(string) - 1] MBEDTLS_ATTRIBUTE_UNTERMINATED_STRING;
H A Dssl_tls13_keys.c37 #define MBEDTLS_SSL_TLS1_3_LABEL(name, string) \ argument
38 .name = string,
H A Dx509_crt.c1892 const char *string; member
1910 for (cur = x509_crt_verify_strings; cur->string != NULL; cur++) { in mbedtls_x509_crt_verify_info()
1915 ret = mbedtls_snprintf(p, n, "%s%s\n", prefix, cur->string); in mbedtls_x509_crt_verify_info()
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
H A Dversion.h40 void mbedtls_version_get_string(char *string);
51 void mbedtls_version_get_string_full(char *string);
/optee_os/core/lib/libfdt/include/
H A Dlibfdt_env.h85 static inline size_t fdt_strnlen(const char *string, size_t max_count) in fdt_strnlen() argument
87 const char *p = memchr(string, 0, max_count); in fdt_strnlen()
88 return p ? p - string : max_count; in fdt_strnlen()
H A Dlibfdt.h1109 const char *string);
/optee_os/lib/libutils/ext/include/
H A Darm64_bti.S20 1: .string "GNU" /* name */
/optee_os/core/drivers/
H A Dstm32_bsec.c839 const char *string = NULL; in save_dt_nvmem_layout() local
845 string = fdt_get_name(fdt, node, &len); in save_dt_nvmem_layout()
846 if (!string || !len) in save_dt_nvmem_layout()
853 DMSG("Malformed nvmem %s: ignored", string); in save_dt_nvmem_layout()
867 s = strchr(string, '@'); in save_dt_nvmem_layout()
869 len = s - string; in save_dt_nvmem_layout()
871 layout_cell->name = strndup(string, len); in save_dt_nvmem_layout()
/optee_os/ta/pkcs11/src/
H A Dpkcs11_helpers.c23 const char *string; member
29 { .id = (uint32_t)(_id), .size = (_sz), .string = #_id }
107 const char *string; member
116 #define PKCS11_ID(_id) { .id = _id, .string = #_id }
136 str = table[n].string; in id2str()
766 return attr_ids[n].string + strlen("PKCS11_CKA_"); in id2str_attr()
H A Dtoken_capabilities.c36 const char *string; member
46 .string = #_label, \
165 return pkcs11_modes[n].string + offset; in mechanism_string_id()
/optee_os/core/lib/qcbor/src/
H A Dqcbor_decode.c158 …abelType == QCBOR_TYPE_TEXT_STRING && !UsefulBuf_Compare(Item1.label.string, Item2.label.string)) { in QCBORItem_MatchLabel()
162 …abelType == QCBOR_TYPE_BYTE_STRING && !UsefulBuf_Compare(Item1.label.string, Item2.label.string)) { in QCBORItem_MatchLabel()
961 pDecodedItem->val.string = (UsefulBufC){NULL, QCBOR_STRING_LENGTH_INDEFINITE}; in QCBOR_Private_DecodeString()
1006 pDecodedItem->val.string = UsefulBuf_Copy(NewMem, Bytes); in QCBOR_Private_DecodeString()
1013 pDecodedItem->val.string = Bytes; in QCBOR_Private_DecodeString()
1466 if(pDecodedItem->val.string.len != QCBOR_STRING_LENGTH_INDEFINITE) { in QCBORDecode_Private_GetNextFullString()
1496 pDecodedItem->val.string = FullString; in QCBORDecode_Private_GetNextFullString()
1507 StringChunkItem.val.string.len == QCBOR_STRING_LENGTH_INDEFINITE) { in QCBORDecode_Private_GetNextFullString()
1512 if (StringChunkItem.val.string.len > 0) { in QCBORDecode_Private_GetNextFullString()
1519 … FullString.len + StringChunkItem.val.string.len); in QCBORDecode_Private_GetNextFullString()
[all …]
/optee_os/core/lib/qcbor/inc/qcbor/
H A Dqcbor_decode.h433 UsefulBufC string; member
523 UsefulBufC string; member
H A Dqcbor_spiffy_decode.h2298 OneItemSeach[0].label.string = UsefulBuf_FromSZ(szLabel); in QCBORDecode_GetArrayFromMapSZ()
2345 OneItemSeach[0].label.string = UsefulBuf_FromSZ(szLabel); in QCBORDecode_GetMapFromMapSZ()
/optee_os/core/lib/libfdt/
H A Dfdt_ro.c735 const char *string) in fdt_stringlist_search() argument
744 len = strlen(string) + 1; in fdt_stringlist_search()
754 if (length == len && memcmp(list, string, length) == 0) in fdt_stringlist_search()
/optee_os/core/lib/qcbor/
H A DREADME.md16 on C99, <stdint.h>, <stddef.h>, <stdbool.h> and <string.h> making
47 indefinite length strings is supported but requires a string
141 items in a map by label. It works for integer and text string labels
142 (and at some point byte-string labels). This includes detection of
145 supports search by string, but no integer, nor duplicate detection.
158 QCBOR has a special feature for decoding byte-string wrapped CBOR. It
161 byte-string wrapping. The implementation of these protocols is
456 know the length of a string, map or array when they start encoding
/optee_os/lib/libmbedtls/mbedtls/
H A DChangeLog39 were affected (use-after-free if the san string contains more than one DN).
84 * Silence spurious -Wunterminated-string-initialization warnings introduced
624 key to a PEM string.
764 string to a DER-encoded mbedtls_asn1_buf.
898 when given a invalid name string if it did not contain '=' or ','.
1117 * Fix bug in conversion from OID to string in
1121 them to a string.
1604 * Fix string representation of DNs when outputting values containing commas
2284 now writing an empty string where it previously wrote one or more
2545 * Fix conditions for including string.h in error.c. Fixes #3866.
[all …]
/optee_os/
H A DCHANGELOG.md1330 mode instead of native endianness). Related to this, the string format