1f15c2e64Schristos /* 2*66bae5e7Schristos * Copyright 2017-2021 The OpenSSL Project Authors. All Rights Reserved. 3f15c2e64Schristos * 4*66bae5e7Schristos * Licensed under the Apache License 2.0 (the "License"). You may not use 5f15c2e64Schristos * this file except in compliance with the License. You can obtain a copy 6f15c2e64Schristos * in the file LICENSE in the source distribution or at 7f15c2e64Schristos * https://www.openssl.org/source/license.html 8f15c2e64Schristos */ 9f15c2e64Schristos #ifndef OSSL_CRYPTO_EC_CURVE448_LOCAL_H 10f15c2e64Schristos # define OSSL_CRYPTO_EC_CURVE448_LOCAL_H 11f15c2e64Schristos # include "curve448utils.h" 12f15c2e64Schristos 13*66bae5e7Schristos int 14*66bae5e7Schristos ossl_ed448ph_sign(OSSL_LIB_CTX *ctx, uint8_t *out_sig, const uint8_t hash[64], 15f15c2e64Schristos const uint8_t public_key[57], const uint8_t private_key[57], 16*66bae5e7Schristos const uint8_t *context, size_t context_len, const char *propq); 17f15c2e64Schristos 18*66bae5e7Schristos int 19*66bae5e7Schristos ossl_ed448ph_verify(OSSL_LIB_CTX *ctx, const uint8_t hash[64], 20f15c2e64Schristos const uint8_t signature[114], const uint8_t public_key[57], 21*66bae5e7Schristos const uint8_t *context, size_t context_len, 22*66bae5e7Schristos const char *propq); 23f15c2e64Schristos 24f15c2e64Schristos #endif /* OSSL_CRYPTO_EC_CURVE448_LOCAL_H */ 25