kdf_local.h 990 B

12345678910111213141516171819202122
  1. /*
  2. * Copyright 2018 The OpenSSL Project Authors. All Rights Reserved.
  3. * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
  4. *
  5. * Licensed under the Apache License 2.0 (the "License"). You may not use
  6. * this file except in compliance with the License. You can obtain a copy
  7. * in the file LICENSE in the source distribution or at
  8. * https://www.openssl.org/source/license.html
  9. */
  10. int call_ctrl(int (*ctrl)(EVP_KDF_IMPL *impl, int cmd, va_list args),
  11. EVP_KDF_IMPL *impl, int cmd, ...);
  12. int kdf_str2ctrl(EVP_KDF_IMPL *impl,
  13. int (*ctrl)(EVP_KDF_IMPL *impl, int cmd, va_list args),
  14. int cmd, const char *str);
  15. int kdf_hex2ctrl(EVP_KDF_IMPL *impl,
  16. int (*ctrl)(EVP_KDF_IMPL *impl, int cmd, va_list args),
  17. int cmd, const char *hex);
  18. int kdf_md2ctrl(EVP_KDF_IMPL *impl,
  19. int (*ctrl)(EVP_KDF_IMPL *impl, int cmd, va_list args),
  20. int cmd, const char *md_name);