//
// EVP_CIPHER_set_asn1_iv from 0x102894c to 0x10289b4 (104 bytes)
//
// 21 xrefs:
// > EVP_CIPHER_param_to_asn1 @ 0x1028c38
// > ??> @ 0x65368
// > ??> @ 0x153a338
// > ??> @ 0x153a390
// > ??> @ 0x153a3e8
// > ??> @ 0x153a440
// > ??> @ 0x153a498
// > ??> @ 0x153a4f0
// > ??> @ 0x153a548
// > ??> @ 0x153a5a0
// > ??> @ 0x153a5f8
// > ??> @ 0x153a650
// > ??> @ 0x153f078
// > ??> @ 0x153f0d0
// > ??> @ 0x153f128
// > ??> @ 0x153f180
// > ??> @ 0x153f1d8
// > ??> @ 0x153f230
// > ??> @ 0x153f288
// > ??> @ 0x153f2e0
// > ??> @ 0x153f338
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:16:15 +0000
//
__int64 __fastcall EVP_CIPHER_set_asn1_iv(__int64 a1, __int64 a2)
{
unsigned int v3; // w0
if ( !a2 )
return 0;
v3 = EVP_CIPHER_CTX_iv_length(a1);
if ( v3 > 0x10 )
OPENSSL_die("assertion failed: j <= sizeof(c->iv)", "crypto/evp/evp_lib.c", 99);
return ASN1_TYPE_set_octetstring(a2, a1 + 24, v3);
}