#include <crypto.h>
Data Fields | |
| const char * | name |
| Algorithm name. | |
| size_t | ctxsize |
| Context size. | |
| size_t | blocksize |
| Block size. | |
| size_t | digestsize |
| Digest size. | |
| void(* | init )(void *ctx) |
| Initialise digest. | |
| void(* | update )(void *ctx, const void *src, size_t len) |
| Update digest with new data. | |
| void(* | final )(void *ctx, void *out) |
| Finalise digest. | |
Definition at line 16 of file crypto.h.
| const char* digest_algorithm::name |
Algorithm name.
Definition at line 18 of file crypto.h.
Referenced by chap_init(), tls_p_hash_va(), and tls_select_cipher().
Context size.
Definition at line 20 of file crypto.h.
Referenced by chap_init(), digest_exec(), hmac_reduce_key(), tls_hmac(), tls_p_hash_va(), and tls_verify_handshake().
Block size.
Definition at line 22 of file crypto.h.
Referenced by cbc_decrypt(), cbc_encrypt(), hmac_final(), hmac_init(), and tls_assemble_block().
Digest size.
Definition at line 24 of file crypto.h.
Referenced by chap_init(), digest_exec(), hmac_final(), hmac_reduce_key(), tls_assemble_block(), tls_assemble_stream(), tls_generate_keys(), tls_hmac(), tls_new_ciphertext(), tls_p_hash_va(), tls_send_plaintext(), tls_set_cipher(), tls_split_block(), tls_split_stream(), and tls_verify_handshake().
| void( * digest_algorithm::init)(void *ctx) |
| void( * digest_algorithm::update)(void *ctx, const void *src, size_t len) |
Update digest with new data.
| ctx | Context | |
| src | Data to digest | |
| len | Length of data | |
| len | is not necessarily a multiple of blocksize. |
Referenced by digest_update().
| void( * digest_algorithm::final)(void *ctx, void *out) |
1.5.7.1