static PRUint8 sha1_known_digest[] = {
static const PRUint8 sha1_known_digest[] = {
pk11_fips_SHA1_PowerUpSelfTest( void ){    /* SHA-1 Known Hash Message (512-bits). */    static PRUint8 sha1_known_hash_message[] = {	 "The test message for the MD2, MD5, and SHA-1 hashing algorithms." };    /* SHA-1 Known Digest Message (160-bits). */    static PRUint8 sha1_known_digest[] = {			       0x0a,0x6d,0x07,0xba,0x1e,0xbd,0x8a,0x1b,			       0x72,0xf6,0xc7,0x22,0xf1,0x27,0x9f,0xf0,			       0xe0,0x68,0x47,0x7a};    /* SHA-1 variables. */    PRUint8        sha1_computed_digest[SHA1_LENGTH];    SECStatus      sha1_status;    /*************************************************/    /* SHA-1 Single-Round Known Answer Hashing Test. */    /*************************************************/    sha1_status = SHA1_HashBuf( sha1_computed_digest, sha1_known_hash_message,                                FIPS_SHA1_HASH_MESSAGE_LENGTH );    if( ( sha1_status != SECSuccess ) ||        ( PORT_Memcmp( sha1_computed_digest, sha1_known_digest,                       SHA1_LENGTH ) != 0 ) )        return( CKR_DEVICE_ERROR );    return( CKR_OK );}