Lines Matching refs:cipher
169 mbedtls_cipher_init( &operation->ctx.cipher ); in cipher_setup()
178 ret = mbedtls_cipher_setup( &operation->ctx.cipher, cipher_info ); in cipher_setup()
189 ret = mbedtls_cipher_setkey( &operation->ctx.cipher, in cipher_setup()
196 ret = mbedtls_cipher_setkey( &operation->ctx.cipher, key_buffer, in cipher_setup()
207 ret = mbedtls_cipher_set_padding_mode( &operation->ctx.cipher, in cipher_setup()
211 ret = mbedtls_cipher_set_padding_mode( &operation->ctx.cipher, in cipher_setup()
260 mbedtls_cipher_set_iv( &operation->ctx.cipher, in cipher_set_iv()
385 ( operation->ctx.cipher.unprocessed_len + input_length ) in cipher_update()
401 status = psa_cipher_update_ecb( &operation->ctx.cipher, in cipher_update()
410 mbedtls_cipher_update( &operation->ctx.cipher, input, in cipher_update()
428 if( operation->ctx.cipher.unprocessed_len != 0 ) in cipher_finish()
439 mbedtls_cipher_finish( &operation->ctx.cipher, in cipher_finish()
466 mbedtls_cipher_free( &operation->ctx.cipher ); in cipher_abort()