doc/functions/gnutls_cipher_get_iv_size
raw| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | @deftypefun {unsigned} {gnutls_cipher_get_iv_size} (gnutls_cipher_algorithm_t @var{algorithm}) |
| 6 | @var{algorithm}: is an encryption algorithm |
| 7 | |
| 8 | This function returns the size of the initialization vector (IV) for the |
| 9 | provided algorithm. For algorithms with variable size IV (e.g., AES-CCM), |
| 10 | the returned size will be the one used by TLS. |
| 11 | |
| 12 | @strong{Returns:} block size for encryption algorithm. |
| 13 | |
| 14 | @strong{Since:} 3.2.0 |
| 15 | @end deftypefun |