Lines Matching refs:hash_md
299 u32 hash_md; member
1364 req_ctx->hash_md &= ~A6_CRY_MD_HASH_SEL_CTX; in artpec6_crypto_prepare_hash()
1365 req_ctx->hash_md |= FIELD_PREP(A6_CRY_MD_HASH_SEL_CTX, sel_ctx); in artpec6_crypto_prepare_hash()
1369 req_ctx->hash_md |= A6_CRY_MD_HASH_HMAC_FIN; in artpec6_crypto_prepare_hash()
1371 req_ctx->hash_md &= ~A7_CRY_MD_HASH_SEL_CTX; in artpec6_crypto_prepare_hash()
1372 req_ctx->hash_md |= FIELD_PREP(A7_CRY_MD_HASH_SEL_CTX, sel_ctx); in artpec6_crypto_prepare_hash()
1376 req_ctx->hash_md |= A7_CRY_MD_HASH_HMAC_FIN; in artpec6_crypto_prepare_hash()
1381 (void *)&req_ctx->hash_md, in artpec6_crypto_prepare_hash()
1382 sizeof(req_ctx->hash_md), false, false); in artpec6_crypto_prepare_hash()
1458 oper = FIELD_GET(A6_CRY_MD_OPER, req_ctx->hash_md); in artpec6_crypto_prepare_hash()
1460 oper = FIELD_GET(A7_CRY_MD_OPER, req_ctx->hash_md); in artpec6_crypto_prepare_hash()
2284 req_ctx->hash_md = FIELD_PREP(A6_CRY_MD_OPER, oper); in artpec6_crypto_init_hash()
2286 req_ctx->hash_md = FIELD_PREP(A7_CRY_MD_OPER, oper); in artpec6_crypto_init_hash()
2449 state->oper = FIELD_GET(A6_CRY_MD_OPER, ctx->hash_md); in artpec6_crypto_hash_export()
2451 state->oper = FIELD_GET(A7_CRY_MD_OPER, ctx->hash_md); in artpec6_crypto_hash_export()
2475 ctx->hash_md = FIELD_PREP(A6_CRY_MD_OPER, state->oper); in artpec6_crypto_hash_import()
2477 ctx->hash_md = FIELD_PREP(A7_CRY_MD_OPER, state->oper); in artpec6_crypto_hash_import()