Home
last modified time | relevance | path

Searched refs:gr0 (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/arch/s390/crypto/
Dhmac_s390.c73 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()
[all …]
/linux-6.12.1/arch/s390/include/asm/
Dcpacf.h515 static inline int _cpacf_kmac(unsigned long *gr0, void *param, in _cpacf_kmac() argument
528 : [r0] "+d" (*gr0), [src] "+&d" (s.pair) in _cpacf_kmac()