Home | History | Annotate | Download | only in rsa

Lines Matching defs:tmpbuf

41   unsigned char *tmpbuf;
75 tmpbuf = XMALLOC(siglen);
76 if (tmpbuf == NULL) {
82 if ((err = ltc_mp.rsa_me(sig, siglen, tmpbuf, &x, PK_PUBLIC, key)) != CRYPT_OK) {
83 XFREE(tmpbuf);
89 XFREE(tmpbuf);
95 err = pkcs_1_pss_decode(hash, hashlen, tmpbuf, x, saltlen, hash_idx, modulus_bitlen, stat);
117 if ((err = pkcs_1_v1_5_decode(tmpbuf, x, LTC_PKCS_1_EMSA, modulus_bitlen, out, &outlen, &decoded)) != CRYPT_OK) {
134 LTC_SET_ASN1(siginfo, 1, LTC_ASN1_OCTET_STRING, tmpbuf, siglen);
157 zeromem(tmpbuf, siglen);
159 XFREE(tmpbuf);