Searched refs:priv (Results 1 – 3 of 3) sorted by relevance
/crypto/ |
D | ahash.c | 234 req->priv = subreq; in ahash_save_req() 241 struct ahash_request *subreq = req->priv; in ahash_restore_req() 247 req->priv = NULL; in ahash_restore_req() 277 err = op(req->priv); in ahash_op_unaligned() 363 struct ahash_request *subreq = req->priv; in ahash_def_finup_finish1() 387 subreq = areq->priv; in ahash_def_finup_done1() 407 err = tfm->update(req->priv); in ahash_def_finup()
|
D | ecc.c | 1472 u64 priv[ECC_MAX_DIGITS]; in ecc_gen_privkey() local 1478 if (nbits < 160 || ndigits > ARRAY_SIZE(priv)) in ecc_gen_privkey() 1495 err = crypto_rng_get_bytes(crypto_default_rng, (u8 *)priv, nbytes); in ecc_gen_privkey() 1501 if (__ecc_is_key_valid(curve, priv, ndigits)) in ecc_gen_privkey() 1504 ecc_swap_digits(priv, privkey, ndigits); in ecc_gen_privkey() 1515 u64 priv[ECC_MAX_DIGITS]; in ecc_make_pub_key() local 1518 if (!private_key || !curve || ndigits > ARRAY_SIZE(priv)) { in ecc_make_pub_key() 1523 ecc_swap_digits(private_key, priv, ndigits); in ecc_make_pub_key() 1531 ecc_point_mult(pk, &curve->g, priv, NULL, curve, ndigits); in ecc_make_pub_key() 1615 u64 priv[ECC_MAX_DIGITS]; in crypto_ecdh_shared_secret() local [all …]
|
D | fips140-module.c | 673 static void fips140_aes_encrypt(void *priv, const struct crypto_aes_ctx *ctx, in fips140_aes_encrypt() argument 680 static void fips140_aes_decrypt(void *priv, const struct crypto_aes_ctx *ctx, in fips140_aes_decrypt() argument
|