Lines Matching refs:gr0
73 union s390_kmac_gr0 gr0; member
180 ctx->gr0.reg = 0; in s390_hmac_sha2_init()
183 ctx->gr0.fc = CPACF_KMAC_HMAC_SHA_224; in s390_hmac_sha2_init()
186 ctx->gr0.fc = CPACF_KMAC_HMAC_SHA_256; in s390_hmac_sha2_init()
189 ctx->gr0.fc = CPACF_KMAC_HMAC_SHA_384; in s390_hmac_sha2_init()
192 ctx->gr0.fc = CPACF_KMAC_HMAC_SHA_512; in s390_hmac_sha2_init()
218 ctx->gr0.iimp = 1; in s390_hmac_sha2_update()
219 _cpacf_kmac(&ctx->gr0.reg, ctx->param, ctx->buf, bs); in s390_hmac_sha2_update()
227 ctx->gr0.iimp = 1; in s390_hmac_sha2_update()
228 _cpacf_kmac(&ctx->gr0.reg, ctx->param, data, n); in s390_hmac_sha2_update()
245 ctx->gr0.iimp = 0; in s390_hmac_sha2_final()
247 _cpacf_kmac(&ctx->gr0.reg, ctx->param, ctx->buf, ctx->buflen % bs); in s390_hmac_sha2_final()
264 ctx->gr0.iimp = 0; in s390_hmac_sha2_digest()
267 _cpacf_kmac(&ctx->gr0.reg, ctx->param, data, len); in s390_hmac_sha2_digest()