|
| const char * | name |
| | Name.
|
| int | accumulates |
| | Key schedule accumulates all shared secrets.
|
| unsigned int | mask |
| | Key flags preserved when loading key material.
|
| size_t(* | secretsize )(struct digest_algorithm *digest) |
| | Calculate secret size.
|
| void(* | expand )(struct digest_algorithm *digest, const void *secret, const char *label, const void *seed, size_t seed_len, void *out, size_t out_len) |
| | Expand key material.
|
| void(* | reset )(struct tls_key_schedule *tlskey) |
| | Reset key schedule.
|
| int(* | apply )(struct tls_key_schedule *tlskey, const void *shared, size_t shared_len) |
| | Apply a new shared secret.
|
| int(* | master )(struct tls_key_schedule *tlskey, int ems) |
| | Generate master secret.
|
| int(* | verify )(struct tls_key_schedule *tlskey, const struct tls_endpoint *end, void *verify, size_t verify_len) |
| | Generate verification data.
|
| int(* | traffic )(struct tls_key_schedule *tlskey, const struct tls_endpoint *writer, const struct tls_phase *phase) |
| | Generate traffic secrets.
|
| int(* | cipher )(struct tls_key_schedule *tlskey, const struct tls_endpoint *writer, void *key, size_t key_len, void *iv, size_t iv_len, void *mac, size_t mac_len) |
| | Generate cipher key material.
|
| int(* | tbshash )(struct tls_key_schedule *tlskey, const struct tls_endpoint *end, struct digest_algorithm *digest, const void *data, size_t len, void *tbs) |
| | Generate signable digest value.
|
| int(* | save )(struct tls_key_schedule *tlskey, const void *nonce, size_t nonce_len, struct tls_preshared_key *psk) |
| | Save pre-shared key.
|
| int(* | load )(struct tls_key_schedule *tlskey, const struct tls_preshared_key *psk) |
| | Load pre-shared key.
|
| int(* | bind )(const struct tls_preshared_key *psk, const void *hash, void *binder, size_t binder_len) |
| | Generate pre-shared key binder value.
|
TLS key schedule operations.
Definition at line 170 of file tlskey.h.
| int tls_key_schedule_operations::accumulates |
Key schedule accumulates all shared secrets.
The ability to demonstrate possession of the key material is sufficient to demonstrate possession of the most recently applied shared secret.
This flag indicates that the ability to demonstrate possession of the key material is also sufficient to demonstrate possession of all previously applied shared secrets.
Definition at line 185 of file tlskey.h.