// // PKCS12_SAFEBAG_create_pkcs8_encrypt from 0xa3aab8 to 0xa3ab84 (204 bytes) // // 1 xrefs: // > @ 0x7f3dc // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:08:10 +0000 // _DWORD *__fastcall PKCS12_SAFEBAG_create_pkcs8_encrypt(unsigned int a1, int a2, int a3, int a4, int a5, int a6, int a7) { char *v11; // r0 int cipherbyname; // r1 int v13; // r0 int v14; // r0 int v15; // r5 _DWORD *result; // r0 v11 = OBJ_nid2sn(a1); cipherbyname = EVP_get_cipherbyname((int)v11); if ( cipherbyname ) v13 = -1; else v13 = a1; v14 = PKCS8_encrypt(v13, cipherbyname, a2, a3, a4, a5, a6, a7); v15 = v14; if ( v14 ) { result = PKCS12_SAFEBAG_create0_pkcs8(v14); if ( !result ) { ERR_put_error(35, 133, 65, (int)"crypto/pkcs12/p12_sbag.c", 164); X509_SIG_free(v15); return nullptr; } } else { ERR_put_error(35, 133, 65, (int)"crypto/pkcs12/p12_sbag.c", 157); return nullptr; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source