Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Side by Side Diff: net/net.gyp

Issue 12623017: Add Aes128GcmEncrypter and Aes128GcmDecrypter (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Add a stub NSS-based implementation. Skip tests if AES GCM is not supported. Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 8
9 'linux_link_kerberos%': 0, 9 'linux_link_kerberos%': 0,
10 'use_simple_cache_backend%': 0, 10 'use_simple_cache_backend%': 0,
(...skipping 678 matching lines...) Expand 10 before | Expand all | Expand 10 after
689 'quic/congestion_control/quic_congestion_manager.cc', 689 'quic/congestion_control/quic_congestion_manager.cc',
690 'quic/congestion_control/quic_congestion_manager.h', 690 'quic/congestion_control/quic_congestion_manager.h',
691 'quic/congestion_control/receive_algorithm_interface.cc', 691 'quic/congestion_control/receive_algorithm_interface.cc',
692 'quic/congestion_control/receive_algorithm_interface.h', 692 'quic/congestion_control/receive_algorithm_interface.h',
693 'quic/congestion_control/send_algorithm_interface.cc', 693 'quic/congestion_control/send_algorithm_interface.cc',
694 'quic/congestion_control/send_algorithm_interface.h', 694 'quic/congestion_control/send_algorithm_interface.h',
695 'quic/congestion_control/tcp_cubic_sender.cc', 695 'quic/congestion_control/tcp_cubic_sender.cc',
696 'quic/congestion_control/tcp_cubic_sender.h', 696 'quic/congestion_control/tcp_cubic_sender.h',
697 'quic/congestion_control/tcp_receiver.cc', 697 'quic/congestion_control/tcp_receiver.cc',
698 'quic/congestion_control/tcp_receiver.h', 698 'quic/congestion_control/tcp_receiver.h',
699 'quic/crypto/aes_128_gcm_decrypter.h',
700 'quic/crypto/aes_128_gcm_decrypter_nss.cc',
701 'quic/crypto/aes_128_gcm_decrypter_openssl.cc',
702 'quic/crypto/aes_128_gcm_encrypter.h',
703 'quic/crypto/aes_128_gcm_encrypter_nss.cc',
704 'quic/crypto/aes_128_gcm_encrypter_openssl.cc',
699 'quic/crypto/crypto_framer.cc', 705 'quic/crypto/crypto_framer.cc',
700 'quic/crypto/crypto_framer.h', 706 'quic/crypto/crypto_framer.h',
701 'quic/crypto/crypto_handshake.cc', 707 'quic/crypto/crypto_handshake.cc',
702 'quic/crypto/crypto_handshake.h', 708 'quic/crypto/crypto_handshake.h',
703 'quic/crypto/crypto_protocol.cc', 709 'quic/crypto/crypto_protocol.cc',
704 'quic/crypto/crypto_protocol.h', 710 'quic/crypto/crypto_protocol.h',
705 'quic/crypto/crypto_utils.cc', 711 'quic/crypto/crypto_utils.cc',
706 'quic/crypto/crypto_utils.h', 712 'quic/crypto/crypto_utils.h',
707 'quic/crypto/curve25519_key_exchange.cc', 713 'quic/crypto/curve25519_key_exchange.cc',
708 'quic/crypto/curve25519_key_exchange.h', 714 'quic/crypto/curve25519_key_exchange.h',
709 'quic/crypto/key_exchange.h', 715 'quic/crypto/key_exchange.h',
710 'quic/crypto/null_decrypter.cc', 716 'quic/crypto/null_decrypter.cc',
711 'quic/crypto/null_decrypter.h', 717 'quic/crypto/null_decrypter.h',
712 'quic/crypto/null_encrypter.cc', 718 'quic/crypto/null_encrypter.cc',
713 'quic/crypto/null_encrypter.h', 719 'quic/crypto/null_encrypter.h',
714 'quic/crypto/p256_key_exchange.h', 720 'quic/crypto/p256_key_exchange.h',
715 'quic/crypto/p256_key_exchange_nss.cc', 721 'quic/crypto/p256_key_exchange_nss.cc',
716 'quic/crypto/p256_key_exchange_openssl.cc', 722 'quic/crypto/p256_key_exchange_openssl.cc',
717 'quic/crypto/quic_decrypter.cc', 723 'quic/crypto/quic_decrypter.cc',
718 'quic/crypto/quic_decrypter.h', 724 'quic/crypto/quic_decrypter.h',
719 'quic/crypto/quic_encrypter.cc', 725 'quic/crypto/quic_encrypter.cc',
720 'quic/crypto/quic_encrypter.h', 726 'quic/crypto/quic_encrypter.h',
721 'quic/crypto/quic_random.cc', 727 'quic/crypto/quic_random.cc',
722 'quic/crypto/quic_random.h', 728 'quic/crypto/quic_random.h',
729 'quic/crypto/scoped_evp_cipher_ctx.h',
723 'quic/quic_bandwidth.cc', 730 'quic/quic_bandwidth.cc',
724 'quic/quic_bandwidth.h', 731 'quic/quic_bandwidth.h',
725 'quic/quic_blocked_writer_interface.h', 732 'quic/quic_blocked_writer_interface.h',
726 'quic/quic_client_session.cc', 733 'quic/quic_client_session.cc',
727 'quic/quic_client_session.h', 734 'quic/quic_client_session.h',
728 'quic/quic_crypto_client_stream.cc', 735 'quic/quic_crypto_client_stream.cc',
729 'quic/quic_crypto_client_stream.h', 736 'quic/quic_crypto_client_stream.h',
730 'quic/quic_crypto_stream.cc', 737 'quic/quic_crypto_stream.cc',
731 'quic/quic_crypto_stream.h', 738 'quic/quic_crypto_stream.h',
732 'quic/quic_clock.cc', 739 'quic/quic_clock.cc',
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
1089 'base/x509_util_nss.cc', 1096 'base/x509_util_nss.cc',
1090 'base/x509_util_nss.h', 1097 'base/x509_util_nss.h',
1091 'ocsp/nss_ocsp.cc', 1098 'ocsp/nss_ocsp.cc',
1092 'ocsp/nss_ocsp.h', 1099 'ocsp/nss_ocsp.h',
1093 'socket/nss_ssl_util.cc', 1100 'socket/nss_ssl_util.cc',
1094 'socket/nss_ssl_util.h', 1101 'socket/nss_ssl_util.h',
1095 'socket/ssl_client_socket_nss.cc', 1102 'socket/ssl_client_socket_nss.cc',
1096 'socket/ssl_client_socket_nss.h', 1103 'socket/ssl_client_socket_nss.h',
1097 'socket/ssl_server_socket_nss.cc', 1104 'socket/ssl_server_socket_nss.cc',
1098 'socket/ssl_server_socket_nss.h', 1105 'socket/ssl_server_socket_nss.h',
1106 'quic/crypto/aes_128_gcm_decrypter_nss.cc',
1107 'quic/crypto/aes_128_gcm_encrypter_nss.cc',
1099 'quic/crypto/p256_key_exchange_nss.cc', 1108 'quic/crypto/p256_key_exchange_nss.cc',
1100 'third_party/mozilla_security_manager/nsKeygenHandler.cpp', 1109 'third_party/mozilla_security_manager/nsKeygenHandler.cpp',
1101 'third_party/mozilla_security_manager/nsKeygenHandler.h', 1110 'third_party/mozilla_security_manager/nsKeygenHandler.h',
1102 'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp', 1111 'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp',
1103 'third_party/mozilla_security_manager/nsNSSCertificateDB.h', 1112 'third_party/mozilla_security_manager/nsNSSCertificateDB.h',
1104 'third_party/mozilla_security_manager/nsPKCS12Blob.cpp', 1113 'third_party/mozilla_security_manager/nsPKCS12Blob.cpp',
1105 'third_party/mozilla_security_manager/nsPKCS12Blob.h', 1114 'third_party/mozilla_security_manager/nsPKCS12Blob.h',
1106 ], 1115 ],
1107 }, 1116 },
1108 { # else !use_openssl: remove the unneeded files 1117 { # else !use_openssl: remove the unneeded files
1109 'sources!': [ 1118 'sources!': [
1110 'base/cert_database_openssl.cc', 1119 'base/cert_database_openssl.cc',
1111 'base/cert_verify_proc_openssl.cc', 1120 'base/cert_verify_proc_openssl.cc',
1112 'base/cert_verify_proc_openssl.h', 1121 'base/cert_verify_proc_openssl.h',
1113 'base/crypto_module_openssl.cc', 1122 'base/crypto_module_openssl.cc',
1114 'base/keygen_handler_openssl.cc', 1123 'base/keygen_handler_openssl.cc',
1115 'base/openssl_client_key_store.cc', 1124 'base/openssl_client_key_store.cc',
1116 'base/openssl_client_key_store.h', 1125 'base/openssl_client_key_store.h',
1117 'base/openssl_private_key_store.h', 1126 'base/openssl_private_key_store.h',
1118 'base/openssl_private_key_store_android.cc', 1127 'base/openssl_private_key_store_android.cc',
1119 'base/openssl_private_key_store_memory.cc', 1128 'base/openssl_private_key_store_memory.cc',
1120 'base/test_root_certs_openssl.cc', 1129 'base/test_root_certs_openssl.cc',
1121 'base/x509_certificate_openssl.cc', 1130 'base/x509_certificate_openssl.cc',
1122 'base/x509_util_openssl.cc', 1131 'base/x509_util_openssl.cc',
1123 'base/x509_util_openssl.h', 1132 'base/x509_util_openssl.h',
1133 'quic/crypto/aes_128_gcm_decrypter_openssl.cc',
1134 'quic/crypto/aes_128_gcm_encrypter_openssl.cc',
1124 'quic/crypto/p256_key_exchange_openssl.cc', 1135 'quic/crypto/p256_key_exchange_openssl.cc',
1136 'quic/crypto/scoped_evp_cipher_ctx.h',
1125 'socket/ssl_client_socket_openssl.cc', 1137 'socket/ssl_client_socket_openssl.cc',
1126 'socket/ssl_client_socket_openssl.h', 1138 'socket/ssl_client_socket_openssl.h',
1127 'socket/ssl_server_socket_openssl.cc', 1139 'socket/ssl_server_socket_openssl.cc',
1128 ], 1140 ],
1129 }, 1141 },
1130 ], 1142 ],
1131 [ 'use_glib == 1', { 1143 [ 'use_glib == 1', {
1132 'dependencies': [ 1144 'dependencies': [
1133 '../build/linux/system.gyp:gconf', 1145 '../build/linux/system.gyp:gconf',
1134 '../build/linux/system.gyp:gio', 1146 '../build/linux/system.gyp:gio',
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
1528 'proxy/proxy_server_unittest.cc', 1540 'proxy/proxy_server_unittest.cc',
1529 'proxy/proxy_service_unittest.cc', 1541 'proxy/proxy_service_unittest.cc',
1530 'quic/blocked_list_test.cc', 1542 'quic/blocked_list_test.cc',
1531 'quic/congestion_control/cubic_test.cc', 1543 'quic/congestion_control/cubic_test.cc',
1532 'quic/congestion_control/fix_rate_test.cc', 1544 'quic/congestion_control/fix_rate_test.cc',
1533 'quic/congestion_control/hybrid_slow_start_test.cc', 1545 'quic/congestion_control/hybrid_slow_start_test.cc',
1534 'quic/congestion_control/leaky_bucket_test.cc', 1546 'quic/congestion_control/leaky_bucket_test.cc',
1535 'quic/congestion_control/paced_sender_test.cc', 1547 'quic/congestion_control/paced_sender_test.cc',
1536 'quic/congestion_control/tcp_cubic_sender_test.cc', 1548 'quic/congestion_control/tcp_cubic_sender_test.cc',
1537 'quic/congestion_control/tcp_receiver_test.cc', 1549 'quic/congestion_control/tcp_receiver_test.cc',
1550 'quic/crypto/aes_128_gcm_decrypter_test.cc',
1551 'quic/crypto/aes_128_gcm_encrypter_test.cc',
1538 'quic/crypto/crypto_framer_test.cc', 1552 'quic/crypto/crypto_framer_test.cc',
1539 'quic/crypto/crypto_handshake_test.cc', 1553 'quic/crypto/crypto_handshake_test.cc',
1540 'quic/crypto/curve25519_key_exchange_test.cc', 1554 'quic/crypto/curve25519_key_exchange_test.cc',
1541 'quic/crypto/null_decrypter_test.cc', 1555 'quic/crypto/null_decrypter_test.cc',
1542 'quic/crypto/null_encrypter_test.cc', 1556 'quic/crypto/null_encrypter_test.cc',
1543 'quic/crypto/p256_key_exchange_test.cc', 1557 'quic/crypto/p256_key_exchange_test.cc',
1544 'quic/crypto/quic_random_test.cc', 1558 'quic/crypto/quic_random_test.cc',
1545 'quic/test_tools/crypto_test_utils.cc', 1559 'quic/test_tools/crypto_test_utils.cc',
1546 'quic/test_tools/crypto_test_utils.h', 1560 'quic/test_tools/crypto_test_utils.h',
1547 'quic/test_tools/mock_clock.cc', 1561 'quic/test_tools/mock_clock.cc',
(...skipping 1030 matching lines...) Expand 10 before | Expand all | Expand 10 after
2578 '--result', '<@(_outputs)', 2592 '--result', '<@(_outputs)',
2579 '--isolate', 'net_unittests.isolate', 2593 '--isolate', 'net_unittests.isolate',
2580 ], 2594 ],
2581 }, 2595 },
2582 ], 2596 ],
2583 }, 2597 },
2584 ], 2598 ],
2585 }], 2599 }],
2586 ], 2600 ],
2587 } 2601 }
OLDNEW
« no previous file with comments | « no previous file | net/quic/crypto/aes_128_gcm_decrypter.h » ('j') | net/quic/crypto/aes_128_gcm_decrypter_nss.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698