Searched defs:resarr (Results 1 - 9 of 9) sorted by relevance

/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt/cipher/
H A Delgamal.c705 elg_encrypt (int algo, gcry_mpi_t *resarr, argument
721 resarr[0] = mpi_alloc (mpi_get_nlimbs (pk.p));
722 resarr[1] = mpi_alloc (mpi_get_nlimbs (pk.p));
723 do_encrypt (resarr[0], resarr[1], data, &pk);
756 elg_sign (int algo, gcry_mpi_t *resarr, gcry_mpi_t data, gcry_mpi_t *skey) argument
772 resarr[0] = mpi_alloc (mpi_get_nlimbs (sk.p));
773 resarr[1] = mpi_alloc (mpi_get_nlimbs (sk.p));
774 sign (resarr[0], resarr[
[all...]
H A Ddsa.c964 dsa_sign (int algo, gcry_mpi_t *resarr, gcry_mpi_t data, gcry_mpi_t *skey)
982 resarr[0] = mpi_alloc (mpi_get_nlimbs (sk.p));
983 resarr[1] = mpi_alloc (mpi_get_nlimbs (sk.p));
984 sign (resarr[0], resarr[1], data, &sk);
963 dsa_sign(int algo, gcry_mpi_t *resarr, gcry_mpi_t data, gcry_mpi_t *skey) argument
H A Decc.c1111 ecc_sign (int algo, gcry_mpi_t *resarr, gcry_mpi_t data, gcry_mpi_t *skey)
1143 resarr[0] = mpi_alloc (mpi_get_nlimbs (sk.E.p));
1144 resarr[1] = mpi_alloc (mpi_get_nlimbs (sk.E.p));
1145 err = sign (data, &sk, resarr[0], resarr[1]);
1148 mpi_free (resarr[0]);
1149 mpi_free (resarr[1]);
1150 resarr[0] = NULL; /* Mark array as released. */
1107 ecc_sign(int algo, gcry_mpi_t *resarr, gcry_mpi_t data, gcry_mpi_t *skey) argument
H A Drsa.c887 rsa_encrypt (int algo, gcry_mpi_t *resarr, gcry_mpi_t data,
897 resarr[0] = mpi_alloc (mpi_get_nlimbs (pk.n));
898 public (resarr[0], data, &pk);
987 rsa_sign (int algo, gcry_mpi_t *resarr, gcry_mpi_t data, gcry_mpi_t *skey)
999 resarr[0] = mpi_alloc( mpi_get_nlimbs (sk.n));
1000 secret (resarr[0], data, &sk);
886 rsa_encrypt(int algo, gcry_mpi_t *resarr, gcry_mpi_t data, gcry_mpi_t *pkey, int flags) argument
986 rsa_sign(int algo, gcry_mpi_t *resarr, gcry_mpi_t data, gcry_mpi_t *skey) argument
H A Dpubkey.c36 static gcry_err_code_t pubkey_sign (int algo, gcry_mpi_t *resarr,
132 dummy_encrypt (int algorithm, gcry_mpi_t *resarr, gcry_mpi_t data, argument
136 (void)resarr;
158 dummy_sign (int algorithm, gcry_mpi_t *resarr, gcry_mpi_t data, argument
162 (void)resarr;
608 pubkey_encrypt (int algorithm, gcry_mpi_t *resarr, gcry_mpi_t data, argument
632 rc = pubkey->encrypt (algorithm, resarr, data, pkey, flags);
644 log_mpidump(" encr:", resarr[i] );
700 * Sign data with skey and put the result into resarr which
705 pubkey_sign (int algorithm, gcry_mpi_t *resarr, gcry_mpi_ argument
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt-grub/cipher/
H A Delgamal.c705 elg_encrypt (int algo, gcry_mpi_t *resarr, argument
721 resarr[0] = mpi_alloc (mpi_get_nlimbs (pk.p));
722 resarr[1] = mpi_alloc (mpi_get_nlimbs (pk.p));
723 do_encrypt (resarr[0], resarr[1], data, &pk);
756 elg_sign (int algo, gcry_mpi_t *resarr, gcry_mpi_t data, gcry_mpi_t *skey) argument
772 resarr[0] = mpi_alloc (mpi_get_nlimbs (sk.p));
773 resarr[1] = mpi_alloc (mpi_get_nlimbs (sk.p));
774 sign (resarr[0], resarr[
[all...]
H A Ddsa.c964 dsa_sign (int algo, gcry_mpi_t *resarr, gcry_mpi_t data, gcry_mpi_t *skey)
982 resarr[0] = mpi_alloc (mpi_get_nlimbs (sk.p));
983 resarr[1] = mpi_alloc (mpi_get_nlimbs (sk.p));
984 sign (resarr[0], resarr[1], data, &sk);
963 dsa_sign(int algo, gcry_mpi_t *resarr, gcry_mpi_t data, gcry_mpi_t *skey) argument
H A Drsa.c886 rsa_encrypt (int algo, gcry_mpi_t *resarr, gcry_mpi_t data,
896 resarr[0] = mpi_alloc (mpi_get_nlimbs (pk.n));
897 public (resarr[0], data, &pk);
986 rsa_sign (int algo, gcry_mpi_t *resarr, gcry_mpi_t data, gcry_mpi_t *skey)
998 resarr[0] = mpi_alloc( mpi_get_nlimbs (sk.n));
999 secret (resarr[0], data, &sk);
885 rsa_encrypt(int algo, gcry_mpi_t *resarr, gcry_mpi_t data, gcry_mpi_t *pkey, int flags) argument
985 rsa_sign(int algo, gcry_mpi_t *resarr, gcry_mpi_t data, gcry_mpi_t *skey) argument
H A Decc.c1111 ecc_sign (int algo, gcry_mpi_t *resarr, gcry_mpi_t data, gcry_mpi_t *skey)
1143 resarr[0] = mpi_alloc (mpi_get_nlimbs (sk.E.p));
1144 resarr[1] = mpi_alloc (mpi_get_nlimbs (sk.E.p));
1145 err = sign (data, &sk, resarr[0], resarr[1]);
1148 mpi_free (resarr[0]);
1149 mpi_free (resarr[1]);
1150 resarr[0] = NULL; /* Mark array as released. */
1107 ecc_sign(int algo, gcry_mpi_t *resarr, gcry_mpi_t data, gcry_mpi_t *skey) argument

Completed in 207 milliseconds