Searched refs:MBEDTLS_ENCRYPT (Results 1 – 14 of 14) sorted by relevance
35 #define MBEDTLS_PKCS12_PBE_ENCRYPT MBEDTLS_ENCRYPT
35 #define MBEDTLS_PKCS5_ENCRYPT MBEDTLS_ENCRYPT
202 MBEDTLS_ENCRYPT, enumerator
347 if (operation != MBEDTLS_ENCRYPT && operation != MBEDTLS_DECRYPT) { in mbedtls_cipher_setkey()430 if (MBEDTLS_ENCRYPT == operation || in mbedtls_cipher_setkey()443 if (operation == MBEDTLS_ENCRYPT || operation == MBEDTLS_DECRYPT) { in mbedtls_cipher_setkey()531 } else if (ctx->operation == MBEDTLS_ENCRYPT) { in mbedtls_cipher_set_iv()599 mode = (ctx->operation == MBEDTLS_ENCRYPT) in mbedtls_cipher_update_ad()700 (ctx->operation == MBEDTLS_ENCRYPT && in mbedtls_cipher_update()1114 if (MBEDTLS_ENCRYPT == ctx->operation) { in mbedtls_cipher_finish()1234 if (MBEDTLS_ENCRYPT != ctx->operation) { in mbedtls_cipher_write_tag()1380 } else if (ctx->operation == MBEDTLS_ENCRYPT) { in mbedtls_cipher_crypt()
106 MBEDTLS_ENCRYPT); in ssl_ticket_gen_key()194 ret = mbedtls_cipher_setkey(&key->ctx, k, bitlen, MBEDTLS_ENCRYPT); in mbedtls_ssl_ticket_rotate()
183 MBEDTLS_ENCRYPT)) != 0) { in mbedtls_cipher_cmac_starts()774 MBEDTLS_ENCRYPT)) != 0) { in cmac_test_subkeys()
91 is_wrap ? MBEDTLS_ENCRYPT : in mbedtls_nist_kw_setkey()
365 alg, MBEDTLS_ENCRYPT); in mbedtls_psa_cipher_encrypt_setup()
89 MBEDTLS_ENCRYPT)) != 0) { in mbedtls_ccm_setkey()
203 MBEDTLS_ENCRYPT)) != 0) { in mbedtls_gcm_setkey()
230 case MBEDTLS_ENCRYPT: in aes_crypt_xts_wrap()
1011 MBEDTLS_ENCRYPT)) != 0) { in mbedtls_ssl_tls13_populate_transform()
4448 psa_key_usage_t usage = (cipher_operation == MBEDTLS_ENCRYPT ? in psa_cipher_setup()4489 if (cipher_operation == MBEDTLS_ENCRYPT) { in psa_cipher_setup()4517 return psa_cipher_setup(operation, key, alg, MBEDTLS_ENCRYPT); in psa_cipher_encrypt_setup()
8988 MBEDTLS_ENCRYPT)) != 0) { in ssl_tls12_populate_transform()