]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/crypto/aes/i386/Context.h
xnu-1699.22.73.tar.gz
[apple/xnu.git] / bsd / crypto / aes / i386 / Context.h
diff --git a/bsd/crypto/aes/i386/Context.h b/bsd/crypto/aes/i386/Context.h
new file mode 100644 (file)
index 0000000..f53cb95
--- /dev/null
@@ -0,0 +1,9 @@
+// Define byte offset of key within context structure.
+#define        ContextKey                      0
+
+/*     Define byte offset of key length within context structure.  The number
+       stored there is the number of bytes from the start of the first round key
+       to the start of the last round key.  That is 16 less than the number of
+       bytes in the entire key.
+*/
+#define        ContextKeyLength        240