Home
last modified time | relevance | path

Searched refs:ctx_ret (Results 1 – 25 of 27) sorted by relevance

12

/optee_os-3.20.0/core/lib/libtomcrypt/
A Dcmac.c86 static TEE_Result crypto_common_cmac_alloc_ctx(struct crypto_mac_ctx **ctx_ret, in crypto_common_cmac_alloc_ctx() argument
92 if (!ctx_ret) in crypto_common_cmac_alloc_ctx()
104 *ctx_ret = &ctx->ctx; in crypto_common_cmac_alloc_ctx()
109 TEE_Result crypto_aes_cmac_alloc_ctx(struct crypto_mac_ctx **ctx_ret) in crypto_aes_cmac_alloc_ctx() argument
111 return crypto_common_cmac_alloc_ctx(ctx_ret, "aes"); in crypto_aes_cmac_alloc_ctx()
114 TEE_Result crypto_des3_cmac_alloc_ctx(struct crypto_mac_ctx **ctx_ret) in crypto_des3_cmac_alloc_ctx() argument
116 return crypto_common_cmac_alloc_ctx(ctx_ret, "3des"); in crypto_des3_cmac_alloc_ctx()
A Dctr.c96 TEE_Result crypto_aes_ctr_alloc_ctx(struct crypto_cipher_ctx **ctx_ret) in crypto_aes_ctr_alloc_ctx() argument
110 *ctx_ret = &c->ctx; in crypto_aes_ctr_alloc_ctx()
A Dhmac.c85 static TEE_Result ltc_hmac_alloc_ctx(struct crypto_mac_ctx **ctx_ret, in ltc_hmac_alloc_ctx() argument
99 *ctx_ret = &ctx->ctx; in ltc_hmac_alloc_ctx()
A Dcbc.c103 static TEE_Result ltc_cbc_alloc_ctx(struct crypto_cipher_ctx **ctx_ret, in ltc_cbc_alloc_ctx() argument
118 *ctx_ret = &c->ctx; in ltc_cbc_alloc_ctx()
A Decb.c101 static TEE_Result ltc_ecb_alloc_ctx(struct crypto_cipher_ctx **ctx_ret, in ltc_ecb_alloc_ctx() argument
116 *ctx_ret = &c->ctx; in ltc_ecb_alloc_ctx()
A Dxts.c113 TEE_Result crypto_aes_xts_alloc_ctx(struct crypto_cipher_ctx **ctx_ret) in crypto_aes_xts_alloc_ctx() argument
127 *ctx_ret = &c->ctx; in crypto_aes_xts_alloc_ctx()
A Dhash.c109 static TEE_Result ltc_hash_alloc_ctx(struct crypto_hash_ctx **ctx_ret, in ltc_hash_alloc_ctx() argument
124 *ctx_ret = &ctx->ctx; in ltc_hash_alloc_ctx()
A Dccm.c28 TEE_Result crypto_aes_ccm_alloc_ctx(struct crypto_authenc_ctx **ctx_ret) in crypto_aes_ccm_alloc_ctx() argument
36 *ctx_ret = &ctx->aectx; in crypto_aes_ccm_alloc_ctx()
A Dgcm.c32 TEE_Result crypto_aes_gcm_alloc_ctx(struct crypto_authenc_ctx **ctx_ret) in crypto_aes_gcm_alloc_ctx() argument
40 *ctx_ret = &ctx->aectx; in crypto_aes_gcm_alloc_ctx()
/optee_os-3.20.0/lib/libmbedtls/core/
A Dcmac.c127 static TEE_Result crypto_cmac_alloc_ctx(struct crypto_mac_ctx **ctx_ret, in crypto_cmac_alloc_ctx() argument
169 *ctx_ret = &c->mac_ctx; in crypto_cmac_alloc_ctx()
174 TEE_Result crypto_des3_cmac_alloc_ctx(struct crypto_mac_ctx **ctx_ret) in crypto_des3_cmac_alloc_ctx() argument
176 return crypto_cmac_alloc_ctx(ctx_ret, MBEDTLS_CIPHER_ID_3DES, 192); in crypto_des3_cmac_alloc_ctx()
179 TEE_Result crypto_aes_cmac_alloc_ctx(struct crypto_mac_ctx **ctx_ret) in crypto_aes_cmac_alloc_ctx() argument
181 return crypto_cmac_alloc_ctx(ctx_ret, MBEDTLS_CIPHER_ID_AES, 128); in crypto_aes_cmac_alloc_ctx()
A Ddes_ecb.c105 TEE_Result crypto_des_ecb_alloc_ctx(struct crypto_cipher_ctx **ctx_ret) in crypto_des_ecb_alloc_ctx() argument
114 *ctx_ret = &c->ctx; in crypto_des_ecb_alloc_ctx()
A Ddes3_ecb.c114 TEE_Result crypto_des3_ecb_alloc_ctx(struct crypto_cipher_ctx **ctx_ret) in crypto_des3_ecb_alloc_ctx() argument
123 *ctx_ret = &c->ctx; in crypto_des3_ecb_alloc_ctx()
A Ddes_cbc.c109 TEE_Result crypto_des_cbc_alloc_ctx(struct crypto_cipher_ctx **ctx_ret) in crypto_des_cbc_alloc_ctx() argument
118 *ctx_ret = &c->ctx; in crypto_des_cbc_alloc_ctx()
A Daes_ecb.c114 TEE_Result crypto_aes_ecb_alloc_ctx(struct crypto_cipher_ctx **ctx_ret) in crypto_aes_ecb_alloc_ctx() argument
123 *ctx_ret = &c->ctx; in crypto_aes_ecb_alloc_ctx()
A Ddes3_cbc.c116 TEE_Result crypto_des3_cbc_alloc_ctx(struct crypto_cipher_ctx **ctx_ret) in crypto_des3_cbc_alloc_ctx() argument
125 *ctx_ret = &c->ctx; in crypto_des3_cbc_alloc_ctx()
A Daes_cbc.c112 TEE_Result crypto_aes_cbc_alloc_ctx(struct crypto_cipher_ctx **ctx_ret) in crypto_aes_cbc_alloc_ctx() argument
121 *ctx_ret = &c->ctx; in crypto_aes_cbc_alloc_ctx()
A Dhmac.c105 static TEE_Result mbed_hmac_alloc_ctx(struct crypto_mac_ctx **ctx_ret, in mbed_hmac_alloc_ctx() argument
128 *ctx_ret = &c->mac_ctx; in mbed_hmac_alloc_ctx()
A Daes_ctr.c107 TEE_Result crypto_aes_ctr_alloc_ctx(struct crypto_cipher_ctx **ctx_ret) in crypto_aes_ctr_alloc_ctx() argument
116 *ctx_ret = &c->ctx; in crypto_aes_ctr_alloc_ctx()
A Dhash.c110 static TEE_Result mbed_hash_alloc_ctx(struct crypto_hash_ctx **ctx_ret, in mbed_hash_alloc_ctx() argument
133 *ctx_ret = &hc->hash_ctx; in mbed_hash_alloc_ctx()
/optee_os-3.20.0/core/crypto/
A Dsm4-ecb.c90 TEE_Result crypto_sm4_ecb_alloc_ctx(struct crypto_cipher_ctx **ctx_ret) in crypto_sm4_ecb_alloc_ctx() argument
99 *ctx_ret = &c->ctx; in crypto_sm4_ecb_alloc_ctx()
A Dsm4-ctr.c92 TEE_Result crypto_sm4_ctr_alloc_ctx(struct crypto_cipher_ctx **ctx_ret) in crypto_sm4_ctr_alloc_ctx() argument
101 *ctx_ret = &c->ctx; in crypto_sm4_ctr_alloc_ctx()
A Dsm4-cbc.c95 TEE_Result crypto_sm4_cbc_alloc_ctx(struct crypto_cipher_ctx **ctx_ret) in crypto_sm4_cbc_alloc_ctx() argument
104 *ctx_ret = &c->ctx; in crypto_sm4_cbc_alloc_ctx()
A Dsm4-xts.c105 TEE_Result crypto_sm4_xts_alloc_ctx(struct crypto_cipher_ctx **ctx_ret) in crypto_sm4_xts_alloc_ctx() argument
114 *ctx_ret = &c->ctx; in crypto_sm4_xts_alloc_ctx()
A Dcbc-mac.c188 static TEE_Result crypto_cbc_mac_alloc_ctx(struct crypto_mac_ctx **ctx_ret, in crypto_cbc_mac_alloc_ctx() argument
215 *ctx_ret = &ctx->ctx; in crypto_cbc_mac_alloc_ctx()
A Daes-gcm.c436 TEE_Result crypto_aes_gcm_alloc_ctx(struct crypto_authenc_ctx **ctx_ret) in crypto_aes_gcm_alloc_ctx() argument
444 *ctx_ret = &ctx->aec; in crypto_aes_gcm_alloc_ctx()

Completed in 26 milliseconds

12