Lines Matching refs:data
126 /* Create another random plaintext as data for signature checking. */
745 number, e is the public exponent, x is the non-blinded data and n
764 decrypted data, ri is the modular multiplicative inverse of r and
887 rsa_encrypt (int algo, gcry_mpi_t *resarr, gcry_mpi_t data,
898 public (resarr[0], data, &pk);
905 rsa_decrypt (int algo, gcry_mpi_t *result, gcry_mpi_t *data,
953 x = rsa_blind (data[0], r, sk.e, sk.n);
955 x = data[0];
987 rsa_sign (int algo, gcry_mpi_t *resarr, gcry_mpi_t data, gcry_mpi_t *skey)
1000 secret (resarr[0], data, &sk);
1007 rsa_verify (int algo, gcry_mpi_t hash, gcry_mpi_t *data, gcry_mpi_t *pkey,
1022 public( result, data[0], &pk );
1064 const char *data;
1071 data = gcry_sexp_nth_data (l1, 1, &datalen);
1072 if (!data)
1078 gcry_md_write (md, data, datalen);
1096 "(data (flags pkcs1)"
1099 "(data (flags pkcs1)"
1104 gcry_sexp_t data = NULL;
1108 err = gcry_sexp_sscan (&data, NULL,
1115 errtxt = "converting data failed";
1119 err = gcry_pk_sign (&sig, data, skey);
1125 err = gcry_pk_verify (sig, data, pkey);
1142 gcry_sexp_release (data);
1200 "(data (flags raw) (value %m))", plaintext);
1203 errtxt = "converting data failed";
1241 /* Extract the decrypted data from the S-expression. Note that the
1243 in its input data. Because we passed the output of