| 217 | */ |
| 218 | |
| 219 | void |
| 220 | MD5Final(unsigned char digest[static MD5_DIGEST_LENGTH], MD5_CTX *context) |
| 221 | { |
| 222 | /* Do padding. */ |
| 223 | MD5Pad (context); |
| 224 | |
| 225 | /* Store state in digest */ |
| 226 | Encode (digest, context->state, MD5_DIGEST_LENGTH); |
| 227 | |
| 228 | /* Zeroize sensitive information. */ |
| 229 | memset (context, 0, sizeof (*context)); |
| 230 | } |
| 231 | |
| 232 | /* MD5 basic transformation. Transforms state based on block. */ |
| 233 |
no test coverage detected