Class with finite-field-cryptography operations (using the GMP library)
More...
#include "pk-crypto.h"
#include <gmp.h>
Go to the source code of this file.
|
#define | fe2mpz(fieldele) (((gmp_fe*) (fieldele))->get_val()) |
|
#define | num2mpz(number) (((gmp_num*) (number))->get_val()) |
|
|
void | mpz_export_padded (uint8_t *pBufIdx, uint32_t field_size, mpz_t to_export) |
|
Class with finite-field-cryptography operations (using the GMP library)
- Author
- micha.nosp@m.el.z.nosp@m.ohner.nosp@m.@ec-.nosp@m.sprid.nosp@m.e.de
- Copyright
- ABY - A Framework for Efficient Mixed-protocol Secure Two-party Computation Copyright (C) 2015 Engineering Cryptographic Protocols Group, TU Darmstadt This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.