aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/aes.h
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2012-03-09 15:45:56 +0000
committerMichael Brown <mcb30@ipxe.org>2012-03-09 17:14:39 +0000
commit1c29b4d979a9ea9be49bb942a2c41b7b6dc0dc9e (patch)
tree0738704fea59e225361b051adfabdd3769320317 /src/include/ipxe/aes.h
parent74b1e706a8cc4a85b82ec6afb8389c9af4eb87b7 (diff)
downloadipxe-1c29b4d979a9ea9be49bb942a2c41b7b6dc0dc9e.tar.gz
[crypto] Upgrade AES and RSA code to upstream axTLS version 1.4.5
All axTLS files are now vanilla versions of the upstream axTLS files, with one minor exception: the unused "ctx" parameter of bi_int_divide() has been marked with "__unused" to avoid a compilation error. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/aes.h')
-rw-r--r--src/include/ipxe/aes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/ipxe/aes.h b/src/include/ipxe/aes.h
index 5d645b207..4e44f9853 100644
--- a/src/include/ipxe/aes.h
+++ b/src/include/ipxe/aes.h
@@ -21,6 +21,10 @@ struct aes_context {
/** AES context size */
#define AES_CTX_SIZE sizeof ( struct aes_context )
+/* AXTLS functions */
+extern void axtls_aes_encrypt ( const AES_CTX *ctx, uint32_t *data );
+extern void axtls_aes_decrypt ( const AES_CTX *ctx, uint32_t *data );
+
extern struct cipher_algorithm aes_algorithm;
extern struct cipher_algorithm aes_cbc_algorithm;