1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/lib/crypto/wscript
Jeremy Allison 5f87a05aa3 lib: crypto: Add the ability to select Intel AESNI instruction set at configure time.
Add --accel-aes=[none|intelaesni] to select.
Default is none.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13008

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2017-09-07 02:01:08 +02:00

7 lines
232 B
Python

#!/usr/bin/env python
def set_options(opt):
opt.add_option('--accel-aes',
help=("Should we use accelerated AES crypto functions. Options are intelaesni|none."),
action="store", dest='accel_aes', default="none")