2
0

EVP_CIPHER-NULL.pod 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. =pod
  2. =head1 NAME
  3. EVP_CIPHER-NULL - The NULL EVP_CIPHER implementation
  4. =head1 DESCRIPTION
  5. Support for a NULL symmetric encryption using the B<EVP_CIPHER> API.
  6. This is used when the TLS cipher suite is TLS_NULL_WITH_NULL_NULL.
  7. This does no encryption (just copies the data) and has a mac size of zero.
  8. =head2 Algorithm Name
  9. The following algorithm is available in the default provider:
  10. =over 4
  11. =item "NULL"
  12. =back
  13. =head2 Parameters
  14. This implementation supports the following parameters:
  15. =head3 Gettable EVP_CIPHER parameters
  16. See L<EVP_EncryptInit(3)/Gettable EVP_CIPHER parameters>
  17. =head3 Gettable EVP_CIPHER_CTX parameters
  18. =over 4
  19. =item "keylen" (B<OSSL_CIPHER_PARAM_KEYLEN>) <unsigned integer>
  20. =item "ivlen" (B<OSSL_CIPHER_PARAM_IVLEN> and <B<OSSL_CIPHER_PARAM_AEAD_IVLEN>) <unsigned integer>
  21. =item "tls-mac" (B<OSSL_CIPHER_PARAM_TLS_MAC>) <octet ptr>
  22. =back
  23. See L<EVP_EncryptInit(3)/PARAMETERS> for further information.
  24. =head3 Settable EVP_CIPHER_CTX parameters
  25. =over 4
  26. =item "tls-mac-size" (B<OSSL_CIPHER_PARAM_TLS_MAC_SIZE>) <unsigned integer>
  27. =back
  28. See L<EVP_EncryptInit(3)/PARAMETERS> for further information.
  29. =head1 CONFORMING TO
  30. RFC 5246 section-6.2.3.1
  31. =head1 SEE ALSO
  32. L<provider-cipher(7)>, L<OSSL_PROVIDER-default(7)>
  33. =head1 COPYRIGHT
  34. Copyright 2023 The OpenSSL Project Authors. All Rights Reserved.
  35. Licensed under the Apache License 2.0 (the "License"). You may not use
  36. this file except in compliance with the License. You can obtain a copy
  37. in the file LICENSE in the source distribution or at
  38. L<https://www.openssl.org/source/license.html>.
  39. =cut