| 1157 | } |
| 1158 | |
| 1159 | apr_status_t md_crypt_sha256_digest_hex(const char **pdigesthex, apr_pool_t *p, |
| 1160 | const md_data_t *data) |
| 1161 | { |
| 1162 | md_data_t *digest; |
| 1163 | apr_status_t rv; |
| 1164 | |
| 1165 | if (APR_SUCCESS == (rv = sha256_digest(&digest, p, data))) { |
| 1166 | return md_data_to_hex(pdigesthex, 0, p, digest); |
| 1167 | } |
| 1168 | *pdigesthex = NULL; |
| 1169 | return rv; |
| 1170 | } |
| 1171 | |
| 1172 | apr_status_t md_crypt_hmac64(const char **pmac64, const md_data_t *hmac_key, |
| 1173 | apr_pool_t *p, const char *d, size_t dlen) |
no test coverage detected