Home
last modified time | relevance | path

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

12

/optee_os-3.20.0/core/drivers/crypto/crypto_api/include/
A Ddrvcrypt_authenc.h27 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 Ddrvcrypt_cipher.h27 bool encrypt; /* Encrypt or decrypt direction */ member
38 bool encrypt; /* Encrypt or decrypt direction */ member
A Ddrvcrypt_acipher.h93 TEE_Result (*encrypt)(struct drvcrypt_rsa_ed *rsa_data); member
/optee_os-3.20.0/core/drivers/crypto/caam/cipher/
A Dlocal.h50 bool encrypt; /* Encrypt direction */ member
85 uint8_t keyid, bool encrypt,
A Dcaam_cipher.c162 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 Dcaam_cipher_xts.c60 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 Dcaam_cipher_mac.c156 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 Dcaam_desc_helper.h340 #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 Dauthenc.c139 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 Drsa.c336 .encrypt = do_encrypt,
/optee_os-3.20.0/core/drivers/crypto/se050/core/
A Dcipher.c21 if (dinit->encrypt) in do_init()
A Drsa.c922 .encrypt = do_encrypt,
/optee_os-3.20.0/core/drivers/crypto/crypto_api/authenc/
A Dauthenc.c94 .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 Dcipher.c57 return stm32_cryp_init(&c->cryp, !dinit->encrypt, c->algo, in stm32_cipher_initialize()
A Dauthenc.c225 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 Dcipher.c92 .encrypt = (mode == TEE_MODE_ENCRYPT), in cipher_init()
/optee_os-3.20.0/core/drivers/crypto/crypto_api/acipher/
A Drsa.c189 ret = rsa->encrypt(&rsa_data); in crypto_acipher_rsanopad_encrypt()
336 ret = rsa->encrypt(&rsa_data); in crypto_acipher_rsaes_encrypt()
A Drsassa.c275 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 Dversal_trng.c294 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 Dcrypto.c786 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 Decc.c385 .encrypt = sm2_ltc_pke_encrypt,
/optee_os-3.20.0/core/include/crypto/
A Dcrypto_impl.h337 TEE_Result (*encrypt)(struct ecc_public_key *key, const uint8_t *src, member
/optee_os-3.20.0/lib/libmbedtls/core/
A Decc.c500 .encrypt = sm2_mbedtls_pke_encrypt,
/optee_os-3.20.0/scripts/
A Dsign_encrypt.py398 out = cipher.encrypt(self.nonce, self.img, None)
/optee_os-3.20.0/core/drivers/crypto/caam/acipher/
A Dcaam_rsa.c1552 .encrypt = do_encrypt,

Completed in 32 milliseconds

12