summaryrefslogtreecommitdiff
path: root/src/mongo/crypto/SConscript
diff options
context:
space:
mode:
authorAdhishree Abhyankar <adhishree.abhyankar@mongodb.com>2022-08-11 17:13:54 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-08-11 18:46:00 +0000
commitb6f2d94e35f0c6f4b00cd68077510f697f354122 (patch)
treed6c9ad9aa37d9106f8689b459f0f63dd7e5a844c /src/mongo/crypto/SConscript
parent0ee2ddd2ba1a0a509ac25eb787563be27572013c (diff)
downloadmongo-b6f2d94e35f0c6f4b00cd68077510f697f354122.tar.gz
SERVER-67551: Asymmetric Key class
Diffstat (limited to 'src/mongo/crypto/SConscript')
-rw-r--r--src/mongo/crypto/SConscript13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mongo/crypto/SConscript b/src/mongo/crypto/SConscript
index 86e457a0f40..32d2b1ef35b 100644
--- a/src/mongo/crypto/SConscript
+++ b/src/mongo/crypto/SConscript
@@ -73,6 +73,17 @@ cryptoEnv.Library(
],
)
+cryptoEnv.Library(
+ target='asymmetric_crypto',
+ source=[
+ 'asymmetric_crypto_{}.cpp'.format(ssl_provider),
+ ],
+ LIBDEPS=[
+ '$BUILD_DIR/mongo/util/net/openssl_init' if ssl_provider == 'openssl' else '',
+ 'rsa_public_key',
+ ],
+)
+
env.Library(
target="aead_encryption",
source=[
@@ -136,6 +147,7 @@ env.CppUnitTest(
target='crypto_test',
source=[
'aead_encryption_test.cpp',
+ 'asymmetric_crypto_openssl_test.cpp',
'encryption_fields_util_test.cpp',
'fle_crypto_test.cpp',
'mechanism_scram_test.cpp',
@@ -150,6 +162,7 @@ env.CppUnitTest(
'$BUILD_DIR/mongo/base/secure_allocator',
'$BUILD_DIR/mongo/util/net/openssl_init' if ssl_provider == 'openssl' else '',
'aead_encryption',
+ 'asymmetric_crypto',
'encrypted_field_config',
'fle_crypto',
'rsa_public_key',