From f081b066a62db7e3bea15c67edb84e04026495b2 Mon Sep 17 00:00:00 2001 From: tb <> Date: Fri, 28 Jul 2023 10:35:14 +0000 Subject: Remove various ${thing}_options Various, ancient ciphers exposed some of their innards via an _options() API. Apart from openssl version/speed, only some lua thingie in nmap ever looked at these. Go figure. hppa testing by miod, i386 testing by sthen. Thanks! ok jsing --- src/lib/libcrypto/rc4/asm/rc4-586.pl | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'src/lib/libcrypto/rc4/asm/rc4-586.pl') diff --git a/src/lib/libcrypto/rc4/asm/rc4-586.pl b/src/lib/libcrypto/rc4/asm/rc4-586.pl index 4991c37c2c..bb30f9b88f 100644 --- a/src/lib/libcrypto/rc4/asm/rc4-586.pl +++ b/src/lib/libcrypto/rc4/asm/rc4-586.pl @@ -384,32 +384,4 @@ $idx="edx"; &mov (&DWP(-4,$out),"eax"); # key->y=0; &function_end("RC4_set_key"); -# const char *RC4_options(void); -&static_label("opts"); -&function_begin_B("RC4_options"); - &picsetup("edx"); - &picsymbol("eax", &label("opts"), "edx"); - &picsymbol("edx", "OPENSSL_ia32cap_P", "edx");; - - &mov ("edx",&DWP(0,"edx")); - &bt ("edx","\$IA32CAP_BIT0_INTELP4"); - &jc (&label("1xchar")); - &bt ("edx","\$IA32CAP_BIT0_SSE2"); - &jnc (&label("ret")); - &add ("eax",25); - &ret (); -&set_label("1xchar"); - &add ("eax",12); -&set_label("ret"); - &ret (); -&function_end_B("RC4_options"); - - &rodataseg(); -&set_label("opts"); -&asciz ("rc4(4x,int)"); -&asciz ("rc4(1x,char)"); -&asciz ("rc4(8x,mmx)"); - &previous(); - &asm_finish(); - -- cgit v1.2.3-55-g6feb