Last change
on this file since 94320 was 94320, checked in by vboxsync, 3 years ago |
libs/openssl-3.0.1: Export to OSE and fix copyright headers in Makefiles, bugref:10128
|
File size:
693 bytes
|
Line | |
---|
1 | /*
|
---|
2 | * Copyright 2020-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 |
|
---|
10 | #include <stdlib.h>
|
---|
11 | #include <openssl/crypto.h>
|
---|
12 | #include "internal/refcount.h"
|
---|
13 |
|
---|
14 | struct kdf_data_st {
|
---|
15 | OSSL_LIB_CTX *libctx;
|
---|
16 | CRYPTO_REF_COUNT refcnt;
|
---|
17 | CRYPTO_RWLOCK *lock;
|
---|
18 | };
|
---|
19 |
|
---|
20 | typedef struct kdf_data_st KDF_DATA;
|
---|
21 |
|
---|
22 | KDF_DATA *ossl_kdf_data_new(void *provctx);
|
---|
23 | void ossl_kdf_data_free(KDF_DATA *kdfdata);
|
---|
24 | int ossl_kdf_data_up_ref(KDF_DATA *kdfdata);
|
---|
Note:
See
TracBrowser
for help on using the repository browser.