Lines Matching refs:fc
25 int fc; in s390x_fc_from_md() local
28 fc = S390X_HMAC_SHA_224; in s390x_fc_from_md()
30 fc = S390X_HMAC_SHA_256; in s390x_fc_from_md()
32 fc = S390X_HMAC_SHA_384; in s390x_fc_from_md()
34 fc = S390X_HMAC_SHA_512; in s390x_fc_from_md()
38 if ((OPENSSL_s390xcap_P.kmac[1] & S390X_CAPBIT(fc)) == 0) in s390x_fc_from_md()
41 return fc; in s390x_fc_from_md()
46 unsigned int fc = ctx->plat.s390x.fc; in s390x_call_kmac() local
49 fc |= S390X_KMAC_IKP; in s390x_call_kmac()
52 fc |= S390X_KMAC_IIMP; in s390x_call_kmac()
54 switch (ctx->plat.s390x.fc) { in s390x_call_kmac()
67 s390x_kmac(in, len, fc, &ctx->plat.s390x.param); in s390x_call_kmac()
102 ctx->plat.s390x.fc = s390x_fc_from_md(ctx->md); in s390x_HMAC_init()
103 if (ctx->plat.s390x.fc == 0) in s390x_HMAC_init()
107 ctx->plat.s390x.fc = 0; in s390x_HMAC_init()
131 switch (ctx->plat.s390x.fc) { in s390x_HMAC_init()
149 switch (ctx->plat.s390x.fc) { in s390x_HMAC_init()
258 switch (ctx->plat.s390x.fc) { in s390x_HMAC_final()
288 dctx->plat.s390x.fc = sctx->plat.s390x.fc; in s390x_HMAC_CTX_copy()
324 ctx->plat.s390x.fc = 0; in s390x_HMAC_CTX_cleanup()