AWS Encryption SDK for C v2.4
Loading...
Searching...
No Matches
raw_aes_keyring.h
Go to the documentation of this file.
1/*
2 * Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use
5 * this file except in compliance with the License. A copy of the License is
6 * located at
7 *
8 * http://aws.amazon.com/apache2.0/
9 *
10 * or in the "license" file accompanying this file. This file is distributed on an
11 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12 * implied. See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15#ifndef AWS_CRYPTOSDK_RAW_AES_KEYRING_H
16#define AWS_CRYPTOSDK_RAW_AES_KEYRING_H
17
19#include <aws/cryptosdk/exports.h>
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
30
56AWS_CRYPTOSDK_API
58 struct aws_allocator *alloc,
59 const struct aws_string *key_namespace,
60 const struct aws_string *key_name,
61 const uint8_t *key_bytes,
62 enum aws_cryptosdk_aes_key_len key_len);
63 // doxygen group raw_keyring
65
66#ifdef __cplusplus
67}
68#endif
69
70#endif // AWS_CRYPTOSDK_RAW_AES_KEYRING_H
aws_cryptosdk_aes_key_len
Definition cipher.h:35
struct aws_cryptosdk_keyring * aws_cryptosdk_raw_aes_keyring_new(struct aws_allocator *alloc, const struct aws_string *key_namespace, const struct aws_string *key_name, const uint8_t *key_bytes, enum aws_cryptosdk_aes_key_len key_len)