[crypto] Split crypto_algorithm into {digest,cipher,pubkey}_algorithm
[people/lynusvaz/gpxe.git] / src / include / gpxe / tls.h
index 182bc49..ddec7be 100644 (file)
@@ -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 */