xref: /openssl/doc/life-cycles/digest.dot (revision 53664908)
1digraph digest {
2    bgcolor="transparent";
3
4    begin [label=start, color="#deeaee", style="filled"];
5    newed [label=newed, fontcolor="#c94c4c", style="solid"];
6    initialised [label=initialised, fontcolor="#c94c4c"];
7    updated [label=updated, fontcolor="#c94c4c"];
8    finaled [label="finaled", fontcolor="#c94c4c"];
9    squeezed [label="squeezed", fontcolor="#c94c4c"];
10    end [label="freed", color="#deeaee", style="filled"];
11
12    begin -> newed [label="EVP_MD_CTX_new"];
13    newed -> initialised [label="EVP_DigestInit", weight=100];
14    initialised -> updated [label="EVP_DigestUpdate", weight=100];
15    updated -> updated [label="EVP_DigestUpdate"];
16    updated -> finaled [label="EVP_DigestFinal", weight=2];
17    updated -> finaled [label="EVP_DigestFinalXOF",
18                        fontcolor="#808080", color="#808080"];
19    updated -> squeezed [label="EVP_DigestSqueeze", weight=3];
20    finaled -> end [label="EVP_MD_CTX_free"];
21    finaled -> newed [label="EVP_MD_CTX_reset", style=dashed,
22                      color="#034f84", fontcolor="#034f84"];
23    updated -> newed [label="EVP_MD_CTX_reset", style=dashed,
24                      color="#034f84", fontcolor="#034f84"];
25    updated -> initialised [label="EVP_DigestInit", style=dashed,
26                            color="#034f84", fontcolor="#034f84"];
27    finaled -> initialised [label="EVP_DigestInit", style=dashed,
28                            color="#034f84", fontcolor="#034f84"];
29    squeezed -> squeezed [label="EVP_DigestSqueeze"];
30    squeezed -> end [label="EVP_MD_CTX_free", weight=1];
31    squeezed -> newed [label="EVP_MD_CTX_reset", style=dashed,
32                      color="#034f84", fontcolor="#034f84"];
33    squeezed -> initialised [label="EVP_DigestInit", style=dashed,
34                            color="#034f84", fontcolor="#034f84"];
35}
36