hcrypto_core(3)

πŸ“¦
version 7.8.0 Β· 6 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, epel 10, epel 9, fedora 43, fedora 44

πŸ’– hcrypto_core πŸ’– β€” the hcrypto function controlling behavior, bestie

okay so this is hcrypto_core(3), from the Heimdal crypto library, and it's literally just the lil control-panel page for hcrypto. no cap, it's where the functions that control behavior live. πŸŽ€


✨ NAME ✨

hcrypto_core β€” hcrypto function controlling behavior

fr fr that's the whole vibe: it's the function that controls behavior.


🌸 SYNOPSIS 🌸

πŸ¦‹ Functions

int EVP_CIPHER_CTX_rand_key (EVP_CIPHER_CTX *ctx, void *key)
int EVP_CIPHER_CTX_ctrl (EVP_CIPHER_CTX *ctx, int type, int arg, void *data)
void OpenSSL_add_all_algorithms (void)
void OpenSSL_add_all_algorithms_conf (void)
void OpenSSL_add_all_algorithms_noconf (void)

πŸ’… Detailed Description πŸ’…

(that's it bestie, that's the section, the real tea is down in Function Documentation πŸ‘‡)


πŸ‘‘ Function Documentation πŸ‘‘

⭐ int EVP_CIPHER_CTX_ctrl (EVP_CIPHER_CTX * ctx, int type, int arg, void * data)

Perform a operation on a ctx. πŸ’«

πŸ“ Parameters

  • ctx β€” context to perform operation on.
  • type β€” type of operation.
  • arg β€” argument to operation.
  • data β€” addition data to operation.

🫢 Returns

1 for success, 0 for failure.


🧚 int EVP_CIPHER_CTX_rand_key (EVP_CIPHER_CTX * ctx, void * key)

Generate a random key for the specificed EVP_CIPHER. (yes "specificed", that's the original spelling, we're not touching it, it's iconic πŸ’€)

🌸 Parameters

  • ctx β€” EVP_CIPHER_CTX type to build the key for.
  • key β€” return key, must be at least EVP_CIPHER_key_length() byte long.
⚠️ okay so listen: that key buffer has to be at least EVP_CIPHER_key_length() bytes long. do not skimp on the buffer size, that's not a vibe, that's a crash waiting to happen 😭

πŸ’œ Returns

1 for success, 0 for failure.


🌈 void OpenSSL_add_all_algorithms (void)

Add all algorithms to the crypto core. all of them. the whole roster. πŸ”₯


πŸŽ€ void OpenSSL_add_all_algorithms_conf (void)

Add all algorithms to the crypto core using configuration file. πŸ“„βœ¨


πŸ¦‹ void OpenSSL_add_all_algorithms_noconf (void)

Add all algorithms to the crypto core, but don't use the configuration file. πŸ™ˆ


πŸ’– Author πŸ’–

Generated automatically by Doxygen for Heimdal crypto library from the source code. (yes, the docs wrote themselves, main character energy honestly πŸ‘‘)


k bye bestie, that's the whole page, mwah πŸ’‹

this was Version 7.8.0, dated Tue Nov 15 2022, and the manpage name is hcrypto_core(3) β€” slay, go forth and control your crypto behavior βœ¨πŸ’…

πŸ“¦ where this page comes from