{"type": "func", "start": 16951204, "end": 16951296, "name": "EVP_PKEY_get0_hmac", "pseudocode": "// \n// EVP_PKEY_get0_hmac from 0x102a7a4 to 0x102a800 (92 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0xb74d8\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 13:16:16 +0000\n// \n\n__int64 __fastcall EVP_PKEY_get0_hmac(_DWORD *a1, _QWORD *a2)\n{\n  int *v2; // x0\n  __int64 v3; // x2\n  __int64 result; // x0\n\n  if ( *a1 == 855 )\n  {\n    v2 = (int *)EVP_PKEY_get0((__int64)a1);\n    v3 = *v2;\n    result = *((_QWORD *)v2 + 1);\n    *a2 = v3;\n  }\n  else\n  {\n    ERR_put_error(6, 183, 174, (__int64)\"crypto/evp/p_lib.c\", 244);\n    return 0;\n  }\n  return result;\n}", "assembly": "; \n; EVP_PKEY_get0_hmac from 0x102a7a4 to 0x102a800 (92 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0xb74d8\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 13:16:16 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0x102a7a4\nMOV             X29, SP                                                ; +0x4, 0x102a7a8\nLDR             W2, [X0]                                               ; +0x8, 0x102a7ac\nCMP             W2, #0x357                                             ; +0xc, 0x102a7b0\nB.NE            loc_102A7D8                                            ; +0x10, 0x102a7b4\nSTR             X1, [X29,#0x20+var_8]                                  ; +0x14, 0x102a7b8\nBL              EVP_PKEY_get0                                          ; +0x18, 0x102a7bc\nLDR             X1, [X29,#0x20+var_8]                                  ; +0x1c, 0x102a7c0\nLDRSW           X2, [X0]                                               ; +0x20, 0x102a7c4\nLDR             X0, [X0,#8]                                            ; +0x24, 0x102a7c8\nSTR             X2, [X1]                                               ; +0x28, 0x102a7cc\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x2c, 0x102a7d0\nRET                                                                    ; +0x30, 0x102a7d4\nADRP            X3, #aCryptoEvpPLibC@PAGE; \"crypto/evp/p_lib.c\"        ; +0x34, 0x102a7d8\nMOV             W0, #6                                                 ; +0x38, 0x102a7dc\nMOV             W1, #0xB7                                              ; +0x3c, 0x102a7e0\nMOV             W2, #0xAE                                              ; +0x40, 0x102a7e4\nADD             X3, X3, #aCryptoEvpPLibC@PAGEOFF; \"crypto/evp/p_lib.c\" ; +0x44, 0x102a7e8\nMOV             W4, #0xF4                                              ; +0x48, 0x102a7ec\nBL              ERR_put_error                                          ; +0x4c, 0x102a7f0\nMOV             X0, #0                                                 ; +0x50, 0x102a7f4\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x54, 0x102a7f8\nRET                                                                    ; +0x58, 0x102a7fc", "xrefs": ["<???> @ 0xb74d8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}