// // PKCS8_set0_pbe from 0xe66010 to 0xe660d4 (196 bytes) // // 2 xrefs: // > PKCS8_encrypt @ 0xe66164 // > @ 0x2cac0 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // _QWORD *__fastcall PKCS8_set0_pbe(const char *a1, unsigned int a2, __int64 a3, __int64 *a4) { __int64 v5; // x21 _QWORD *result; // x0 v5 = PKCS12_item_i2d_encrypt(a4, (__int64)&PKCS8_PRIV_KEY_INFO_it, a1, a2, a3, 1); if ( v5 ) { result = CRYPTO_zalloc(&word_10, (__int64)"crypto/pkcs12/p12_p8e.c", 58); if ( result ) { *result = a4; result[1] = v5; } else { ERR_put_error(35, 132, 65, (__int64)"crypto/pkcs12/p12_p8e.c", 61); ASN1_OCTET_STRING_free(v5); return nullptr; } } else { ERR_put_error(35, 132, 103, (__int64)"crypto/pkcs12/p12_p8e.c", 54); return nullptr; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source