aboutsummaryrefslogtreecommitdiffstats
path: root/src/_cffi_src/hazmat_src/padding.h
diff options
context:
space:
mode:
authorCédric Krier <ced@b2ck.com>2016-02-27 00:28:39 +0100
committerCédric Krier <ced@b2ck.com>2016-02-27 19:24:42 +0100
commit94f9ea25b50a3dd2592abfc63385989955e60e68 (patch)
treef9301d7a74915ab2991e732d3034367e82ae65ee /src/_cffi_src/hazmat_src/padding.h
parentf8c230d1ab16905c64baa88322aa0bb4e8f094bd (diff)
downloadcryptography-94f9ea25b50a3dd2592abfc63385989955e60e68.tar.gz
cryptography-94f9ea25b50a3dd2592abfc63385989955e60e68.tar.bz2
cryptography-94f9ea25b50a3dd2592abfc63385989955e60e68.zip
Add padding check for ANSI X.923
All padding bytes must be 0.
Diffstat (limited to 'src/_cffi_src/hazmat_src/padding.h')
-rw-r--r--src/_cffi_src/hazmat_src/padding.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/_cffi_src/hazmat_src/padding.h b/src/_cffi_src/hazmat_src/padding.h
index 4d218b1a..fb023c17 100644
--- a/src/_cffi_src/hazmat_src/padding.h
+++ b/src/_cffi_src/hazmat_src/padding.h
@@ -3,3 +3,4 @@
// repository for complete details.
uint8_t Cryptography_check_pkcs7_padding(const uint8_t *, uint8_t);
+uint8_t Cryptography_check_ansix923_padding(const uint8_t *, uint8_t);