diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:45:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:45:59 +0000 |
commit | 19fcec84d8d7d21e796c7624e521b60d28ee21ed (patch) | |
tree | 42d26aa27d1e3f7c0b8bd3fd14e7d7082f5008dc /src/libkmip/kmip_bio.h | |
parent | Initial commit. (diff) | |
download | ceph-6d07fdb6bb33b1af39833b850bb6cf8af79fe293.tar.xz ceph-6d07fdb6bb33b1af39833b850bb6cf8af79fe293.zip |
Adding upstream version 16.2.11+ds.upstream/16.2.11+dsupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | src/libkmip/kmip_bio.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/libkmip/kmip_bio.h b/src/libkmip/kmip_bio.h new file mode 100644 index 000000000..1877c41fa --- /dev/null +++ b/src/libkmip/kmip_bio.h @@ -0,0 +1,31 @@ +/* Copyright (c) 2018 The Johns Hopkins University/Applied Physics Laboratory + * All Rights Reserved. + * + * This file is dual licensed under the terms of the Apache 2.0 License and + * the BSD 3-Clause License. See the LICENSE file in the root of this + * repository for more information. + */ + +#ifndef KMIP_BIO_H +#define KMIP_BIO_H + +#include <openssl/ssl.h> +#include "kmip.h" + +/* +OpenSSH BIO API +*/ + +int kmip_bio_create_symmetric_key(BIO *, TemplateAttribute *, char **, int *); +int kmip_bio_locate(BIO *, Attribute *, size_t, size_t *, char ***); +int kmip_bio_get_symmetric_key(BIO *, char *, int, char **, int *); +int kmip_bio_destroy_symmetric_key(BIO *, char *, int); + +int kmip_bio_create_symmetric_key_with_context(KMIP *, BIO *, TemplateAttribute *, char **, int *); +int kmip_bio_locate_with_context(KMIP *, BIO *, Attribute *, size_t, size_t *, char ***); +int kmip_bio_get_symmetric_key_with_context(KMIP *, BIO *, char *, int, char **, int *); +int kmip_bio_destroy_symmetric_key_with_context(KMIP *, BIO *, char *, int); + +int kmip_bio_send_request_encoding(KMIP *, BIO *, char *, int, char **, int *); + +#endif /* KMIP_BIO_H */ |