/optee_os-3.20.0/core/drivers/crypto/crypto_api/include/ |
A D | drvcrypt_authenc.h | 27 bool encrypt; /* Encrypt or decrypt direction */ member 40 bool encrypt; /* Encrypt or decrypt direction */ member 49 bool encrypt; /* Encrypt or decrypt direction */ member 59 bool encrypt; /* Encrypt or decrypt direction */ member
|
A D | drvcrypt_cipher.h | 27 bool encrypt; /* Encrypt or decrypt direction */ member 38 bool encrypt; /* Encrypt or decrypt direction */ member
|
A D | drvcrypt_acipher.h | 93 TEE_Result (*encrypt)(struct drvcrypt_rsa_ed *rsa_data); member
|
/optee_os-3.20.0/core/drivers/crypto/caam/cipher/ |
A D | local.h | 50 bool encrypt; /* Encrypt direction */ member 85 uint8_t keyid, bool encrypt,
|
A D | caam_cipher.c | 162 uint8_t keyid, bool encrypt, in caam_cipher_block() argument 192 caam_desc_add_word(desc, CIPHER_INIT(ctx->alg->type, encrypt)); in caam_cipher_block() 196 CIPHER_INITFINAL(ctx->alg->type, encrypt)); in caam_cipher_block() 377 dst->encrypt = src->encrypt; in caam_cipher_copy_state() 428 CIPHER_TRACE("Action %s", dinit->encrypt ? "Encrypt" : "Decrypt"); in caam_cipher_initialize() 542 cipherdata->encrypt = dinit->encrypt; in caam_cipher_initialize() 582 ctx->encrypt ? "Encrypt" : "Decrypt"); in do_update_streaming() 648 ctx->encrypt, &src, &dst); in do_update_streaming() 749 ctx->encrypt, &src, &dst); in do_update_streaming() 794 (ctx->encrypt ? "Encrypt" : "Decrypt")); in do_update_cipher() [all …]
|
A D | caam_cipher_xts.c | 60 retstatus = caam_cipher_block(ctx, false, NEED_KEY1, ctx->encrypt, tmp, in do_tweak_block() 95 ctx->encrypt ? "Encrypt" : " Decrypt"); in caam_cipher_update_xts() 198 if (!ctx->encrypt) { in caam_cipher_update_xts()
|
A D | caam_cipher_mac.c | 156 ctx->encrypt ? "Encrypt" : "Decrypt"); in do_update_mac() 433 dupdate->encrypt ? "Encrypt" : "Decrypt"); in do_update_cmac() 598 dinit.encrypt = true; in do_cmac_init() 629 dupdate.encrypt = true; in do_cmac_update() 681 dupdate.encrypt = true; in do_cmac_final()
|
/optee_os-3.20.0/core/drivers/crypto/caam/include/ |
A D | caam_desc_helper.h | 340 #define CIPHER_INITFINAL(algo, encrypt) \ argument 342 ((encrypt) ? ALGO_ENCRYPT : ALGO_DECRYPT)) 347 #define CIPHER_INIT(algo, encrypt) \ argument 349 ((encrypt) ? ALGO_ENCRYPT : ALGO_DECRYPT)) 354 #define CIPHER_UPDATE(algo, encrypt) \ argument 356 ((encrypt) ? ALGO_ENCRYPT : ALGO_DECRYPT)) 361 #define CIPHER_FINAL(algo, encrypt) \ argument 363 ((encrypt) ? ALGO_ENCRYPT : ALGO_DECRYPT))
|
/optee_os-3.20.0/core/drivers/crypto/versal/ |
A D | authenc.c | 139 bool encrypt; member 255 if (p->encrypt) in replay_payload() 366 init->operation = dinit->encrypt ? XSECURE_ENCRYPT : XSECURE_DECRYPT; in do_init() 387 engine.init.operation = dinit->encrypt ? in do_init() 497 if (dupdate->encrypt) in update_payload() 525 node->payload.encrypt = dupdate->encrypt; in update_payload() 588 last.encrypt = true; in do_enc_final() 640 last.encrypt = false; in do_dec_final()
|
A D | rsa.c | 336 .encrypt = do_encrypt,
|
/optee_os-3.20.0/core/drivers/crypto/se050/core/ |
A D | cipher.c | 21 if (dinit->encrypt) in do_init()
|
A D | rsa.c | 922 .encrypt = do_encrypt,
|
/optee_os-3.20.0/core/drivers/crypto/crypto_api/authenc/ |
A D | authenc.c | 94 .encrypt = (mode == TEE_MODE_ENCRYPT), in authenc_init() 172 .encrypt = (mode == TEE_MODE_ENCRYPT), in authenc_update_payload()
|
/optee_os-3.20.0/core/drivers/crypto/stm32/ |
A D | cipher.c | 57 return stm32_cryp_init(&c->cryp, !dinit->encrypt, c->algo, in stm32_cipher_initialize()
|
A D | authenc.c | 225 res = stm32_cryp_init(&c->cryp, !dinit->encrypt, c->algo, in stm32_ae_initialize()
|
/optee_os-3.20.0/core/drivers/crypto/crypto_api/cipher/ |
A D | cipher.c | 92 .encrypt = (mode == TEE_MODE_ENCRYPT), in cipher_init()
|
/optee_os-3.20.0/core/drivers/crypto/crypto_api/acipher/ |
A D | rsa.c | 189 ret = rsa->encrypt(&rsa_data); in crypto_acipher_rsanopad_encrypt() 336 ret = rsa->encrypt(&rsa_data); in crypto_acipher_rsaes_encrypt()
|
A D | rsassa.c | 275 ret = rsa->encrypt(&rsa_data); in rsassa_pkcs1_v1_5_verify() 851 ret = rsa->encrypt(&rsa_data); in rsassa_pss_verify()
|
/optee_os-3.20.0/core/drivers/ |
A D | versal_trng.c | 294 static void encrypt(uint8_t *in, uint8_t *out) in encrypt() function 314 encrypt(iv, iv); in checksum() 483 encrypt(inp_blk, out_blk); in trng_df_algorithm()
|
/optee_os-3.20.0/core/crypto/ |
A D | crypto.c | 786 if (!key->ops->encrypt) in crypto_acipher_sm2_pke_encrypt() 789 return key->ops->encrypt(key, src, src_len, dst, dst_len); in crypto_acipher_sm2_pke_encrypt()
|
/optee_os-3.20.0/core/lib/libtomcrypt/ |
A D | ecc.c | 385 .encrypt = sm2_ltc_pke_encrypt,
|
/optee_os-3.20.0/core/include/crypto/ |
A D | crypto_impl.h | 337 TEE_Result (*encrypt)(struct ecc_public_key *key, const uint8_t *src, member
|
/optee_os-3.20.0/lib/libmbedtls/core/ |
A D | ecc.c | 500 .encrypt = sm2_mbedtls_pke_encrypt,
|
/optee_os-3.20.0/scripts/ |
A D | sign_encrypt.py | 398 out = cipher.encrypt(self.nonce, self.img, None)
|
/optee_os-3.20.0/core/drivers/crypto/caam/acipher/ |
A D | caam_rsa.c | 1552 .encrypt = do_encrypt,
|