Lines Matching defs:use
410 check_pubkey_algo (int algorithm, unsigned use)
424 if (((use & GCRY_PK_USAGE_SIGN)
425 && (! (pubkey->use & GCRY_PK_USAGE_SIGN)))
426 || ((use & GCRY_PK_USAGE_ENCR)
427 && (! (pubkey->use & GCRY_PK_USAGE_ENCR))))
654 * ALGO gives the algorithm to use and this implicitly determines
1179 with the message, if LABEL is NULL the default is to use the empty
1338 message, if LABEL is NULL the default is to use the empty string as
1601 /* Note that we use EM to store DB and later Xor in-place. */
1707 /* Step 3: Check length of EM. Because we internally use MPI
1857 /* Internal function used for ecc. Note, that this function makes use
2209 method. Further, it also allows to use OIDs as
2460 Either the VALUE or the HASH element must be present for use
3478 /* Handle the optional rsa-use-e element. Actually this belong into
3481 l2 = gcry_sexp_find_token (list, "rsa-use-e", 0);
3500 use_e = 65537; /* Not given, use the value generated by old versions. */
3966 Returns 0 when the specified algorithm is available for use.
3991 int use = nbytes ? *nbytes : 0;
3994 else if (check_pubkey_algo (algorithm, use))
4002 int use = 0;
4010 use = ((gcry_pk_spec_t *) pubkey->spec)->use;
4016 *nbytes = use;