require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_CRYPTO_CRYPTO_H_)) {
    eval 'sub _CRYPTO_CRYPTO_H_ () {1;}' unless defined(&_CRYPTO_CRYPTO_H_);
    require 'sys/ioccom.ph';
    eval 'sub CRYPTO_DRIVERS_INITIAL () {4;}' unless defined(&CRYPTO_DRIVERS_INITIAL);
    eval 'sub CRYPTO_SW_SESSIONS () {32;}' unless defined(&CRYPTO_SW_SESSIONS);
    eval 'sub HMAC_BLOCK_LEN () {64;}' unless defined(&HMAC_BLOCK_LEN);
    eval 'sub HMAC_IPAD_VAL () {0x36;}' unless defined(&HMAC_IPAD_VAL);
    eval 'sub HMAC_OPAD_VAL () {0x5c;}' unless defined(&HMAC_OPAD_VAL);
    eval 'sub DES_BLOCK_LEN () {8;}' unless defined(&DES_BLOCK_LEN);
    eval 'sub DES3_BLOCK_LEN () {8;}' unless defined(&DES3_BLOCK_LEN);
    eval 'sub BLOWFISH_BLOCK_LEN () {8;}' unless defined(&BLOWFISH_BLOCK_LEN);
    eval 'sub SKIPJACK_BLOCK_LEN () {8;}' unless defined(&SKIPJACK_BLOCK_LEN);
    eval 'sub CAST128_BLOCK_LEN () {8;}' unless defined(&CAST128_BLOCK_LEN);
    eval 'sub RIJNDAEL128_BLOCK_LEN () {16;}' unless defined(&RIJNDAEL128_BLOCK_LEN);
    eval 'sub EALG_MAX_BLOCK_LEN () {16;}' unless defined(&EALG_MAX_BLOCK_LEN);
    eval 'sub AALG_MAX_RESULT_LEN () {64;}' unless defined(&AALG_MAX_RESULT_LEN);
    eval 'sub CRYPTO_DES_CBC () {1;}' unless defined(&CRYPTO_DES_CBC);
    eval 'sub CRYPTO_3DES_CBC () {2;}' unless defined(&CRYPTO_3DES_CBC);
    eval 'sub CRYPTO_BLF_CBC () {3;}' unless defined(&CRYPTO_BLF_CBC);
    eval 'sub CRYPTO_CAST_CBC () {4;}' unless defined(&CRYPTO_CAST_CBC);
    eval 'sub CRYPTO_SKIPJACK_CBC () {5;}' unless defined(&CRYPTO_SKIPJACK_CBC);
    eval 'sub CRYPTO_MD5_HMAC () {6;}' unless defined(&CRYPTO_MD5_HMAC);
    eval 'sub CRYPTO_SHA1_HMAC () {7;}' unless defined(&CRYPTO_SHA1_HMAC);
    eval 'sub CRYPTO_RIPEMD160_HMAC () {8;}' unless defined(&CRYPTO_RIPEMD160_HMAC);
    eval 'sub CRYPTO_MD5_KPDK () {9;}' unless defined(&CRYPTO_MD5_KPDK);
    eval 'sub CRYPTO_SHA1_KPDK () {10;}' unless defined(&CRYPTO_SHA1_KPDK);
    eval 'sub CRYPTO_RIJNDAEL128_CBC () {11;}' unless defined(&CRYPTO_RIJNDAEL128_CBC);
    eval 'sub CRYPTO_AES_CBC () {11;}' unless defined(&CRYPTO_AES_CBC);
    eval 'sub CRYPTO_ARC4 () {12;}' unless defined(&CRYPTO_ARC4);
    eval 'sub CRYPTO_MD5 () {13;}' unless defined(&CRYPTO_MD5);
    eval 'sub CRYPTO_SHA1 () {14;}' unless defined(&CRYPTO_SHA1);
    eval 'sub CRYPTO_DEFLATE_COMP () {15;}' unless defined(&CRYPTO_DEFLATE_COMP);
    eval 'sub CRYPTO_NULL () {16;}' unless defined(&CRYPTO_NULL);
    eval 'sub CRYPTO_LZS_COMP () {17;}' unless defined(&CRYPTO_LZS_COMP);
    eval 'sub CRYPTO_SHA2_256_HMAC () {18;}' unless defined(&CRYPTO_SHA2_256_HMAC);
    eval 'sub CRYPTO_SHA2_384_HMAC () {19;}' unless defined(&CRYPTO_SHA2_384_HMAC);
    eval 'sub CRYPTO_SHA2_512_HMAC () {20;}' unless defined(&CRYPTO_SHA2_512_HMAC);
    eval 'sub CRYPTO_AES_CTR () {21;}' unless defined(&CRYPTO_AES_CTR);
    eval 'sub CRYPTO_ALGORITHM_MAX () {21;}' unless defined(&CRYPTO_ALGORITHM_MAX);
    eval 'sub CRYPTO_ALGORITHM_ALL () {( &CRYPTO_ALGORITHM_MAX + 1);}' unless defined(&CRYPTO_ALGORITHM_ALL);
    eval 'sub CRYPTO_ALG_FLAG_SUPPORTED () {0x1;}' unless defined(&CRYPTO_ALG_FLAG_SUPPORTED);
    eval 'sub CRYPTO_ALG_FLAG_RNG_ENABLE () {0x2;}' unless defined(&CRYPTO_ALG_FLAG_RNG_ENABLE);
    eval 'sub CRYPTO_ALG_FLAG_DSA_SHA () {0x4;}' unless defined(&CRYPTO_ALG_FLAG_DSA_SHA);
    eval 'sub CRD_F_ENCRYPT () {0x1;}' unless defined(&CRD_F_ENCRYPT);
    eval 'sub CRD_F_IV_PRESENT () {0x2;}' unless defined(&CRD_F_IV_PRESENT);
    eval 'sub CRD_F_IV_EXPLICIT () {0x4;}' unless defined(&CRD_F_IV_EXPLICIT);
    eval 'sub CRD_F_DSA_SHA_NEEDED () {0x8;}' unless defined(&CRD_F_DSA_SHA_NEEDED);
    eval 'sub CRD_F_COMP () {0x10;}' unless defined(&CRD_F_COMP);
    eval 'sub crd_iv () { ($CRD_INI->{cri_iv});}' unless defined(&crd_iv);
    eval 'sub crd_key () { ($CRD_INI->{cri_key});}' unless defined(&crd_key);
    eval 'sub crd_rnd () { ($CRD_INI->{cri_rnd});}' unless defined(&crd_rnd);
    eval 'sub crd_alg () { ($CRD_INI->{cri_alg});}' unless defined(&crd_alg);
    eval 'sub crd_klen () { ($CRD_INI->{cri_klen});}' unless defined(&crd_klen);
    eval 'sub CRYPTO_F_IMBUF () {0x1;}' unless defined(&CRYPTO_F_IMBUF);
    eval 'sub CRYPTO_F_IOV () {0x2;}' unless defined(&CRYPTO_F_IOV);
    eval 'sub CRYPTO_F_REL () {0x4;}' unless defined(&CRYPTO_F_REL);
    eval 'sub CRYPTO_F_NOQUEUE () {0x8;}' unless defined(&CRYPTO_F_NOQUEUE);
    eval 'sub CRYPTO_F_DONE () {0x10;}' unless defined(&CRYPTO_F_DONE);
    eval 'sub CRYPTO_BUF_IOV () {0x1;}' unless defined(&CRYPTO_BUF_IOV);
    eval 'sub CRYPTO_BUF_MBUF () {0x2;}' unless defined(&CRYPTO_BUF_MBUF);
    eval 'sub CRYPTO_OP_DECRYPT () {0x;}' unless defined(&CRYPTO_OP_DECRYPT);
    eval 'sub CRYPTO_OP_ENCRYPT () {0x1;}' unless defined(&CRYPTO_OP_ENCRYPT);
    eval 'sub CRK_MAXPARAM () {8;}' unless defined(&CRK_MAXPARAM);
    eval 'sub CRK_MOD_EXP () {0;}' unless defined(&CRK_MOD_EXP);
    eval 'sub CRK_MOD_EXP_CRT () {1;}' unless defined(&CRK_MOD_EXP_CRT);
    eval 'sub CRK_DSA_SIGN () {2;}' unless defined(&CRK_DSA_SIGN);
    eval 'sub CRK_DSA_VERIFY () {3;}' unless defined(&CRK_DSA_VERIFY);
    eval 'sub CRK_DH_COMPUTE_KEY () {4;}' unless defined(&CRK_DH_COMPUTE_KEY);
    eval 'sub CRK_ALGORITHM_MAX () {4;}' unless defined(&CRK_ALGORITHM_MAX);
    eval 'sub CRF_MOD_EXP () {(1<<  &CRK_MOD_EXP);}' unless defined(&CRF_MOD_EXP);
    eval 'sub CRF_MOD_EXP_CRT () {(1<<  &CRK_MOD_EXP_CRT);}' unless defined(&CRF_MOD_EXP_CRT);
    eval 'sub CRF_DSA_SIGN () {(1<<  &CRK_DSA_SIGN);}' unless defined(&CRF_DSA_SIGN);
    eval 'sub CRF_DSA_VERIFY () {(1<<  &CRK_DSA_VERIFY);}' unless defined(&CRF_DSA_VERIFY);
    eval 'sub CRF_DH_COMPUTE_KEY () {(1<<  &CRK_DH_COMPUTE_KEY);}' unless defined(&CRF_DH_COMPUTE_KEY);
    eval 'sub CRYPTOCAP_F_CLEANUP () {0x1;}' unless defined(&CRYPTOCAP_F_CLEANUP);
    eval 'sub CRYPTOCAP_F_SOFTWARE () {0x2;}' unless defined(&CRYPTOCAP_F_SOFTWARE);
    eval 'sub CRYPTOCAP_F_ENCRYPT_MAC () {0x4;}' unless defined(&CRYPTOCAP_F_ENCRYPT_MAC);
    eval 'sub CRYPTOCAP_F_MAC_ENCRYPT () {0x8;}' unless defined(&CRYPTOCAP_F_MAC_ENCRYPT);
    eval 'sub COP_ENCRYPT () {1;}' unless defined(&COP_ENCRYPT);
    eval 'sub COP_DECRYPT () {2;}' unless defined(&COP_DECRYPT);
    eval 'sub CRYPTO_MAX_MAC_LEN () {20;}' unless defined(&CRYPTO_MAX_MAC_LEN);
    eval 'sub CRIOGET () { &_IOWR(ord(\'c\'), 100,  &u_int32_t);}' unless defined(&CRIOGET);
    eval 'sub CIOCGSESSION () { &_IOWR(ord(\'c\'), 101, \'struct session_op\');}' unless defined(&CIOCGSESSION);
    eval 'sub CIOCFSESSION () { &_IOW(ord(\'c\'), 102,  &u_int32_t);}' unless defined(&CIOCFSESSION);
    eval 'sub CIOCCRYPT () { &_IOWR(ord(\'c\'), 103, \'struct crypt_op\');}' unless defined(&CIOCCRYPT);
    eval 'sub CIOCKEY () { &_IOWR(ord(\'c\'), 104, \'struct crypt_kop\');}' unless defined(&CIOCKEY);
    eval 'sub CIOCASYMFEAT () { &_IOR(ord(\'c\'), 105,  &u_int32_t);}' unless defined(&CIOCASYMFEAT);
    if(defined(&_KERNEL)) {
    }
}
1;
