Lines Matching refs:signature
75 BYTE *signature,
90 ret = RSA_sign( NID_sha1, message, current_len_message, signature, len_signature, rsa);
94 LogDebug("Sign rsa-> signature (length=%d)", *len_signature );
102 BYTE *signature;
132 signature = (BYTE *)malloc( RSA_size(rsa));
134 // signature algorithm from Issuer.java - "SHA1withRSA"
138 LogDebug("signature=%s\n", dump_byte_array(256, signature));
148 signature, &len_sign, issuer->key_chain[i-1]);
153 LogDebug("Sign rsa->n (length=%d) with signature (length=%d,\
163 LogDebug("signature=%s\n",dump_byte_array(256, signature));
164 issuer->pk_signatures[i-1] = signature;
183 BYTE *signature;
251 signature = (BYTE *)malloc( RSA_size(private_nn));
254 signature,
259 issuer->pk_signatures[ issuer->length_key_chain - 1] = signature;
260 LogDebug("Set last signature sign[%d] = %s",
263 signature));
270 signature = (BYTE *)malloc( EVP_MD_size( EVP_sha1()));
272 private_nn, signature, &len_signature) !=0) goto close;