require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&__SHA2_H__)) {
    eval 'sub __SHA2_H__ () {1;}' unless defined(&__SHA2_H__);
    require 'sys/types.ph';
    require 'sys/cdefs.ph';
    eval 'sub SHA224_BLOCK_LENGTH () {64;}' unless defined(&SHA224_BLOCK_LENGTH);
    eval 'sub SHA224_DIGEST_LENGTH () {28;}' unless defined(&SHA224_DIGEST_LENGTH);
    eval 'sub SHA224_DIGEST_STRING_LENGTH () {( &SHA224_DIGEST_LENGTH * 2+ 1);}' unless defined(&SHA224_DIGEST_STRING_LENGTH);
    eval 'sub SHA256_BLOCK_LENGTH () {64;}' unless defined(&SHA256_BLOCK_LENGTH);
    eval 'sub SHA256_DIGEST_LENGTH () {32;}' unless defined(&SHA256_DIGEST_LENGTH);
    eval 'sub SHA256_DIGEST_STRING_LENGTH () {( &SHA256_DIGEST_LENGTH * 2+ 1);}' unless defined(&SHA256_DIGEST_STRING_LENGTH);
    eval 'sub SHA384_BLOCK_LENGTH () {128;}' unless defined(&SHA384_BLOCK_LENGTH);
    eval 'sub SHA384_DIGEST_LENGTH () {48;}' unless defined(&SHA384_DIGEST_LENGTH);
    eval 'sub SHA384_DIGEST_STRING_LENGTH () {( &SHA384_DIGEST_LENGTH * 2+ 1);}' unless defined(&SHA384_DIGEST_STRING_LENGTH);
    eval 'sub SHA512_BLOCK_LENGTH () {128;}' unless defined(&SHA512_BLOCK_LENGTH);
    eval 'sub SHA512_DIGEST_LENGTH () {64;}' unless defined(&SHA512_DIGEST_LENGTH);
    eval 'sub SHA512_DIGEST_STRING_LENGTH () {( &SHA512_DIGEST_LENGTH * 2+ 1);}' unless defined(&SHA512_DIGEST_STRING_LENGTH);
    unless(defined(&_KERNEL)) {
    }
    unless(defined(&_KERNEL)) {
    }
    unless(defined(&_KERNEL)) {
    }
    unless(defined(&_KERNEL)) {
    }
}
1;
