Tor
0.4.9.2-alpha-dev
Toggle main menu visibility
Main Page
Related Pages
Modules
Data Structures
Data Structures
Data Structure Index
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
b
c
d
f
g
h
l
m
n
o
p
r
s
v
Enumerations
a
b
c
d
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerator
a
b
c
d
e
g
h
i
m
n
o
p
q
r
s
t
v
w
Macros
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
lib
crypt_ops
crypto_hkdf.h
Go to the documentation of this file.
1
/* Copyright (c) 2001, Matej Pfajfar.
2
* Copyright (c) 2001-2004, Roger Dingledine.
3
* Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
4
* Copyright (c) 2007-2021, The Tor Project, Inc. */
5
/* See LICENSE for licensing information */
6
7
/**
8
* \file crypto_hkdf.h
9
*
10
* \brief Headers for crypto_hkdf.h
11
**/
12
13
#ifndef TOR_CRYPTO_HKDF_H
14
#define TOR_CRYPTO_HKDF_H
15
16
#include "
lib/cc/torint.h
"
17
18
int
crypto_expand_key_material_TAP
(
const
uint8_t *key_in,
19
size_t
key_in_len,
20
uint8_t *key_out,
size_t
key_out_len);
21
int
crypto_expand_key_material_rfc5869_sha256
(
22
const
uint8_t *key_in,
size_t
key_in_len,
23
const
uint8_t *salt_in,
size_t
salt_in_len,
24
const
uint8_t *info_in,
size_t
info_in_len,
25
uint8_t *key_out,
size_t
key_out_len);
26
27
#endif
/* !defined(TOR_CRYPTO_HKDF_H) */
crypto_expand_key_material_TAP
int crypto_expand_key_material_TAP(const uint8_t *key_in, size_t key_in_len, uint8_t *key_out, size_t key_out_len)
Definition:
crypto_hkdf.c:40
crypto_expand_key_material_rfc5869_sha256
int crypto_expand_key_material_rfc5869_sha256(const uint8_t *key_in, size_t key_in_len, const uint8_t *salt_in, size_t salt_in_len, const uint8_t *info_in, size_t info_in_len, uint8_t *key_out, size_t key_out_len)
Definition:
crypto_hkdf.c:176
torint.h
Integer definitions used throughout Tor.
Generated by
1.9.4