1 /* 2 * crypto.h 3 * 4 * API for libcrypto 5 * 6 * David A. McGrew 7 * Cisco Systems, Inc. 8 */ 9 10 #ifndef CRYPTO_H 11 #define CRYPTO_H 12 13 /** 14 * @brief A cipher_type_id_t is an identifier for a particular cipher 15 * type. 16 * 17 * A cipher_type_id_t is an integer that represents a particular 18 * cipher type, e.g. the Advanced Encryption Standard (AES). A 19 * NULL_CIPHER is avaliable; this cipher leaves the data unchanged, 20 * and can be selected to indicate that no encryption is to take 21 * place. 22 * 23 * @ingroup Ciphers 24 */ 25 typedef uint32_t cipher_type_id_t; 26 27 /** 28 * @brief An auth_type_id_t is an identifier for a particular authentication 29 * function. 30 * 31 * An auth_type_id_t is an integer that represents a particular 32 * authentication function type, e.g. HMAC-SHA1. A NULL_AUTH is 33 * avaliable; this authentication function performs no computation, 34 * and can be selected to indicate that no authentication is to take 35 * place. 36 * 37 * @ingroup Authentication 38 */ 39 typedef uint32_t auth_type_id_t; 40 41 #endif /* CRYPTO_H */ 42 43 44