From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "enum" |
|---|
| subject | "Library:Mbed TLS" |
|---|
| claim | "Since 3.2 Mbed TLS stores TLS versions as the wire value: MBEDTLS_SSL_VERSION_UNKNOWN 0, TLS1_2 0x0303, TLS1_3 0x0304 (also used for DTLS 1.2), e.g. in the min/max fields of ciphersuite records and in mbedtls_ssl_config/mbedtls_ssl_session; 2.x and 3.0-3.1 used separate major (3) and minor (1-3) ints." |
|---|
| scope | | level | "library" |
|---|
| applies_to | "Library:Mbed TLS" |
|---|
| observed_in | | "03 03 03 03 and 04 03 04 03 in the ciphersuite records of the 3.6 samples" |
|
|---|
|
|---|
| data | | name | "mbedtls_ssl_protocol_version" |
|---|
| underlying_type | "int (uint16_t in records)" |
|---|
| values | | 0 | "MBEDTLS_SSL_VERSION_UNKNOWN" |
|---|
| 0x0303 | "MBEDTLS_SSL_VERSION_TLS1_2" |
|---|
| 0x0304 | "MBEDTLS_SSL_VERSION_TLS1_3" |
|---|
|
|---|
| complete | true |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "typedef enum { MBEDTLS_SSL_VERSION_UNKNOWN, MBEDTLS_SSL_VERSION_TLS1_2 = 0x0303, MBEDTLS_SSL_VERSION_TLS1_3 = 0x0304, } mbedtls_ssl_protocol_version;" |
|---|
| repo | "https://github.com/Mbed-TLS/mbedtls" |
|---|
| commit | "068ff080b369adfac81509f9b57b2afabaf82dc5" |
|---|
| path | "include/mbedtls/ssl.h" |
|---|
| lines | "1258-1262" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "mbedtls_ssl_protocol_version" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T08:11:27.985Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T09:48:49.013Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read ssl.h at 068ff080 lines 1258-1262: enum has UNKNOWN (implicit 0), TLS1_2 = 0x0303, TLS1_3 = 0x0304 and nothing else; complete. The 2.x/3.0-3.1 remark was not re-read." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T17:41:43.781Z" |
|---|
| summary | "Mark complete: ssl.h mbedtls_ssl_protocol_version has UNKNOWN, TLS1_2 0x0303, TLS1_3 0x0304 only" |
|---|
| changed | |
|---|
|
|
|---|