Home
last modified time | relevance | path

Searched refs:cipher_op (Results 1 – 2 of 2) sorted by relevance

/optee_os/lib/libmbedtls/mbedtls/library/
H A Dcipher.c1373 psa_cipher_operation_t cipher_op = PSA_CIPHER_OPERATION_INIT; in mbedtls_cipher_crypt() local
1377 status = psa_cipher_decrypt_setup(&cipher_op, in mbedtls_cipher_crypt()
1381 status = psa_cipher_encrypt_setup(&cipher_op, in mbedtls_cipher_crypt()
1397 status = psa_cipher_set_iv(&cipher_op, iv, iv_len); in mbedtls_cipher_crypt()
1403 status = psa_cipher_update(&cipher_op, in mbedtls_cipher_crypt()
1410 status = psa_cipher_finish(&cipher_op, in mbedtls_cipher_crypt()
H A Dssl_msg.c1256 psa_cipher_operation_t cipher_op = PSA_CIPHER_OPERATION_INIT; in mbedtls_ssl_encrypt_buf() local
1313 status = psa_cipher_encrypt_setup(&cipher_op, in mbedtls_ssl_encrypt_buf()
1322 status = psa_cipher_set_iv(&cipher_op, transform->iv_enc, transform->ivlen); in mbedtls_ssl_encrypt_buf()
1331 status = psa_cipher_update(&cipher_op, in mbedtls_ssl_encrypt_buf()
1342 status = psa_cipher_finish(&cipher_op, in mbedtls_ssl_encrypt_buf()
1672 psa_cipher_operation_t cipher_op = PSA_CIPHER_OPERATION_INIT; in mbedtls_ssl_decrypt_buf() local
1853 status = psa_cipher_decrypt_setup(&cipher_op, in mbedtls_ssl_decrypt_buf()
1862 status = psa_cipher_set_iv(&cipher_op, transform->iv_dec, transform->ivlen); in mbedtls_ssl_decrypt_buf()
1870 status = psa_cipher_update(&cipher_op, in mbedtls_ssl_decrypt_buf()
1880 status = psa_cipher_finish(&cipher_op, in mbedtls_ssl_decrypt_buf()