Searched refs:cipher_op (Results 1 – 3 of 3) sorted by relevance
/mbedtls-latest/library/ |
D | cipher.c | 1328 psa_cipher_operation_t cipher_op = PSA_CIPHER_OPERATION_INIT; in mbedtls_cipher_crypt() local 1332 status = psa_cipher_decrypt_setup(&cipher_op, in mbedtls_cipher_crypt() 1336 status = psa_cipher_encrypt_setup(&cipher_op, in mbedtls_cipher_crypt() 1352 status = psa_cipher_set_iv(&cipher_op, iv, iv_len); in mbedtls_cipher_crypt() 1358 status = psa_cipher_update(&cipher_op, in mbedtls_cipher_crypt() 1365 status = psa_cipher_finish(&cipher_op, in mbedtls_cipher_crypt()
|
D | ssl_msg.c | 1255 psa_cipher_operation_t cipher_op = PSA_CIPHER_OPERATION_INIT; in mbedtls_ssl_encrypt_buf() local 1312 status = psa_cipher_encrypt_setup(&cipher_op, in mbedtls_ssl_encrypt_buf() 1321 status = psa_cipher_set_iv(&cipher_op, transform->iv_enc, transform->ivlen); in mbedtls_ssl_encrypt_buf() 1330 status = psa_cipher_update(&cipher_op, in mbedtls_ssl_encrypt_buf() 1341 status = psa_cipher_finish(&cipher_op, in mbedtls_ssl_encrypt_buf() 1671 psa_cipher_operation_t cipher_op = PSA_CIPHER_OPERATION_INIT; in mbedtls_ssl_decrypt_buf() local 1852 status = psa_cipher_decrypt_setup(&cipher_op, in mbedtls_ssl_decrypt_buf() 1861 status = psa_cipher_set_iv(&cipher_op, transform->iv_dec, transform->ivlen); in mbedtls_ssl_decrypt_buf() 1869 status = psa_cipher_update(&cipher_op, in mbedtls_ssl_decrypt_buf() 1879 status = psa_cipher_finish(&cipher_op, in mbedtls_ssl_decrypt_buf()
|
/mbedtls-latest/tests/src/test_helpers/ |
D | ssl_helpers.c | 1096 psa_cipher_operation_t cipher_op = PSA_CIPHER_OPERATION_INIT; in mbedtls_test_psa_cipher_encrypt_helper() local 1099 status = psa_cipher_encrypt_setup(&cipher_op, in mbedtls_test_psa_cipher_encrypt_helper() 1107 status = psa_cipher_set_iv(&cipher_op, iv, iv_len); in mbedtls_test_psa_cipher_encrypt_helper() 1113 status = psa_cipher_update(&cipher_op, input, ilen, output, ilen, olen); in mbedtls_test_psa_cipher_encrypt_helper() 1119 status = psa_cipher_finish(&cipher_op, output + *olen, ilen - *olen, in mbedtls_test_psa_cipher_encrypt_helper()
|