Changeset View
Changeset View
Standalone View
Standalone View
sys/opencrypto/xform_auth.h
Show First 20 Lines • Show All 78 Lines • ▼ Show 20 Lines | |||||
extern const struct auth_hash auth_hash_nist_gmac_aes_192; | extern const struct auth_hash auth_hash_nist_gmac_aes_192; | ||||
extern const struct auth_hash auth_hash_nist_gmac_aes_256; | extern const struct auth_hash auth_hash_nist_gmac_aes_256; | ||||
extern const struct auth_hash auth_hash_blake2b; | extern const struct auth_hash auth_hash_blake2b; | ||||
extern const struct auth_hash auth_hash_blake2s; | extern const struct auth_hash auth_hash_blake2s; | ||||
extern const struct auth_hash auth_hash_poly1305; | extern const struct auth_hash auth_hash_poly1305; | ||||
extern const struct auth_hash auth_hash_ccm_cbc_mac_128; | extern const struct auth_hash auth_hash_ccm_cbc_mac_128; | ||||
extern const struct auth_hash auth_hash_ccm_cbc_mac_192; | extern const struct auth_hash auth_hash_ccm_cbc_mac_192; | ||||
extern const struct auth_hash auth_hash_ccm_cbc_mac_256; | extern const struct auth_hash auth_hash_ccm_cbc_mac_256; | ||||
extern const struct auth_hash auth_hash_chacha20_poly1305; | |||||
union authctx { | union authctx { | ||||
SHA1_CTX sha1ctx; | SHA1_CTX sha1ctx; | ||||
RMD160_CTX rmd160ctx; | RMD160_CTX rmd160ctx; | ||||
SHA224_CTX sha224ctx; | SHA224_CTX sha224ctx; | ||||
SHA256_CTX sha256ctx; | SHA256_CTX sha256ctx; | ||||
SHA384_CTX sha384ctx; | SHA384_CTX sha384ctx; | ||||
SHA512_CTX sha512ctx; | SHA512_CTX sha512ctx; | ||||
struct aes_gmac_ctx aes_gmac_ctx; | struct aes_gmac_ctx aes_gmac_ctx; | ||||
struct aes_cbc_mac_ctx aes_cbc_mac_ctx; | struct aes_cbc_mac_ctx aes_cbc_mac_ctx; | ||||
}; | }; | ||||
#endif /* _CRYPTO_XFORM_AUTH_H_ */ | #endif /* _CRYPTO_XFORM_AUTH_H_ */ |