gnutls_cipher_get_block_size(3)
β¨ NAME β¨
gnutls_cipher_get_block_size β the API function that tells you how big a cipher's block is, bestie π
It lives in the gnutls manual, and it's here to answer exactly one question: how many bytes in a block, queen?
πΈ SYNOPSIS πΈ
#include <gnutls/crypto.h>
unsigned gnutls_cipher_get_block_size(gnutls_cipher_algorithm_t
algorithm);
Like, that's it. One function, one argument, one unsigned coming back at you. Simple. Elegant. Iconic. π
π ARGUMENTS π
gnutls_cipher_algorithm_t algorithmβ bestie, this is an encryption algorithm. That's the whole vibe. You hand it a cipher algorithm and it does its little lookup thing. No cap. π¦
π« RETURNS π«
the block size of the encryption algorithm. fr fr, that's the return value β the block size, in all its numeric glory. π«Ά
β SINCE β
2.10.0 β so this one's been around since way before you were on this app, it's giving vintage but make it stable. π
π REPORTING BUGS π
Found a bug? Do NOT suffer in silence, bestie, that's not the vibe.
- Report bugs to <bugs@gnutls.org>.
- Home page: https://www.gnutls.org
lowkey if something's broken, tell the maintainers. They want to know. It's giving community. π
π COPYRIGHT π
Copyright Β© 2001-2023 Free Software Foundation, Inc., and others.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.
(Translation: you can copy and share this, just keep the copyright notice and this notice intact. Slay, but respectfully. β¨)
π SEE ALSO π
The full documentation for gnutls is maintained as a Texinfo manual. If the /usr/share/doc/gnutls/ directory does not contain the HTML form, visit:
https://www.gnutls.org/manual/
Go read the whole thing, iykyk π
Okay that's the whole page, no crumbs left, we ate and left no evidence. This was gnutls 3.8.13, mwah π β go check your block sizes responsibly, bestie! π§π
π¦ where this page comes from
- alpine 3.22: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.23: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.24: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- arch rolling: gnutls 3.8.13-3 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- ubuntu stonking: gnutls-doc 3.8.13-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms