Hi,
> while trying to add the AES asm support I found that currently in HEAD the
> AES asm part is missing in mk1mf.pl - my patch does also add this part
> which I copied over from 0.9.8-stable where its included;
> however it seems that I'm missing something since it doesnt work:
> while I get the asm build rules in the netware makefile - somewhere else
> where the crypt library object files are build up there happens something
> strange = the asm object file is wrong;
> it gets prefixed with $(OBJ_D) and suffixed with '.o' which is wrong in
> this case;
> I've not yet found where this happens...
ok, of course this happens in mk1mf.pl too with the regex I've copied over
from 0.9.8-stable - but I cant currently figure out why the regex fails;
without AES asm I get in the makefile:

        $(OBJ_D)\aes_ctr.o $(OBJ_D)\aes_ige.o $(OBJ_D)\aes_core.o \
        $(OBJ_D)\aes_cbc.o $(OBJ_D)\cmll_ecb.o $(OBJ_D)\cmll_ofb.o \

while with AES asm enabled I get:

        $(OBJ_D)\aes_ctr.o $(OBJ_D)\aes_ige.o $(OBJ_D)\$(AES_ASM_OBJ).o \
        $(OBJ_D)\cmll_ecb.o $(OBJ_D)\cmll_ofb.o $(OBJ_D)\cmll_cfb.o \

wich explains the prob; however I cant see why the replacement regex
in mk1mf.pl fails in this case....; this is what I copied over:

        if (($aes_asm_obj ne "") && ($_ eq "CRYPTO"))
                {
                $lib_obj =~ s/\s(\S*\/aes_core\S*)/ \$(AES_ASM_OBJ)/;
                $lib_obj =~ s/\s\S*\/aes_cbc\S*//;
                $rules.=&do_asm_rule($aes_asm_obj,$aes_asm_src);
                }

all the other regex substitutes work fine....

Guenter.


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to