Hi folks,

I've patched fips_canister.c to properly retrieve the blackfin
instruction pointer.  When I run openssl on the target now, I now get
reasonable numbers (though they still don't match incore).


=======================================================
root:/> OPENSSL_FIPS=1 openssl ciphers FIPS
SIG:
        sig: 0x2e1f9e0
        FIPS_text_start: 0x2d3cd88
        FIPS_text_end=0x2d624cc
        FIPS_rodata_start=0x2dd0294
        FIPS_rodata_end=0x2dd5568
        FIPS_signature=0x2e361fc

.text:0x2d3cd88+153412=0x2d624cc
.rodata:0x2dd0294+21204=0x2dd5568
Computed:               3098a7d1ede446fb5c4bef2d5568b7ea7edd2f68
HMAC_SHA1_SIG:  1f176a4fb51e3f477180c7d62f5af03c900d8e8c

FINGERPRINT_premain: FIPS_signature mismatch
=======================================================




FWIW, incore shows:
=======================================================
FIPS_rodata_end=000D5568
FIPS_rodata_start=000D0294
FIPS_signature=001081FC
FIPS_text_end=000624CC
FIPS_text_start=0003CD88
FINGERPRINT_ascii_value=000D6000
DOTrodata=000D0294
DOTrodata_OFF=000D0294
DOTtext=0003CB50
DOTtext_OFF=0003CB50
TSTART 568
TLEN 153412
TOFF 249216
INCORE_ADJUST -8
RSTART 0
RLEN 21204
ROFF 852628
FSTART 23916
FLEN 40
FOFF 876544
Signature is: 1f176a4fb51e3f477180c7d62f5af03c900d8e8c
=======================================================
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to