Improved ID-based Proxy Signature Scheme with Message Recovery
Improved version provided by Caixue Zhou of the Singh and Verma’s proxy signature scheme with message recovery.
Loading...
Searching...
No Matches
imp-sv-scheme.h
Go to the documentation of this file.
1
7#ifndef IMP_SV_SCHEME_H
8#define IMP_SV_SCHEME_H
9
10#include <pbc/pbc.h>
11#include <nettle/sha1.h>
12#include "shared.h"
13
30void imp_p_sign(proxy_signature_t p_sig, element_t k_sign, delegation_t w, const uint8_t msg[], size_t msg_size, sv_public_params_t public_p);
31
40uint16_t imp_sign_verify(uint8_t msg[], proxy_signature_t p_sig, sv_public_params_t public_p);
41
42#endif // IMP_SV_SCHEME_H
uint16_t imp_sign_verify(uint8_t msg[], proxy_signature_t p_sig, sv_public_params_t public_p)
Checks if the proxy signature is valid. If so, the original message m is returned.
Definition: imp-sv-scheme.c:56
void imp_p_sign(proxy_signature_t p_sig, element_t k_sign, delegation_t w, const uint8_t msg[], size_t msg_size, sv_public_params_t public_p)
The proxy signer signs a message m. After choosing a random k in Zq*, the proxy signer computes the f...
Definition: imp-sv-scheme.c:3
Header file containing the functions used by both scheme's implementations.