tls_cipherspec Struct Reference

A TLS cipher specification. More...

#include <tls.h>


Data Fields

struct pubkey_algorithmpubkey
 Public-key encryption algorithm.
struct cipher_algorithmcipher
 Bulk encryption cipher algorithm.
struct digest_algorithmdigest
 MAC digest algorithm.
size_t key_len
 Key length.
void * dynamic
 Dynamically-allocated storage.
void * pubkey_ctx
 Public key encryption context.
void * cipher_ctx
 Bulk encryption cipher context.
void * cipher_next_ctx
 Next bulk encryption cipher context (TX only).
void * mac_secret
 MAC secret.


Detailed Description

A TLS cipher specification.

Definition at line 94 of file tls.h.


Field Documentation

Public-key encryption algorithm.

Definition at line 96 of file tls.h.

Referenced by tls_clear_cipher(), and tls_set_cipher().

Key length.

Definition at line 102 of file tls.h.

Referenced by tls_generate_keys(), and tls_set_cipher().

Dynamically-allocated storage.

Definition at line 104 of file tls.h.

Referenced by tls_clear_cipher(), and tls_set_cipher().

Public key encryption context.

Definition at line 106 of file tls.h.

Referenced by tls_set_cipher().

Bulk encryption cipher context.

Definition at line 108 of file tls.h.

Referenced by tls_generate_keys(), tls_new_ciphertext(), tls_send_plaintext(), and tls_set_cipher().

Next bulk encryption cipher context (TX only).

Definition at line 110 of file tls.h.

Referenced by tls_send_plaintext(), and tls_set_cipher().

MAC secret.

Definition at line 112 of file tls.h.

Referenced by tls_generate_keys(), tls_hmac(), and tls_set_cipher().


The documentation for this struct was generated from the following file:

Generated on Tue Apr 6 20:02:10 2010 for gPXE by  doxygen 1.5.7.1