Electroneum
Toggle main menu visibility
Loading...
Searching...
No Matches
keyraw.h
Go to the documentation of this file.
1
/*
2
* keyraw.h -- raw key and signature access and conversion
3
*
4
* Copyright (c) 2005-2008, NLnet Labs. All rights reserved.
5
*
6
* See LICENSE for the license.
7
*
8
*/
9
19
20
#ifndef LDNS_KEYRAW_H
21
#define LDNS_KEYRAW_H
22
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
#if LDNS_BUILD_CONFIG_HAVE_SSL
27
# include <openssl/ssl.h>
28
# include <openssl/evp.h>
29
#endif
/* LDNS_BUILD_CONFIG_HAVE_SSL */
30
38
size_t
sldns_rr_dnskey_key_size_raw
(
const
unsigned
char
*keydata,
39
const
size_t
len,
int
alg);
40
47
uint16_t
sldns_calc_keytag_raw
(
uint8_t
*
key
,
size_t
keysize);
48
49
#if LDNS_BUILD_CONFIG_HAVE_SSL
55
int
sldns_key_EVP_load_gost_id(
void
);
56
58
void
sldns_key_EVP_unload_gost(
void
);
59
66
DSA *sldns_key_buf2dsa_raw(
unsigned
char
*
key
,
size_t
len);
67
75
EVP_PKEY* sldns_gost2pkey_raw(
unsigned
char
*
key
,
size_t
keylen);
76
85
EVP_PKEY* sldns_ecdsa2pkey_raw(
unsigned
char
*
key
,
size_t
keylen,
uint8_t
algo);
86
93
RSA *sldns_key_buf2rsa_raw(
unsigned
char
*
key
,
size_t
len);
94
102
EVP_PKEY* sldns_ed255192pkey_raw(
const
unsigned
char
*
key
,
size_t
len);
103
111
EVP_PKEY* sldns_ed4482pkey_raw(
const
unsigned
char
*
key
,
size_t
len);
112
121
int
sldns_digest_evp(
unsigned
char
* data,
unsigned
int
len,
122
unsigned
char
*
dest
,
const
EVP_MD* md);
123
124
#endif
/* LDNS_BUILD_CONFIG_HAVE_SSL */
125
126
#ifdef __cplusplus
127
}
128
#endif
129
130
#endif
/* LDNS_KEYRAW_H */
key
const char * key
Definition
hmac_keccak.cpp:39
sldns_rr_dnskey_key_size_raw
size_t sldns_rr_dnskey_key_size_raw(const unsigned char *keydata, const size_t len, int alg)
sldns_calc_keytag_raw
uint16_t sldns_calc_keytag_raw(uint8_t *key, size_t keysize)
dest
CXA_THROW_INFO_T void(* dest)(void *))
Definition
stack_trace.cpp:91
uint16_t
unsigned short uint16_t
Definition
stdint.h:125
uint8_t
unsigned char uint8_t
Definition
stdint.h:124
external
unbound
sldns
keyraw.h
Generated on
for Electroneum by
1.17.0