Home
last modified time | relevance | path

Searched refs:auth_ctx (Results 1 - 3 of 3) sorted by relevance

/kernel/linux/common_modules/tzdriver/auth/
H A Dauth_base_impl.c319 static int check_proc_uid_path(const char *auth_ctx) in check_proc_uid_path() argument
328 if (auth_ctx == NULL) { in check_proc_uid_path()
333 auth_ctx_len = (u32)strnlen(auth_ctx, MAX_PATH_SIZE); in check_proc_uid_path()
364 if (strnlen(str_path_uid, MAX_PATH_SIZE) != auth_ctx_len || strncmp(str_path_uid, auth_ctx, auth_ctx_len) != 0) in check_proc_uid_path()
/kernel/linux/linux-6.6/drivers/crypto/hisilicon/sec2/
H A Dsec_crypto.c1625 struct sec_auth_ctx *auth_ctx = &ctx->a_ctx; in sec_aead_bd_fill() local
1637 sec_auth_bd_fill_xcm(auth_ctx, req->c_req.encrypt, req, sec_sqe); in sec_aead_bd_fill()
1639 sec_auth_bd_fill_ex(auth_ctx, req->c_req.encrypt, req, sec_sqe); in sec_aead_bd_fill()
1680 struct sec_auth_ctx *auth_ctx = &ctx->a_ctx; in sec_aead_bd_fill_v3() local
1692 sec_auth_bd_fill_xcm_v3(auth_ctx, req->c_req.encrypt, in sec_aead_bd_fill_v3()
1695 sec_auth_bd_fill_ex_v3(auth_ctx, req->c_req.encrypt, in sec_aead_bd_fill_v3()
1932 struct sec_auth_ctx *auth_ctx = &ctx->a_ctx; in sec_aead_ctx_init() local
1941 auth_ctx->hash_tfm = crypto_alloc_shash(hash_name, 0, 0); in sec_aead_ctx_init()
1942 if (IS_ERR(auth_ctx->hash_tfm)) { in sec_aead_ctx_init()
1945 return PTR_ERR(auth_ctx in sec_aead_ctx_init()
[all...]
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/sec2/
H A Dsec_crypto.c1155 struct sec_auth_ctx *auth_ctx = &ctx->a_ctx; in sec_aead_bd_fill() local
1165 sec_auth_bd_fill_ex(auth_ctx, req->c_req.encrypt, req, sec_sqe); in sec_aead_bd_fill()
1366 struct sec_auth_ctx *auth_ctx = &ctx->a_ctx; in sec_aead_ctx_init() local
1375 auth_ctx->hash_tfm = crypto_alloc_shash(hash_name, 0, 0); in sec_aead_ctx_init()
1376 if (IS_ERR(auth_ctx->hash_tfm)) { in sec_aead_ctx_init()
1379 return PTR_ERR(auth_ctx->hash_tfm); in sec_aead_ctx_init()

Completed in 6 milliseconds