Lines Matching refs:cipher
296 mbedtls_cipher_init(&operation->ctx.cipher); in psa_cipher_setup()
306 ret = mbedtls_cipher_setup(&operation->ctx.cipher, cipher_info); in psa_cipher_setup()
317 ret = mbedtls_cipher_setkey(&operation->ctx.cipher, in psa_cipher_setup()
323 ret = mbedtls_cipher_setkey(&operation->ctx.cipher, key_buffer, in psa_cipher_setup()
334 ret = mbedtls_cipher_set_padding_mode(&operation->ctx.cipher, in psa_cipher_setup()
338 ret = mbedtls_cipher_set_padding_mode(&operation->ctx.cipher, in psa_cipher_setup()
391 mbedtls_cipher_set_iv(&operation->ctx.cipher, in mbedtls_psa_cipher_set_iv()
513 (operation->ctx.cipher.unprocessed_len + input_length) in mbedtls_psa_cipher_update()
528 status = psa_cipher_update_ecb(&operation->ctx.cipher, in mbedtls_psa_cipher_update()
541 mbedtls_cipher_update(&operation->ctx.cipher, input, in mbedtls_psa_cipher_update()
559 if (operation->ctx.cipher.unprocessed_len != 0) { in mbedtls_psa_cipher_finish()
568 mbedtls_cipher_finish(&operation->ctx.cipher, in mbedtls_psa_cipher_finish()
599 mbedtls_cipher_free(&operation->ctx.cipher); in mbedtls_psa_cipher_abort()