summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/hidden/openssl/cmac.h
diff options
context:
space:
mode:
authortb <>2024-03-02 09:30:21 +0000
committertb <>2024-03-02 09:30:21 +0000
commit27e901828ab79e35b7a6b736f5050679265ae63d (patch)
tree44c6059d07d7614a9e654590b63bf2cbc8e48bd6 /src/lib/libcrypto/hidden/openssl/cmac.h
parentc9bc42b7edc08f714c31d8ec1a974cc5b287ef4c (diff)
downloadopenbsd-27e901828ab79e35b7a6b736f5050679265ae63d.tar.gz
openbsd-27e901828ab79e35b7a6b736f5050679265ae63d.tar.bz2
openbsd-27e901828ab79e35b7a6b736f5050679265ae63d.zip
Remove CMAC_resume()
While it is a neat design detail of CMAC that you can resume it after having finalized it, nothing uses this functionality and it adds some gross things such as retaining intermediate secrets in the CMAC ctx. Once this is gone, we can simplify the CMAC code a bit. ok jsing
Diffstat (limited to 'src/lib/libcrypto/hidden/openssl/cmac.h')
-rw-r--r--src/lib/libcrypto/hidden/openssl/cmac.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/hidden/openssl/cmac.h b/src/lib/libcrypto/hidden/openssl/cmac.h
index cefdb4f6e5..1e802aa887 100644
--- a/src/lib/libcrypto/hidden/openssl/cmac.h
+++ b/src/lib/libcrypto/hidden/openssl/cmac.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: cmac.h,v 1.1 2023/07/08 14:27:14 beck Exp $ */ 1/* $OpenBSD: cmac.h,v 1.2 2024/03/02 09:30:21 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2023 Bob Beck <beck@openbsd.org> 3 * Copyright (c) 2023 Bob Beck <beck@openbsd.org>
4 * 4 *
@@ -33,6 +33,5 @@ LCRYPTO_USED(CMAC_CTX_copy);
33LCRYPTO_USED(CMAC_Init); 33LCRYPTO_USED(CMAC_Init);
34LCRYPTO_USED(CMAC_Update); 34LCRYPTO_USED(CMAC_Update);
35LCRYPTO_USED(CMAC_Final); 35LCRYPTO_USED(CMAC_Final);
36LCRYPTO_USED(CMAC_resume);
37 36
38#endif /* _LIBCRYPTO_CMAC_H */ 37#endif /* _LIBCRYPTO_CMAC_H */