Home | History | Annotate | Download | only in crypto
      1 # Copyright 2014 The Chromium Authors. All rights reserved.
      2 # Use of this source code is governed by a BSD-style license that can be
      3 # found in the LICENSE file.
      4 
      5 {
      6   'variables': {
      7     # Put all transitive dependencies for Windows HMAC here.
      8     # This is required so that we can build them for nacl win64.
      9     'variables': {
     10       'hmac_win64_related_sources': [
     11         'hmac.cc',
     12         'hmac.h',
     13         'hmac_win.cc',
     14         'secure_util.cc',
     15         'secure_util.h',
     16         'symmetric_key.h',
     17         'symmetric_key_win.cc',
     18         'third_party/nss/chromium-blapi.h',
     19         'third_party/nss/chromium-blapit.h',
     20         'third_party/nss/chromium-prtypes.h',
     21         'third_party/nss/chromium-sha256.h',
     22         'third_party/nss/sha512.cc',
     23       ],
     24     },
     25     'hmac_win64_related_sources': [ '<@(hmac_win64_related_sources)' ],
     26     'crypto_sources': [
     27       # NOTE: all transitive dependencies of HMAC on windows need
     28       #     to be placed in the source list above.
     29       '<@(hmac_win64_related_sources)',
     30       'apple_keychain.h',
     31       'apple_keychain_ios.mm',
     32       'apple_keychain_mac.mm',
     33       'capi_util.cc',
     34       'capi_util.h',
     35       'crypto_export.h',
     36       'cssm_init.cc',
     37       'cssm_init.h',
     38       'curve25519.cc',
     39       'curve25519.h',
     40       'curve25519-donna.c',
     41       'ghash.cc',
     42       'ghash.h',
     43       'ec_private_key.h',
     44       'ec_private_key_nss.cc',
     45       'ec_private_key_openssl.cc',
     46       'ec_signature_creator.cc',
     47       'ec_signature_creator.h',
     48       'ec_signature_creator_impl.h',
     49       'ec_signature_creator_nss.cc',
     50       'ec_signature_creator_openssl.cc',
     51       'encryptor.cc',
     52       'encryptor.h',
     53       'encryptor_nss.cc',
     54       'encryptor_openssl.cc',
     55       'hkdf.cc',
     56       'hkdf.h',
     57       'hmac_nss.cc',
     58       'hmac_openssl.cc',
     59       'mac_security_services_lock.cc',
     60       'mac_security_services_lock.h',
     61       'mock_apple_keychain.cc',
     62       'mock_apple_keychain.h',
     63       'mock_apple_keychain_ios.cc',
     64       'mock_apple_keychain_mac.cc',
     65       'p224_spake.cc',
     66       'p224_spake.h',
     67       'nss_crypto_module_delegate.h',
     68       'nss_util.cc',
     69       'nss_util.h',
     70       'nss_util_internal.h',
     71       'openssl_bio_string.cc',
     72       'openssl_bio_string.h',
     73       'openssl_util.cc',
     74       'openssl_util.h',
     75       'p224.cc',
     76       'p224.h',
     77       'random.h',
     78       'random.cc',
     79       'rsa_private_key.cc',
     80       'rsa_private_key.h',
     81       'rsa_private_key_nss.cc',
     82       'rsa_private_key_openssl.cc',
     83       'scoped_capi_types.h',
     84       'scoped_nss_types.h',
     85       'secure_hash.h',
     86       'secure_hash_default.cc',
     87       'secure_hash_openssl.cc',
     88       'sha2.cc',
     89       'sha2.h',
     90       'signature_creator.h',
     91       'signature_creator_nss.cc',
     92       'signature_creator_openssl.cc',
     93       'signature_verifier.h',
     94       'signature_verifier_nss.cc',
     95       'signature_verifier_openssl.cc',
     96       'symmetric_key_nss.cc',
     97       'symmetric_key_openssl.cc',
     98       'third_party/nss/chromium-nss.h',
     99       'third_party/nss/pk11akey.cc',
    100       'third_party/nss/rsawrapr.c',
    101       'third_party/nss/secsign.cc',
    102     ]
    103   }
    104 }
    105