Skip to content

Commit

Permalink
Cryptflow2 (#64)
Browse files Browse the repository at this point in the history
* CrypTFlow2 code

* Some small corrections.

* Updated License to 2020

* Updated repo README to include SCI (CrypTFlow2) and moved CrypTFlow2/ to SCI/

Co-authored-by: Nishant Kumar <[email protected]>
  • Loading branch information
deevashwer and nishkum authored Aug 16, 2020
1 parent 0698dba commit 7c325fc
Show file tree
Hide file tree
Showing 421 changed files with 70,175 additions and 421 deletions.
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[submodule "CrypTFlow2/extern/SEAL"]
path = SCI/extern/SEAL
url = https://github.com/Microsoft/SEAL
[submodule "CrypTFlow2/extern/eigen"]
path = SCI/extern/eigen
url = https://gitlab.com/libeigen/eigen
2 changes: 1 addition & 1 deletion Aramis/3party-aramis/party0/App/app_sgx_instream.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Authors: Mayank Rathee.
Copyright:
Copyright (c) 2018 Microsoft Research
Copyright (c) 2020 Microsoft Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
2 changes: 1 addition & 1 deletion Aramis/3party-aramis/party0/App/app_sgx_instream.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Authors: Mayank Rathee.
Copyright:
Copyright (c) 2018 Microsoft Research
Copyright (c) 2020 Microsoft Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
2 changes: 1 addition & 1 deletion Aramis/3party-aramis/party0/App/app_sleep_utils.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Authors: Mayank Rathee.
Copyright:
Copyright (c) 2018 Microsoft Research
Copyright (c) 2020 Microsoft Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
2 changes: 1 addition & 1 deletion Aramis/3party-aramis/party0/App/app_sleep_utils.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Authors: Mayank Rathee.
Copyright:
Copyright (c) 2018 Microsoft Research
Copyright (c) 2020 Microsoft Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
2 changes: 1 addition & 1 deletion Aramis/3party-aramis/party0/App/attest_sequence.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Authors: Mayank Rathee.
Copyright:
Copyright (c) 2018 Microsoft Research
Copyright (c) 2020 Microsoft Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
2 changes: 1 addition & 1 deletion Aramis/3party-aramis/party0/App/attest_sequence.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Authors: Mayank Rathee.
Copyright:
Copyright (c) 2018 Microsoft Research
Copyright (c) 2020 Microsoft Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
2 changes: 1 addition & 1 deletion Aramis/3party-aramis/party0/App/benchmark_utils.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Authors: Mayank Rathee.
Copyright:
Copyright (c) 2018 Microsoft Research
Copyright (c) 2020 Microsoft Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
2 changes: 1 addition & 1 deletion Aramis/3party-aramis/party0/App/cross_call_counter.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Authors: Mayank Rathee.
Copyright:
Copyright (c) 2018 Microsoft Research
Copyright (c) 2020 Microsoft Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
2 changes: 1 addition & 1 deletion Aramis/3party-aramis/party0/App/cross_call_counter.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Authors: Mayank Rathee.
Copyright:
Copyright (c) 2018 Microsoft Research
Copyright (c) 2020 Microsoft Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
2 changes: 1 addition & 1 deletion Aramis/3party-aramis/party0/App/input_and_key_handler.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Authors: Mayank Rathee.
Copyright:
Copyright (c) 2018 Microsoft Research
Copyright (c) 2020 Microsoft Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
2 changes: 1 addition & 1 deletion Aramis/3party-aramis/party0/App/input_and_key_handler.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Authors: Mayank Rathee.
Copyright:
Copyright (c) 2018 Microsoft Research
Copyright (c) 2020 Microsoft Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
2 changes: 1 addition & 1 deletion Aramis/3party-aramis/party0/App/mac_key_utils_app.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Authors: Mayank Rathee.
Copyright:
Copyright (c) 2018 Microsoft Research
Copyright (c) 2020 Microsoft Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
2 changes: 1 addition & 1 deletion Aramis/3party-aramis/party0/App/mac_key_utils_app.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Authors: Mayank Rathee.
Copyright:
Copyright (c) 2018 Microsoft Research
Copyright (c) 2020 Microsoft Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
2 changes: 1 addition & 1 deletion Aramis/3party-aramis/party0/App/print_prepends.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Authors: Mayank Rathee.
Copyright:
Copyright (c) 2018 Microsoft Research
Copyright (c) 2020 Microsoft Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
2 changes: 1 addition & 1 deletion Aramis/3party-aramis/party0/App/print_prepends.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Authors: Mayank Rathee.
Copyright:
Copyright (c) 2018 Microsoft Research
Copyright (c) 2020 Microsoft Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
2 changes: 1 addition & 1 deletion Aramis/3party-aramis/party0/App/register_time.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Authors: Mayank Rathee.
Copyright:
Copyright (c) 2018 Microsoft Research
Copyright (c) 2020 Microsoft Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
2 changes: 1 addition & 1 deletion Aramis/3party-aramis/party0/App/register_time.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Authors: Mayank Rathee.
Copyright:
Copyright (c) 2018 Microsoft Research
Copyright (c) 2020 Microsoft Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
2 changes: 1 addition & 1 deletion Aramis/3party-aramis/party0/App/sgx_abort_handler.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Authors: Mayank Rathee.
Copyright:
Copyright (c) 2018 Microsoft Research
Copyright (c) 2020 Microsoft Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
2 changes: 1 addition & 1 deletion Aramis/3party-aramis/party0/App/sgx_abort_handler.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Authors: Mayank Rathee.
Copyright:
Copyright (c) 2018 Microsoft Research
Copyright (c) 2020 Microsoft Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Authors: Mayank Rathee.
Copyright:
Copyright (c) 2018 Microsoft Research
Copyright (c) 2020 Microsoft Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Authors: Mayank Rathee.
Copyright:
Copyright (c) 2018 Microsoft Research
Copyright (c) 2020 Microsoft Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
2 changes: 1 addition & 1 deletion Aramis/3party-aramis/party0/App/socket_interface.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Authors: Mayank Rathee.
Copyright:
Copyright (c) 2018 Microsoft Research
Copyright (c) 2020 Microsoft Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
2 changes: 1 addition & 1 deletion Aramis/3party-aramis/party0/App/socket_interface.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Authors: Mayank Rathee.
Copyright:
Copyright (c) 2018 Microsoft Research
Copyright (c) 2020 Microsoft Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
2 changes: 1 addition & 1 deletion Aramis/3party-aramis/party0/App/truce_addresses.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Authors: Mayank Rathee.
Copyright:
Copyright (c) 2018 Microsoft Research
Copyright (c) 2020 Microsoft Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
2 changes: 1 addition & 1 deletion Aramis/3party-aramis/party0/App/truce_addresses.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Authors: Mayank Rathee.
Copyright:
Copyright (c) 2018 Microsoft Research
Copyright (c) 2020 Microsoft Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
2 changes: 1 addition & 1 deletion Aramis/3party-aramis/party0/compile_porthos_to_aramis.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'''
Authors: Mayank Rathee.
Copyright:
Copyright (c) 2018 Microsoft Research
Copyright (c) 2020 Microsoft Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
2 changes: 1 addition & 1 deletion Aramis/3party-aramis/party0/compile_to_aramis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Authors: Mayank Rathee.

# Copyright:
# Copyright (c) 2018 Microsoft Research
# Copyright (c) 2020 Microsoft Research
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
Expand Down
2 changes: 1 addition & 1 deletion Aramis/3party-aramis/party0/src/AESObject.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Authors: Mayank Rathee, Sameer Wagh, Nishant Kumar.
Copyright:
Copyright (c) 2018 Microsoft Research
Copyright (c) 2020 Microsoft Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
2 changes: 1 addition & 1 deletion Aramis/3party-aramis/party0/src/AESObject.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Authors: Mayank Rathee, Sameer Wagh, Nishant Kumar.
Copyright:
Copyright (c) 2018 Microsoft Research
Copyright (c) 2020 Microsoft Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
2 changes: 1 addition & 1 deletion Aramis/3party-aramis/party0/src/EzPCFunctionalities.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Authors: Mayank Rathee, Nishant Kumar.
Copyright:
Copyright (c) 2018 Microsoft Research
Copyright (c) 2020 Microsoft Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
2 changes: 1 addition & 1 deletion Aramis/3party-aramis/party0/src/EzPCFunctionalities.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Authors: Mayank Rathee, Nishant Kumar.
Copyright:
Copyright (c) 2018 Microsoft Research
Copyright (c) 2020 Microsoft Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
2 changes: 1 addition & 1 deletion Aramis/3party-aramis/party0/src/Functionalities.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Authors: Mayank Rathee, Sameer Wagh, Nishant Kumar.
Copyright:
Copyright (c) 2018 Microsoft Research
Copyright (c) 2020 Microsoft Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
2 changes: 1 addition & 1 deletion Aramis/3party-aramis/party0/src/Functionalities.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Authors: Mayank Rathee, Sameer Wagh, Nishant Kumar.
Copyright:
Copyright (c) 2018 Microsoft Research
Copyright (c) 2020 Microsoft Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
2 changes: 1 addition & 1 deletion Aramis/3party-aramis/party0/src/ParallelAESObject.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Authors: Mayank Rathee, Sameer Wagh, Nishant Kumar.
Copyright:
Copyright (c) 2018 Microsoft Research
Copyright (c) 2020 Microsoft Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
2 changes: 1 addition & 1 deletion Aramis/3party-aramis/party0/src/ParallelAESObject.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Authors: Mayank Rathee, Sameer Wagh, Nishant Kumar.
Copyright:
Copyright (c) 2018 Microsoft Research
Copyright (c) 2020 Microsoft Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
2 changes: 1 addition & 1 deletion Aramis/3party-aramis/party0/src/ezpc.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Authors: Mayank Rathee, Nishant Kumar.
Copyright:
Copyright (c) 2018 Microsoft Research
Copyright (c) 2020 Microsoft Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
2 changes: 1 addition & 1 deletion Aramis/3party-aramis/party0/src/globals.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Authors: Mayank Rathee, Sameer Wagh, Nishant Kumar.
Copyright:
Copyright (c) 2018 Microsoft Research
Copyright (c) 2020 Microsoft Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
2 changes: 1 addition & 1 deletion Aramis/3party-aramis/party0/src/main.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Authors: Mayank Rathee, Nishant Kumar.
Copyright:
Copyright (c) 2018 Microsoft Research
Copyright (c) 2020 Microsoft Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
2 changes: 1 addition & 1 deletion Aramis/3party-aramis/party0/src/network_config.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Authors: Mayank Rathee.
Copyright:
Copyright (c) 2018 Microsoft Research
Copyright (c) 2020 Microsoft Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
2 changes: 1 addition & 1 deletion Aramis/3party-aramis/party0/src/optimizations_config.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Authors: Mayank Rathee.
Copyright:
Copyright (c) 2018 Microsoft Research
Copyright (c) 2020 Microsoft Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
2 changes: 1 addition & 1 deletion Aramis/3party-aramis/party0/src/secondary.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Authors: Mayank Rathee, Sameer Wagh, Nishant Kumar.
Copyright:
Copyright (c) 2018 Microsoft Research
Copyright (c) 2020 Microsoft Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
2 changes: 1 addition & 1 deletion Aramis/3party-aramis/party0/src/secondary.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Authors: Mayank Rathee, Sameer Wagh, Nishant Kumar.
Copyright:
Copyright (c) 2018 Microsoft Research
Copyright (c) 2020 Microsoft Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
2 changes: 1 addition & 1 deletion Aramis/3party-aramis/party0/src/selective_run_config.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Authors: Mayank Rathee.
Copyright:
Copyright (c) 2018 Microsoft Research
Copyright (c) 2020 Microsoft Research
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
Loading

0 comments on commit 7c325fc

Please sign in to comment.