1add_subdirectory(aead) 2add_subdirectory(config) 3add_subdirectory(daead) 4add_subdirectory(hybrid) 5add_subdirectory(internal) 6add_subdirectory(mac) 7add_subdirectory(monitoring) 8add_subdirectory(jwt) 9add_subdirectory(keyderivation) 10add_subdirectory(prf) 11add_subdirectory(signature) 12add_subdirectory(streamingaead) 13add_subdirectory(subtle) 14add_subdirectory(util) 15 16tink_module(core) 17 18# Configuration settings for the build. 19 20if(USE_ONLY_FIPS) 21 target_compile_definitions(tink_internal_fips_utils PUBLIC TINK_USE_ONLY_FIPS) 22endif() 23 24# Public libraries. 25 26set(TINK_VERSION_H "${TINK_GENFILE_DIR}/tink/version.h") 27 28tink_cc_library( 29 NAME cc 30 SRCS 31 aead.h 32 aead_config.h 33 aead_factory.h 34 aead_key_templates.h 35 binary_keyset_reader.h 36 binary_keyset_writer.h 37 cleartext_keyset_handle.h 38 deterministic_aead.h 39 deterministic_aead_config.h 40 deterministic_aead_factory.h 41 deterministic_aead_key_templates.h 42 hybrid_config.h 43 hybrid_decrypt.h 44 hybrid_decrypt_factory.h 45 hybrid_encrypt.h 46 hybrid_encrypt_factory.h 47 hybrid_key_templates.h 48 input_stream.h 49 json_keyset_reader.h 50 json_keyset_writer.h 51 key_manager.h 52 keyset_handle.h 53 keyset_manager.h 54 keyset_reader.h 55 keyset_writer.h 56 kms_client.h 57 mac.h 58 mac_config.h 59 mac_factory.h 60 mac_key_templates.h 61 output_stream.h 62 output_stream_with_result.h 63 public_key_sign.h 64 public_key_sign_factory.h 65 public_key_verify.h 66 public_key_verify_factory.h 67 random_access_stream.h 68 registry.h 69 signature_config.h 70 signature_key_templates.h 71 streaming_aead.h 72 streaming_aead_config.h 73 streaming_aead_key_templates.h 74 streaming_mac.h 75 tink_config.h 76 "${TINK_VERSION_H}" 77 DEPS 78 tink::core::aead 79 tink::core::binary_keyset_reader 80 tink::core::binary_keyset_writer 81 tink::core::cleartext_keyset_handle 82 tink::core::deterministic_aead 83 tink::core::hybrid_decrypt 84 tink::core::hybrid_encrypt 85 tink::core::input_stream 86 tink::core::json_keyset_reader 87 tink::core::json_keyset_writer 88 tink::core::key 89 tink::core::key_manager 90 tink::core::keyset_handle 91 tink::core::keyset_manager 92 tink::core::keyset_reader 93 tink::core::keyset_writer 94 tink::core::kms_client 95 tink::core::mac 96 tink::core::output_stream 97 tink::core::output_stream_with_result 98 tink::core::primitive_set 99 tink::core::public_key_sign 100 tink::core::public_key_verify 101 tink::core::random_access_stream 102 tink::core::registry 103 tink::core::streaming_aead 104 tink::core::streaming_mac 105 tink::core::version 106 absl::core_headers 107 absl::flat_hash_map 108 absl::memory 109 absl::status 110 absl::strings 111 absl::synchronization 112 tink::aead::aead_config 113 tink::aead::aead_factory 114 tink::aead::aead_key_templates 115 tink::config::tink_config 116 tink::daead::deterministic_aead_config 117 tink::daead::deterministic_aead_factory 118 tink::daead::deterministic_aead_key_templates 119 tink::hybrid::hybrid_config 120 tink::hybrid::hybrid_decrypt_factory 121 tink::hybrid::hybrid_encrypt_factory 122 tink::hybrid::hybrid_key_templates 123 tink::internal::key_info 124 tink::internal::registry_impl 125 tink::mac::mac_config 126 tink::mac::mac_factory 127 tink::mac::mac_key_templates 128 tink::signature::public_key_sign_factory 129 tink::signature::public_key_verify_factory 130 tink::signature::signature_config 131 tink::signature::signature_key_templates 132 tink::streamingaead::streaming_aead_config 133 tink::streamingaead::streaming_aead_key_templates 134 tink::util::buffer 135 tink::util::errors 136 tink::util::protobuf_helper 137 tink::util::status 138 tink::util::statusor 139 tink::util::validation 140 tink::proto::config_cc_proto 141 tink::proto::tink_cc_proto 142 PUBLIC 143) 144 145add_library(tink::static ALIAS tink_core_cc) 146 147tink_cc_library( 148 NAME input_stream 149 SRCS 150 input_stream.h 151 DEPS 152 tink::util::status 153 tink::util::statusor 154) 155 156tink_cc_library( 157 NAME output_stream 158 SRCS 159 output_stream.h 160 DEPS 161 tink::util::status 162 tink::util::statusor 163) 164 165tink_cc_library( 166 NAME random_access_stream 167 SRCS 168 random_access_stream.h 169 DEPS 170 tink::util::buffer 171 tink::util::status 172 tink::util::statusor 173) 174 175tink_cc_library( 176 NAME output_stream_with_result 177 SRCS 178 output_stream_with_result.h 179 DEPS 180 tink::core::output_stream 181 tink::util::status 182 tink::util::statusor 183) 184 185tink_cc_library( 186 NAME aead 187 SRCS 188 aead.h 189 DEPS 190 absl::strings 191 tink::util::statusor 192) 193 194tink_cc_library( 195 NAME deterministic_aead 196 SRCS 197 deterministic_aead.h 198 DEPS 199 absl::strings 200 tink::util::statusor 201) 202 203tink_cc_library( 204 NAME streaming_aead 205 SRCS 206 streaming_aead.h 207 DEPS 208 tink::core::input_stream 209 tink::core::output_stream 210 tink::core::random_access_stream 211 absl::strings 212 tink::util::statusor 213) 214 215tink_cc_library( 216 NAME streaming_mac 217 SRCS 218 streaming_mac.h 219 DEPS 220 tink::core::output_stream_with_result 221 absl::strings 222 tink::util::status 223 tink::util::statusor 224) 225 226tink_cc_library( 227 NAME chunked_mac 228 SRCS 229 chunked_mac.h 230 DEPS 231 absl::strings 232 tink::util::status 233 tink::util::statusor 234) 235 236tink_cc_library( 237 NAME hybrid_decrypt 238 SRCS 239 hybrid_decrypt.h 240 DEPS 241 absl::strings 242 tink::util::statusor 243) 244 245tink_cc_library( 246 NAME hybrid_encrypt 247 SRCS 248 hybrid_encrypt.h 249 DEPS 250 absl::strings 251 tink::util::statusor 252) 253 254tink_cc_library( 255 NAME mac 256 SRCS 257 mac.h 258 DEPS 259 absl::strings 260 tink::util::status 261 tink::util::statusor 262) 263 264tink_cc_library( 265 NAME public_key_sign 266 SRCS 267 public_key_sign.h 268 DEPS 269 absl::strings 270 tink::util::statusor 271) 272 273tink_cc_library( 274 NAME public_key_verify 275 SRCS 276 public_key_verify.h 277 DEPS 278 absl::strings 279 tink::util::status 280) 281 282tink_cc_library( 283 NAME keyset_reader 284 SRCS 285 keyset_reader.h 286 DEPS 287 tink::util::statusor 288 tink::proto::tink_cc_proto 289) 290 291tink_cc_library( 292 NAME keyset_writer 293 SRCS 294 keyset_writer.h 295 DEPS 296 tink::util::status 297 tink::proto::tink_cc_proto 298) 299 300tink_cc_library( 301 NAME binary_keyset_reader 302 SRCS 303 core/binary_keyset_reader.cc 304 binary_keyset_reader.h 305 DEPS 306 tink::core::keyset_reader 307 absl::memory 308 absl::status 309 absl::strings 310 tink::util::errors 311 tink::util::status 312 tink::util::statusor 313 tink::proto::tink_cc_proto 314) 315 316tink_cc_library( 317 NAME binary_keyset_writer 318 SRCS 319 core/binary_keyset_writer.cc 320 binary_keyset_writer.h 321 DEPS 322 tink::core::keyset_writer 323 absl::status 324 absl::strings 325 tink::util::errors 326 tink::util::protobuf_helper 327 tink::util::status 328 tink::util::statusor 329 tink::proto::tink_cc_proto 330) 331 332tink_cc_library( 333 NAME json_keyset_reader 334 SRCS 335 core/json_keyset_reader.cc 336 json_keyset_reader.h 337 DEPS 338 tink::core::keyset_reader 339 absl::memory 340 absl::status 341 absl::strings 342 rapidjson 343 tink::util::enums 344 tink::util::errors 345 tink::util::protobuf_helper 346 tink::util::status 347 tink::util::statusor 348 tink::proto::tink_cc_proto 349) 350 351tink_cc_library( 352 NAME json_keyset_writer 353 SRCS 354 core/json_keyset_writer.cc 355 json_keyset_writer.h 356 DEPS 357 tink::core::keyset_writer 358 absl::status 359 absl::strings 360 rapidjson 361 tink::util::enums 362 tink::util::errors 363 tink::util::protobuf_helper 364 tink::util::status 365 tink::util::statusor 366 tink::proto::tink_cc_proto 367) 368 369tink_cc_library( 370 NAME crypto_format 371 SRCS 372 core/crypto_format.cc 373 crypto_format.h 374 DEPS 375 absl::status 376 tink::util::errors 377 tink::util::statusor 378 tink::proto::tink_cc_proto 379) 380 381tink_cc_library( 382 NAME primitive_set 383 SRCS 384 primitive_set.h 385 primitive_set.h 386 DEPS 387 tink::core::crypto_format 388 absl::core_headers 389 absl::flat_hash_map 390 absl::memory 391 absl::status 392 absl::synchronization 393 tink::util::errors 394 tink::util::statusor 395 tink::proto::tink_cc_proto 396) 397 398tink_cc_library( 399 NAME primitive_wrapper 400 SRCS 401 primitive_wrapper.h 402 DEPS 403 tink::core::primitive_set 404 tink::util::statusor 405) 406 407tink_cc_library( 408 NAME registry 409 SRCS 410 registry.h 411 DEPS 412 absl::strings 413 tink::internal::registry_impl 414 tink::util::status 415 tink::util::statusor 416) 417 418# Generate TINK_VERSION_H from version.h.templ. TINK_VERSION_LABEL is 419# substituted in version.h.templ with the value of PROJECT_VERSION. 420set(TINK_VERSION_LABEL "${PROJECT_VERSION}") 421configure_file(version.h.templ "${TINK_VERSION_H}") 422 423tink_cc_library( 424 NAME version 425 SRCS 426 core/version.cc 427 "${TINK_VERSION_H}" 428) 429 430tink_cc_library( 431 NAME keyset_handle 432 SRCS 433 core/keyset_handle.cc 434 keyset_handle.h 435 DEPS 436 tink::core::aead 437 tink::core::configuration 438 tink::core::insecure_secret_key_access 439 tink::core::key 440 tink::core::key_gen_configuration 441 tink::core::key_manager 442 tink::core::key_status 443 tink::core::keyset_reader 444 tink::core::keyset_writer 445 tink::core::primitive_set 446 tink::core::registry 447 absl::core_headers 448 absl::flat_hash_map 449 absl::check 450 absl::memory 451 absl::status 452 absl::strings 453 absl::optional 454 tink::config::global_registry 455 tink::internal::configuration_impl 456 tink::internal::key_gen_configuration_impl 457 tink::internal::key_info 458 tink::internal::key_status_util 459 tink::internal::key_type_info_store 460 tink::internal::mutable_serialization_registry 461 tink::internal::proto_key_serialization 462 tink::internal::util 463 tink::util::errors 464 tink::util::keyset_util 465 tink::util::status 466 tink::util::statusor 467 tink::proto::tink_cc_proto 468) 469 470tink_cc_library( 471 NAME keyset_handle_builder 472 SRCS 473 core/keyset_handle_builder.cc 474 keyset_handle_builder.h 475 DEPS 476 tink::core::key 477 tink::core::key_status 478 tink::core::keyset_handle 479 tink::core::parameters 480 absl::check 481 absl::status 482 absl::strings 483 absl::optional 484 tink::internal::keyset_handle_builder_entry 485 tink::subtle::random 486 tink::proto::tink_cc_proto 487) 488 489tink_cc_library( 490 NAME cleartext_keyset_handle 491 SRCS 492 core/cleartext_keyset_handle.cc 493 cleartext_keyset_handle.h 494 DEPS 495 tink::core::keyset_handle 496 tink::core::keyset_reader 497 absl::flat_hash_map 498 absl::status 499 tink::util::errors 500 tink::util::status 501 tink::util::statusor 502 tink::proto::tink_cc_proto 503) 504 505tink_cc_library( 506 NAME key_manager 507 SRCS 508 core/key_manager.cc 509 key_manager.h 510 DEPS 511 absl::memory 512 absl::strings 513 tink::util::errors 514 tink::util::protobuf_helper 515 tink::util::status 516 tink::util::statusor 517 tink::proto::tink_cc_proto 518) 519 520tink_cc_library( 521 NAME keyset_manager 522 SRCS 523 core/keyset_manager.cc 524 keyset_manager.h 525 DEPS 526 tink::core::key_gen_configuration 527 tink::core::keyset_handle 528 absl::core_headers 529 absl::memory 530 absl::status 531 absl::synchronization 532 tink::internal::key_gen_configuration_impl 533 tink::util::enums 534 tink::util::errors 535 tink::util::status 536 tink::util::statusor 537 tink::proto::tink_cc_proto 538 PUBLIC 539) 540 541tink_cc_library( 542 NAME kms_client 543 SRCS 544 kms_client.h 545 DEPS 546 tink::core::aead 547 absl::strings 548 tink::util::statusor 549) 550 551tink_cc_library( 552 NAME kms_clients 553 SRCS 554 core/kms_clients.cc 555 kms_clients.h 556 DEPS 557 tink::core::kms_client 558 absl::core_headers 559 absl::status 560 absl::strings 561 absl::synchronization 562 tink::util::errors 563 tink::util::status 564 tink::util::statusor 565) 566 567tink_cc_library( 568 NAME template_util 569 SRCS 570 core/template_util.h 571 DEPS 572 absl::type_traits 573) 574 575tink_cc_library( 576 NAME key_type_manager 577 SRCS 578 core/key_type_manager.h 579 DEPS 580 tink::core::template_util 581 tink::core::input_stream 582 absl::status 583 absl::strings 584 tink::internal::fips_utils 585 tink::util::status 586 tink::util::statusor 587 tink::proto::tink_cc_proto 588) 589 590tink_cc_library( 591 NAME key_manager_impl 592 SRCS 593 core/key_manager_impl.h 594 DEPS 595 tink::core::key_type_manager 596 tink::core::key_manager 597 absl::base 598 absl::memory 599 absl::status 600 absl::strings 601 tink::util::constants 602 tink::util::status 603 tink::proto::tink_cc_proto 604) 605 606tink_cc_library( 607 NAME private_key_type_manager 608 SRCS 609 core/private_key_type_manager.h 610 DEPS 611 tink::core::key_type_manager 612 tink::util::statusor 613) 614 615tink_cc_library( 616 NAME private_key_manager_impl 617 SRCS 618 core/private_key_manager_impl.h 619 DEPS 620 tink::core::key_manager_impl 621 tink::core::private_key_type_manager 622 tink::core::key_manager 623 absl::status 624 tink::util::validation 625) 626 627tink_cc_library( 628 NAME key_access 629 SRCS 630 key_access.h 631) 632 633tink_cc_library( 634 NAME secret_key_access 635 SRCS 636 secret_key_access.h 637 DEPS 638 tink::core::key_access 639) 640 641add_library(tink::core::secret_key_access_testonly ALIAS tink_internal_core_secret_key_access) 642 643tink_cc_library( 644 NAME parameters 645 SRCS 646 parameters.h 647) 648 649tink_cc_library( 650 NAME key 651 SRCS 652 key.h 653 DEPS 654 tink::core::parameters 655 absl::optional 656) 657 658tink_cc_library( 659 NAME private_key 660 SRCS 661 private_key.h 662 DEPS 663 tink::core::key 664) 665 666tink_cc_library( 667 NAME partial_key_access_token 668 SRCS 669 partial_key_access_token.h 670) 671 672tink_cc_library( 673 NAME partial_key_access 674 SRCS 675 partial_key_access.h 676 DEPS 677 tink::core::partial_key_access_token 678) 679 680tink_cc_library( 681 NAME secret_key_access_token 682 SRCS 683 secret_key_access_token.h 684) 685 686tink_cc_library( 687 NAME insecure_secret_key_access 688 SRCS 689 insecure_secret_key_access.h 690 DEPS 691 tink::core::secret_key_access_token 692) 693 694tink_cc_library( 695 NAME restricted_data 696 SRCS 697 core/restricted_data.cc 698 restricted_data.h 699 DEPS 700 tink::core::secret_key_access_token 701 absl::check 702 crypto 703 tink::subtle::random 704 tink::util::secret_data 705) 706 707tink_cc_library( 708 NAME key_status 709 SRCS 710 key_status.h 711) 712 713tink_cc_library( 714 NAME configuration 715 SRCS 716 configuration.h 717 DEPS 718 tink::internal::key_type_info_store 719 tink::internal::keyset_wrapper_store 720) 721 722tink_cc_library( 723 NAME key_gen_configuration 724 SRCS 725 key_gen_configuration.h 726 DEPS 727 tink::internal::key_type_info_store 728) 729 730# tests 731 732tink_cc_test( 733 NAME version_test 734 SRCS 735 core/version_test.cc 736 DEPS 737 tink::core::version 738 gmock 739 tink::internal::util 740) 741 742tink_cc_test( 743 NAME binary_keyset_reader_test 744 SRCS 745 core/binary_keyset_reader_test.cc 746 DEPS 747 tink::core::binary_keyset_reader 748 gmock 749 tink::util::test_util 750 tink::proto::tink_cc_proto 751) 752 753tink_cc_test( 754 NAME binary_keyset_writer_test 755 SRCS 756 core/binary_keyset_writer_test.cc 757 DEPS 758 tink::core::binary_keyset_writer 759 gmock 760 tink::util::test_util 761 tink::proto::tink_cc_proto 762) 763 764tink_cc_test( 765 NAME json_keyset_reader_test 766 SRCS 767 core/json_keyset_reader_test.cc 768 DEPS 769 tink::core::json_keyset_reader 770 gmock 771 absl::strings 772 tink::util::protobuf_helper 773 tink::util::test_matchers 774 tink::util::test_util 775 tink::proto::aes_eax_cc_proto 776 tink::proto::aes_gcm_cc_proto 777 tink::proto::tink_cc_proto 778) 779 780tink_cc_test( 781 NAME json_keyset_writer_test 782 SRCS 783 core/json_keyset_writer_test.cc 784 DEPS 785 tink::core::json_keyset_reader 786 tink::core::json_keyset_writer 787 gmock 788 absl::strings 789 rapidjson 790 tink::util::protobuf_helper 791 tink::util::test_matchers 792 tink::util::test_util 793 tink::proto::aes_eax_cc_proto 794 tink::proto::aes_gcm_cc_proto 795 tink::proto::tink_cc_proto 796) 797 798tink_cc_test( 799 NAME crypto_format_test 800 SRCS 801 core/crypto_format_test.cc 802 DEPS 803 tink::core::crypto_format 804 gmock 805 tink::proto::tink_cc_proto 806) 807 808tink_cc_test( 809 NAME keyset_handle_test 810 SRCS 811 core/keyset_handle_test.cc 812 DEPS 813 tink::core::binary_keyset_reader 814 tink::core::cc 815 tink::core::cleartext_keyset_handle 816 tink::core::key_manager_impl 817 tink::core::json_keyset_reader 818 tink::core::json_keyset_writer 819 tink::core::key_gen_configuration 820 tink::core::key_status 821 tink::core::keyset_handle 822 tink::core::primitive_set 823 tink::core::primitive_wrapper 824 gmock 825 absl::memory 826 absl::status 827 absl::strings 828 tink::aead::aead_key_templates 829 tink::aead::aead_wrapper 830 tink::aead::aes_gcm_key_manager 831 tink::config::fips_140_2 832 tink::config::global_registry 833 tink::config::key_gen_fips_140_2 834 tink::config::tink_config 835 tink::internal::fips_utils 836 tink::internal::key_gen_configuration_impl 837 tink::signature::ecdsa_sign_key_manager 838 tink::signature::ecdsa_verify_key_manager 839 tink::signature::signature_key_templates 840 tink::util::status 841 tink::util::statusor 842 tink::util::test_keyset_handle 843 tink::util::test_matchers 844 tink::util::test_util 845 tink::proto::aes_gcm_siv_cc_proto 846 tink::proto::tink_cc_proto 847) 848 849tink_cc_test( 850 NAME keyset_handle_builder_test 851 SRCS 852 core/keyset_handle_builder_test.cc 853 DEPS 854 tink::core::insecure_secret_key_access 855 tink::core::key_status 856 tink::core::keyset_handle_builder 857 tink::core::partial_key_access 858 gmock 859 absl::status 860 absl::strings 861 tink::config::tink_config 862 tink::internal::legacy_proto_key 863 tink::internal::legacy_proto_parameters 864 tink::internal::proto_key_serialization 865 tink::internal::proto_parameters_serialization 866 tink::mac::aes_cmac_key 867 tink::mac::aes_cmac_parameters 868 tink::mac::mac_key_templates 869 tink::subtle::random 870 tink::util::status 871 tink::util::test_matchers 872 tink::util::test_util 873 tink::proto::aes_cmac_cc_proto 874 tink::proto::tink_cc_proto 875) 876 877tink_cc_test( 878 NAME key_manager_test 879 SRCS 880 core/key_manager_test.cc 881 DEPS 882 tink::core::key_manager 883 gmock 884 absl::status 885 tink::util::status 886 tink::util::test_matchers 887 tink::proto::empty_cc_proto 888) 889 890tink_cc_test( 891 NAME keyset_manager_test 892 SRCS 893 core/keyset_manager_test.cc 894 DEPS 895 tink::core::keyset_handle 896 tink::core::keyset_manager 897 gmock 898 tink::aead::aead_config 899 tink::aead::aes_gcm_key_manager 900 tink::util::test_keyset_handle 901 tink::proto::aes_gcm_cc_proto 902 tink::proto::tink_cc_proto 903) 904 905tink_cc_test( 906 NAME cleartext_keyset_handle_test 907 SRCS 908 core/cleartext_keyset_handle_test.cc 909 DEPS 910 tink::core::binary_keyset_reader 911 tink::core::cleartext_keyset_handle 912 tink::core::keyset_handle 913 gmock 914 tink::util::test_keyset_handle 915 tink::util::test_util 916 tink::proto::tink_cc_proto 917) 918 919tink_cc_test( 920 NAME primitive_set_test 921 SRCS 922 core/primitive_set_test.cc 923 DEPS 924 tink::core::cleartext_keyset_handle 925 tink::core::crypto_format 926 tink::core::mac 927 tink::core::primitive_set 928 gmock 929 tink::keyderivation::keyset_deriver 930 tink::util::test_matchers 931 tink::util::test_util 932 tink::proto::tink_cc_proto 933) 934 935tink_cc_test( 936 NAME kms_clients_test 937 SRCS 938 core/kms_clients_test.cc 939 DEPS 940 tink::core::aead 941 tink::core::kms_client 942 tink::core::kms_clients 943 gmock 944 absl::status 945 absl::strings 946 tink::util::status 947 tink::util::statusor 948 tink::util::test_matchers 949 tink::util::test_util 950) 951 952tink_cc_test( 953 NAME template_util_test 954 SRCS 955 core/template_util_test.cc 956 DEPS 957 tink::core::template_util 958 gmock 959) 960 961tink_cc_test( 962 NAME key_type_manager_test 963 SRCS 964 core/key_type_manager_test.cc 965 DEPS 966 tink::core::aead 967 tink::core::key_type_manager 968 gmock 969 absl::memory 970 absl::status 971 tink::subtle::subtle 972 tink::util::secret_data 973 tink::util::status 974 tink::util::statusor 975 tink::util::test_matchers 976 tink::util::validation 977 tink::proto::aes_gcm_cc_proto 978) 979 980tink_cc_test( 981 NAME key_manager_impl_test 982 SRCS 983 core/key_manager_impl_test.cc 984 DEPS 985 tink::core::aead 986 tink::core::key_manager_impl 987 gmock 988 absl::status 989 tink::subtle::subtle 990 tink::util::input_stream_util 991 tink::util::istream_input_stream 992 tink::util::secret_data 993 tink::util::status 994 tink::util::statusor 995 tink::util::test_matchers 996 tink::util::test_util 997 tink::util::validation 998 tink::proto::aes_gcm_cc_proto 999) 1000 1001tink_cc_test( 1002 NAME private_key_manager_impl_test 1003 SRCS 1004 core/private_key_manager_impl_test.cc 1005 DEPS 1006 tink::core::key_manager_impl 1007 tink::core::private_key_manager_impl 1008 tink::core::private_key_type_manager 1009 tink::core::registry 1010 gmock 1011 absl::status 1012 tink::subtle::subtle 1013 tink::util::status 1014 tink::util::statusor 1015 tink::util::test_matchers 1016 tink::util::test_util 1017 tink::util::validation 1018 tink::proto::ecdsa_cc_proto 1019) 1020 1021tink_cc_test( 1022 NAME key_access_test 1023 SRCS 1024 core/key_access_test.cc 1025 DEPS 1026 tink::core::key_access 1027 tink::core::secret_key_access_testonly 1028 gmock 1029) 1030 1031tink_cc_test( 1032 NAME partial_key_access_token_test 1033 SRCS 1034 core/partial_key_access_token_test.cc 1035 DEPS 1036 tink::core::partial_key_access 1037 tink::core::partial_key_access_token 1038 gmock 1039 absl::core_headers 1040) 1041 1042tink_cc_test( 1043 NAME restricted_data_test 1044 SRCS 1045 core/restricted_data_test.cc 1046 DEPS 1047 tink::core::insecure_secret_key_access 1048 tink::core::restricted_data 1049 gmock 1050 tink::subtle::random 1051 tink::util::secret_data 1052) 1053 1054tink_cc_library( 1055 NAME proto_keyset_format 1056 SRCS 1057 proto_keyset_format.cc 1058 proto_keyset_format.h 1059 DEPS 1060 tink::core::binary_keyset_reader 1061 tink::core::binary_keyset_writer 1062 tink::core::cleartext_keyset_handle 1063 tink::core::keyset_handle 1064 tink::core::secret_key_access_token 1065 absl::strings 1066 tink::util::secret_data 1067) 1068 1069tink_cc_test( 1070 NAME proto_keyset_format_test 1071 SRCS 1072 proto_keyset_format_test.cc 1073 DEPS 1074 tink::core::insecure_secret_key_access 1075 tink::core::keyset_handle_builder 1076 tink::core::mac 1077 tink::core::proto_keyset_format 1078 gmock 1079 absl::strings 1080 tink::config::tink_config 1081 tink::internal::legacy_proto_parameters 1082 tink::internal::proto_parameters_serialization 1083 tink::mac::mac_key_templates 1084 tink::signature::signature_key_templates 1085 tink::util::secret_data 1086 tink::util::test_matchers 1087) 1088