summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/aes.h
diff options
context:
space:
mode:
authorMichael Brown2015-07-27 03:48:49 +0200
committerMichael Brown2015-07-27 17:04:31 +0200
commit69891db8e2159be589b0e98cf2f01ccc5118ee4c (patch)
tree6bbc976dcf627c840ddd760c4dea19a46e8fe461 /src/include/ipxe/aes.h
parent[802.11] Use correct SHA1_DIGEST_SIZE constant name (diff)
downloadipxe-69891db8e2159be589b0e98cf2f01ccc5118ee4c.tar.gz
ipxe-69891db8e2159be589b0e98cf2f01ccc5118ee4c.tar.xz
ipxe-69891db8e2159be589b0e98cf2f01ccc5118ee4c.zip
[crypto] Add ECB block cipher mode (for debug and self-tests only)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/aes.h')
-rw-r--r--src/include/ipxe/aes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/ipxe/aes.h b/src/include/ipxe/aes.h
index 4e44f9853..91e7483af 100644
--- a/src/include/ipxe/aes.h
+++ b/src/include/ipxe/aes.h
@@ -26,6 +26,7 @@ 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_ecb_algorithm;
extern struct cipher_algorithm aes_cbc_algorithm;
int aes_wrap ( const void *kek, const void *src, void *dest, int nblk );