//
// EVP_CIPHER_set_asn1_iv from 0xdaa5ec to 0xdaa654 (104 bytes)
//
// 21 xrefs:
// > EVP_CIPHER_param_to_asn1 @ 0xdaa8d8
// > ??> @ 0x47688
// > ??> @ 0x12225b0
// > ??> @ 0x1222608
// > ??> @ 0x1222660
// > ??> @ 0x12226b8
// > ??> @ 0x1222710
// > ??> @ 0x1222768
// > ??> @ 0x12227c0
// > ??> @ 0x1222818
// > ??> @ 0x1222870
// > ??> @ 0x12228c8
// > ??> @ 0x12272f0
// > ??> @ 0x1227348
// > ??> @ 0x12273a0
// > ??> @ 0x12273f8
// > ??> @ 0x1227450
// > ??> @ 0x12274a8
// > ??> @ 0x1227500
// > ??> @ 0x1227558
// > ??> @ 0x12275b0
//
// 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
//
__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);
}