require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&NOFN_FLAGS_RNG)) {
    sub NOFN_FLAGS_RNG () {	0x1;}
}
unless(defined(&NOFN_FLAGS_PK)) {
    sub NOFN_FLAGS_PK () {	0x2;}
}
unless(defined(&REG_WRITE_4)) {
    sub REG_WRITE_4 {
	my($sc,$r,$v) = @_;
	eval q( &bus_space_write_4(($sc)-> &sc_st, ($sc)-> &sc_sh, ($r), ($v)));
    }
}
unless(defined(&REG_READ_4)) {
    sub REG_READ_4 {
	my($sc,$r) = @_;
	eval q( &bus_space_read_4(($sc)-> &sc_st, ($sc)-> &sc_sh, ($r)));
    }
}
unless(defined(&PK_WRITE_4)) {
    sub PK_WRITE_4 {
	my($sc,$r,$v) = @_;
	eval q( &bus_space_write_4(($sc)-> &sc_pk_t, ($sc)-> &sc_pk_h, ($r), ($v)));
    }
}
unless(defined(&PK_READ_4)) {
    sub PK_READ_4 {
	my($sc,$r) = @_;
	eval q( &bus_space_read_4(($sc)-> &sc_pk_t, ($sc)-> &sc_pk_h, ($r)));
    }
}
unless(defined(&PK_RNC_SCALER)) {
    eval 'sub PK_RNC_SCALER () {0x700;}' unless defined(&PK_RNC_SCALER);
}
unless(defined(&NOFN_MODEXP_PAR_M)) {
    sub NOFN_MODEXP_PAR_M () {	0;}
}
unless(defined(&NOFN_MODEXP_PAR_E)) {
    sub NOFN_MODEXP_PAR_E () {	1;}
}
unless(defined(&NOFN_MODEXP_PAR_N)) {
    sub NOFN_MODEXP_PAR_N () {	2;}
}
1;
