Searched refs:ghash (Results 1 – 2 of 2) sorted by relevance
24 struct crypto_ahash_spawn ghash; member29 struct crypto_ahash *ghash; member96 struct crypto_ahash *ghash = ctx->ghash; in crypto_gcm_setkey() local137 crypto_ahash_clear_flags(ghash, CRYPTO_TFM_REQ_MASK); in crypto_gcm_setkey()138 crypto_ahash_set_flags(ghash, crypto_aead_get_flags(aead) & in crypto_gcm_setkey()140 err = crypto_ahash_setkey(ghash, (u8 *)&data->hash, sizeof(be128)); in crypto_gcm_setkey()404 ahash_request_set_tfm(ahreq, ctx->ghash); in gcm_hash()527 struct crypto_ahash *ghash; in crypto_gcm_init_tfm() local531 ghash = crypto_spawn_ahash(&ictx->ghash); in crypto_gcm_init_tfm()532 if (IS_ERR(ghash)) in crypto_gcm_init_tfm()[all …]
167 obj-$(CONFIG_CRYPTO_GHASH) += ghash-generic.o