From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "enum" |
|---|
| subject | "Library:WolfSSL" |
|---|
| claim | "Common wolfSSL/wolfCrypt error numbers and their wc_GetErrorString texts: MEMORY_E -125 "out of memory error", ASN_PARSE_E -140 "ASN parsing error, invalid input", BAD_FUNC_ARG -173 "Bad function argument"; TLS layer: SOCKET_ERROR_E -308, DECRYPT_ERROR -312, WANT_READ -323." |
|---|
| scope | | level | "library" |
|---|
| applies_to | "Library:WolfSSL" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "wolfCrypt_ErrorCodes" |
|---|
| values | | name | "MEMORY_E" |
|---|
| value | "-125" |
|---|
| notes | "out of memory error" |
|---|
|
| name | "ASN_PARSE_E" |
|---|
| value | "-140" |
|---|
| notes | "ASN parsing error, invalid input" |
|---|
|
| name | "BAD_FUNC_ARG" |
|---|
| value | "-173" |
|---|
| notes | "Bad function argument" |
|---|
|
| name | "SOCKET_ERROR_E" |
|---|
| value | "-308" |
|---|
| notes | "error-ssl.h" |
|---|
|
| name | "DECRYPT_ERROR" |
|---|
| value | "-312" |
|---|
| notes | "error-ssl.h" |
|---|
|
| name | "WANT_READ" |
|---|
| value | "-323" |
|---|
| notes | "error-ssl.h" |
|---|
|
|
|---|
| underlying_type | "int" |
|---|
| complete | false |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "enum values in error-crypt.h and error-ssl.h; texts in wolfcrypt/src/error.c" |
|---|
| repo | "https://github.com/wolfSSL/wolfssl" |
|---|
| commit | "16cac42a0db8ea6b4df0ba7fe8737e76a5085d6e" |
|---|
| path | "wolfssl/wolfcrypt/error-crypt.h" |
|---|
|
| type | "source" |
|---|
| detail | "SOCKET_ERROR_E -308, DECRYPT_ERROR -312, WANT_READ -323" |
|---|
| repo | "https://github.com/wolfSSL/wolfssl" |
|---|
| commit | "16cac42a0db8ea6b4df0ba7fe8737e76a5085d6e" |
|---|
| path | "wolfssl/error-ssl.h" |
|---|
| lines | "58, 63, 74" |
|---|
|
| type | "source" |
|---|
| detail | "wc_GetErrorString texts: out of memory error, ASN parsing error invalid input, Bad function argument" |
|---|
| repo | "https://github.com/wolfSSL/wolfssl" |
|---|
| commit | "16cac42a0db8ea6b4df0ba7fe8737e76a5085d6e" |
|---|
| path | "wolfcrypt/src/error.c" |
|---|
| lines | "125-126, 161-162, 233-234" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Common error codes" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T15:11:11.117Z" |
|---|
| verifications | |
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T13:25:35.885Z" |
|---|
| summary | "Values and texts verified (error-crypt.h 97,116,150; error.c 126,162,234; error-ssl.h 58,63,74), but the cited path error-crypt.h holds only the first three: SOCKET_ERROR_E, DECRYPT_ERROR, WANT_READ…" |
|---|
| changed | |
|---|
|
|
|---|