Lines Matching refs:oper

312 	int oper;  member
1004 create_hash_pad(int oper, unsigned char *dst, u64 dgstlen, u64 bitcount) in create_hash_pad() argument
1009 switch (oper) { in create_hash_pad()
1462 u32 oper; in artpec6_crypto_prepare_hash() local
1465 oper = FIELD_GET(A6_CRY_MD_OPER, req_ctx->hash_md); in artpec6_crypto_prepare_hash()
1467 oper = FIELD_GET(A7_CRY_MD_OPER, req_ctx->hash_md); in artpec6_crypto_prepare_hash()
1491 hash_pad_len = create_hash_pad(oper, req_ctx->pad_buffer, in artpec6_crypto_prepare_hash()
1695 u32 oper; in artpec6_crypto_prepare_crypto() local
1743 oper = regk_crypto_aes_ecb; in artpec6_crypto_prepare_crypto()
1748 oper = regk_crypto_aes_cbc; in artpec6_crypto_prepare_crypto()
1753 oper = regk_crypto_aes_ctr; in artpec6_crypto_prepare_crypto()
1758 oper = regk_crypto_aes_xts; in artpec6_crypto_prepare_crypto()
1774 req_ctx->cipher_md |= FIELD_PREP(A6_CRY_MD_OPER, oper); in artpec6_crypto_prepare_crypto()
1780 req_ctx->cipher_md |= FIELD_PREP(A7_CRY_MD_OPER, oper); in artpec6_crypto_prepare_crypto()
2255 u32 oper; in artpec6_crypto_init_hash() local
2265 oper = hmac ? regk_crypto_hmac_sha1 : regk_crypto_sha1; in artpec6_crypto_init_hash()
2268 oper = hmac ? regk_crypto_hmac_sha256 : regk_crypto_sha256; in artpec6_crypto_init_hash()
2271 oper = hmac ? regk_crypto_hmac_sha384 : regk_crypto_sha384; in artpec6_crypto_init_hash()
2274 oper = hmac ? regk_crypto_hmac_sha512 : regk_crypto_sha512; in artpec6_crypto_init_hash()
2283 req_ctx->hash_md = FIELD_PREP(A6_CRY_MD_OPER, oper); in artpec6_crypto_init_hash()
2285 req_ctx->hash_md = FIELD_PREP(A7_CRY_MD_OPER, oper); in artpec6_crypto_init_hash()
2522 state->oper = FIELD_GET(A6_CRY_MD_OPER, ctx->hash_md); in artpec6_crypto_hash_export()
2524 state->oper = FIELD_GET(A7_CRY_MD_OPER, ctx->hash_md); in artpec6_crypto_hash_export()
2548 ctx->hash_md = FIELD_PREP(A6_CRY_MD_OPER, state->oper); in artpec6_crypto_hash_import()
2550 ctx->hash_md = FIELD_PREP(A7_CRY_MD_OPER, state->oper); in artpec6_crypto_hash_import()