Last change
on this file since 104078 was 104078, checked in by vboxsync, 11 months ago |
openssl-3.1.5: Applied and adjusted our OpenSSL changes to 3.1.4. bugref:10638
|
File size:
1001 bytes
|
Line | |
---|
1 | /*
|
---|
2 | * Copyright 2017-2021 The OpenSSL Project Authors. All Rights Reserved.
|
---|
3 | *
|
---|
4 | * Licensed under the Apache License 2.0 (the "License"). You may not use
|
---|
5 | * this file except in compliance with the License. You can obtain a copy
|
---|
6 | * in the file LICENSE in the source distribution or at
|
---|
7 | * https://www.openssl.org/source/license.html
|
---|
8 | */
|
---|
9 | #ifndef OSSL_CRYPTO_EC_CURVE448_LOCAL_H
|
---|
10 | # define OSSL_CRYPTO_EC_CURVE448_LOCAL_H
|
---|
11 | # include "curve448utils.h"
|
---|
12 |
|
---|
13 | int
|
---|
14 | ossl_ed448ph_sign(OSSL_LIB_CTX *ctx, uint8_t *out_sig, const uint8_t hash[64],
|
---|
15 | const uint8_t public_key[57], const uint8_t private_key[57],
|
---|
16 | const uint8_t *context, size_t context_len, const char *propq);
|
---|
17 |
|
---|
18 | int
|
---|
19 | ossl_ed448ph_verify(OSSL_LIB_CTX *ctx, const uint8_t hash[64],
|
---|
20 | const uint8_t signature[114], const uint8_t public_key[57],
|
---|
21 | const uint8_t *context, size_t context_len,
|
---|
22 | const char *propq);
|
---|
23 |
|
---|
24 | #endif /* OSSL_CRYPTO_EC_CURVE448_LOCAL_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.