Predicate Encryption Cryptography


Predicate Encryption Cryptography

Hope
Today we've got two fascinating talks from a cryptography conference. The first one is by Olivier Blazy on predicate encryption and identity-based revocation. It's all about making public key encryption more expressive.

Michael
Right, predicate encryption is a generalization where decryption is possible only if a certain predicate is satisfied between the ciphertext and the user's secret key. Two important types are inner product encryption and identity-based multi-recipient encryption.

Hope
In inner product encryption, you have a vector y in the ciphertext and a vector x in the key. Decryption works if the inner product is zero or non-zero, depending on the variant. For identity-based, you can encrypt to a set of identities — like 'all female cryptographers' — and only they can decrypt.

Michael
And the opposite is revocation: everyone not in the set can decrypt. The talk focused on achieving strong security properties: confidentiality, attribute hiding, and function privacy.

Hope
Attribute hiding means the ciphertext hides which attributes were used, even if you can decrypt. Function privacy hides the secret key's predicate — so you don't know what access a key grants. The challenge was building a non-zero inner product encryption that is fully attribute-hiding and function private in the standard model.

Michael
Previously, zero inner product encryption schemes existed, but non-zero ones were missing because the usual algebraic tricks rely on the inner product being zero to simplify terms. They needed a new approach.

Hope
Their solution was a two-step process. First, they built a predicate-only zero inner product encryption that is fully attribute-hiding and function private under a new assumption. Then they created a compiler that turns any predicate-only scheme into a full inner product encryption while preserving those properties.

Michael
The construction uses matrices of discrete logarithms and bilinear pairings. They also extended this to identity-based revocation, giving the first efficient scheme with full security without restrictions on collusion or query types.

Hope
The trade-off is efficiency: the transformation adds a factor linear in the message length. But it proves that full security is achievable, and future work could optimize it. That wraps up Olivier's talk.

Michael
Now we move to the second talk by Loic Ferreira on the EDHOC protocol — a lightweight authenticated key exchange designed for IoT devices.

Hope
IoT devices are highly constrained, so protocols like TLS are too heavy. EDHOC aims to minimize messages, message size, and code footprint. It's based on the Sigma protocol and offers four authentication methods using signatures or static Diffie-Hellman keys.

Michael
The protocol flow uses ephemeral Diffie-Hellman for key exchange. Authentication can be via a signature or a MAC tag derived from a static DH key. Identity protection is achieved by encrypting identifiers and signatures.

Hope
They considered four methods: both parties authenticate with signatures, or one with a signature and the other with a static key. The number of messages varies from three to four.

Michael
Ferreira's contribution is a comprehensive security analysis covering all four methods under a strong model that includes entity authentication, key indistinguishability, forward secrecy, and identity privacy — the latter preventing linking of protocol runs.

Hope
The adversary controls the network and can reveal session keys, corrupt long-term keys, and even adaptively choose identities. The security bounds rely on gap Diffie-Hellman assumptions, unforgeability of signatures and MACs, and indistinguishability of encryption.

Michael
They computed concrete estimates for different cipher suites. For high-security applications, AES-256-based suites are recommended. The analysis also highlights the need for a post-quantum version of EDHOC in the future.

Hope
So both talks address crucial gaps: one in advanced public key cryptography, the other in securing lightweight IoT communications. Both provide theoretical foundations and practical guidance.

Ask anything
We've read this whole study set, so questions about it get the best answers.