Add comments to generated files saying how they are generated.
This commit is contained in:
2
libaegis
2
libaegis
Submodule libaegis updated: 6a33995c7e...79dee09317
@@ -6,6 +6,9 @@ into user-provided buffers via optional `into=` (and `mac_into=` for detached).
|
||||
Error return codes from the C library raise ValueError.
|
||||
"""
|
||||
|
||||
# All modules are generated from aegis128l.py by tools/gen_modules.py!
|
||||
# DO NOT EDIT OTHER ALGORITHM FILES MANUALLY!
|
||||
|
||||
import errno
|
||||
from collections.abc import Buffer
|
||||
|
||||
|
||||
@@ -6,6 +6,9 @@ into user-provided buffers via optional `into=` (and `mac_into=` for detached).
|
||||
Error return codes from the C library raise ValueError.
|
||||
"""
|
||||
|
||||
# All modules are generated from aegis128x2.py by tools/gen_modules.py!
|
||||
# DO NOT EDIT OTHER ALGORITHM FILES MANUALLY!
|
||||
|
||||
import errno
|
||||
from collections.abc import Buffer
|
||||
|
||||
|
||||
@@ -6,6 +6,9 @@ into user-provided buffers via optional `into=` (and `mac_into=` for detached).
|
||||
Error return codes from the C library raise ValueError.
|
||||
"""
|
||||
|
||||
# All modules are generated from aegis128x4.py by tools/gen_modules.py!
|
||||
# DO NOT EDIT OTHER ALGORITHM FILES MANUALLY!
|
||||
|
||||
import errno
|
||||
from collections.abc import Buffer
|
||||
|
||||
|
||||
@@ -6,6 +6,9 @@ into user-provided buffers via optional `into=` (and `mac_into=` for detached).
|
||||
Error return codes from the C library raise ValueError.
|
||||
"""
|
||||
|
||||
# All modules are generated from aegis256.py by tools/gen_modules.py!
|
||||
# DO NOT EDIT OTHER ALGORITHM FILES MANUALLY!
|
||||
|
||||
import errno
|
||||
from collections.abc import Buffer
|
||||
|
||||
|
||||
@@ -6,6 +6,9 @@ into user-provided buffers via optional `into=` (and `mac_into=` for detached).
|
||||
Error return codes from the C library raise ValueError.
|
||||
"""
|
||||
|
||||
# All modules are generated from aegis256x2.py by tools/gen_modules.py!
|
||||
# DO NOT EDIT OTHER ALGORITHM FILES MANUALLY!
|
||||
|
||||
import errno
|
||||
from collections.abc import Buffer
|
||||
|
||||
|
||||
@@ -6,6 +6,9 @@ into user-provided buffers via optional `into=` (and `mac_into=` for detached).
|
||||
Error return codes from the C library raise ValueError.
|
||||
"""
|
||||
|
||||
# All modules are generated from aegis256x4.py by tools/gen_modules.py!
|
||||
# DO NOT EDIT OTHER ALGORITHM FILES MANUALLY!
|
||||
|
||||
import errno
|
||||
from collections.abc import Buffer
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
/* This file is generated with tools/gen_cdef.py. Do not edit. */
|
||||
|
||||
typedef unsigned char uint8_t;
|
||||
typedef unsigned long size_t;
|
||||
|
||||
|
||||
@@ -99,6 +99,8 @@ def generate_cdef(include_dir: pathlib.Path) -> str:
|
||||
"""Generate the complete CFFI cdef string from all aegis headers."""
|
||||
|
||||
lines = [
|
||||
"/* This file is generated with tools/gen_cdef.py. Do not edit. */",
|
||||
"",
|
||||
"typedef unsigned char uint8_t;",
|
||||
"typedef unsigned long size_t;",
|
||||
"",
|
||||
|
||||
Reference in New Issue
Block a user