From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "signature" |
|---|
| subject | "Library:Mbed TLS" |
|---|
| claim | "ARIA's second S-box aria_sb2[256] starts E2 4E 54 FC 94 C2 4A CC 62 0D 6A 46 3C 4D 8B D1. In Mbed TLS 3.x builds (MBEDTLS_ARIA_C is on by default) it explains the AES S-box that crypto scanners find: aria_sb1 equals the AES S-box and aria_is1 its inverse, while AES's own tables are generated at run time." |
|---|
| scope | | level | "library" |
|---|
| applies_to | "Library:Mbed TLS" |
|---|
| observed_in | | "all 23 Mbed TLS 3.6 samples with an AES S-box (aria_sb2 right after it in 12)" |
| "no S-box and no aria_sb2 in the two 2.28.x samples (ARIA off by default)" |
|
|---|
|
|---|
| data | | pattern | "E2 4E 54 FC 94 C2 4A CC 62 0D 6A 46 3C 4D 8B D1" |
|---|
| matches | "start of aria_sb2[256] (library/aria.c); the table before it is usually aria_sb1 = AES S-box" |
|---|
| offset | 0 |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "static const uint8_t aria_sb1[256] = {0x63, 0x7C, 0x77, 0x7B, ...}; aria_sb2[256] = {0xE2, 0x4E, 0x54, 0xFC, 0x94, 0xC2, 0x4A, 0xCC, 0x62, 0x0D, 0x6A, 0x46, ...}; aria_is1, aria_is2 follow" |
|---|
| repo | "https://github.com/Mbed-TLS/mbedtls" |
|---|
| commit | "068ff080b369adfac81509f9b57b2afabaf82dc5" |
|---|
| path | "library/aria.c" |
|---|
| lines | "167-245" |
|---|
|
| type | "source" |
|---|
| detail | "#define MBEDTLS_ARIA_C enabled in 3.6.7 mbedtls_config.h line 2649; commented out in 2.28.10 config.h line 2802" |
|---|
| repo | "https://github.com/Mbed-TLS/mbedtls" |
|---|
| commit | "068ff080b369adfac81509f9b57b2afabaf82dc5" |
|---|
| path | "include/mbedtls/mbedtls_config.h" |
|---|
| lines | "2649" |
|---|
|
| type | "byte_pattern" |
|---|
| detail | "63 7C 77 7B F2 6B 6F C5 30 01 67 2B FE D7 AB 76 found once in 23 of 25 samples, each also containing aria_sb2 (adjacent in 12); FT0 (C6 63 63 A5 F8 7C 7C 84) in none." |
|---|
|
| type | "source" |
|---|
| detail | "aria.c lines 167/193/219/245 declare aria_sb1, aria_sb2, aria_is1, aria_is2 in that order (so sb2 follows sb1 directly); first bytes compared with the pattern. mbedtls_config.h:2649 '#define MBEDTLS_ARIA_C' (uncommented)." |
|---|
| repo | "https://github.com/Mbed-TLS/mbedtls" |
|---|
| commit | "068ff080b369adfac81509f9b57b2afabaf82dc5" |
|---|
| path | "library/aria.c" |
|---|
| lines | "167-245" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "aria_sb2 table" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T08:11:27.427Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T11:18:37.184Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read library/aria.c at 068ff080: aria_sb1 (line 167), aria_sb2 (193), aria_is1 (219) in that order; aria_sb2 starts 0xE2,0x4E,0x54,0xFC,0x94,0xC2,0x4A,0xCC,0x62,0x0D,0x6A,0x46,0x3C,0x4D,0x8B,0xD1 = the pattern. MBEDTLS_ARIA_C default not re-read." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-18T22:36:24.961Z" |
|---|
| summary | "Raise to high: library/aria.c at the cited commit: aria_sb2 starts E2 4E 54 FC 94 C2 4A CC 62 0D 6A 46 3C 4D 8B D1, aria_sb1 starts 63 7C 77 7B F2 6B 6F C5 30 01 67 2B FE D7 AB 76 (AES S-box)…" |
|---|
| changed | |
|---|
|
|
|---|