From: Fred T. Hamster Date: Wed, 30 Sep 2026 00:58:00 +0000 (-0400) Subject: cleanups in naming for crypto classes X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=0bc44f636212e1c5b41cd73b9bdc503c92874eab;p=feisty_meow.git cleanups in naming for crypto classes --- diff --git a/nucleus/library/crypto/borked_blowfish_crypto.h b/nucleus/library/crypto/borked_blowfish_crypto.h index cf66b4c2..8d5ff04f 100644 --- a/nucleus/library/crypto/borked_blowfish_crypto.h +++ b/nucleus/library/crypto/borked_blowfish_crypto.h @@ -48,6 +48,8 @@ public: borked_blowfish_crypto(const borked_blowfish_crypto &to_copy); //!< copy constructor. + virtual const char *class_name() const { return "borked_blowfish_crypto"; } + virtual ~borked_blowfish_crypto(); borked_blowfish_crypto &operator = (const borked_blowfish_crypto &to_copy); diff --git a/nucleus/library/crypto/cryptical_envelopment.h b/nucleus/library/crypto/cryptical_envelopment.h index e192be6e..836f230c 100644 --- a/nucleus/library/crypto/cryptical_envelopment.h +++ b/nucleus/library/crypto/cryptical_envelopment.h @@ -28,7 +28,7 @@ typedef struct evp_cipher_st EVP_CIPHER; namespace crypto { -class cryptical_envelopment : public virtual basis::root_object +class cryptical_envelopment : public virtual basis::nameable { public: cryptical_envelopment(const EVP_CIPHER *cipher_type); @@ -37,6 +37,8 @@ public: virtual ~cryptical_envelopment(); + virtual const char *class_name() const { return "cryptical_envelopment"; } + cryptical_envelopment &operator = (const cryptical_envelopment &to_copy); bool set_key(int key_size); diff --git a/nucleus/library/crypto/twofish_crypto.h b/nucleus/library/crypto/twofish_crypto.h index 180ecedf..0ca5ed1a 100644 --- a/nucleus/library/crypto/twofish_crypto.h +++ b/nucleus/library/crypto/twofish_crypto.h @@ -35,6 +35,8 @@ public: twofish_crypto(const twofish_crypto &to_copy); //!< copy constructor. + virtual const char *class_name() const { return "twofish_crypto"; } + virtual ~twofish_crypto(); twofish_crypto &operator = (const twofish_crypto &to_copy);