From a3219b24a8ea4699e7b04cf1f1131aade9fcd855 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 18 Feb 2009 21:56:02 +0000 Subject: [crypto] Split crypto_algorithm into {digest,cipher,pubkey}_algorithm The various types of cryptographic algorithm are fundamentally different, and it was probably a mistake to try to handle them via a single common type. pubkey_algorithm is a placeholder type for now. --- src/include/gpxe/tls.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/include/gpxe/tls.h') diff --git a/src/include/gpxe/tls.h b/src/include/gpxe/tls.h index 182bc49da..ddec7bec2 100644 --- a/src/include/gpxe/tls.h +++ b/src/include/gpxe/tls.h @@ -91,11 +91,11 @@ enum tls_tx_state { /** A TLS cipher specification */ struct tls_cipherspec { /** Public-key encryption algorithm */ - struct crypto_algorithm *pubkey; + struct pubkey_algorithm *pubkey; /** Bulk encryption cipher algorithm */ - struct crypto_algorithm *cipher; + struct cipher_algorithm *cipher; /** MAC digest algorithm */ - struct crypto_algorithm *digest; + struct digest_algorithm *digest; /** Key length */ size_t key_len; /** Dynamically-allocated storage */ -- cgit v1.2.3-55-g7522