I am working on a new protocol for pattern matching. While defining the ideal functionality, it is possible to say:
- Alice sends $p$ and Bob sends $T$ to the ideal functionality. i.e. searching for one pattern.
- Alice sends $p_1,\dots,p_\lambda$ and Bob sends $T$ to the ideal functionality. i.e. searching for several patterns at once.
In both cases, Alice outputs $f(p_i,T)$ and Bob outputs nothing.
It is also possible to prove in both cases.
Is there any difference? Does the second definition add anything to security guaranties?