| 56 | } |
| 57 | |
| 58 | static bool ta_path(char *out, const char *dir, const char *name) { |
| 59 | int n = snprintf(out, TA_PATH_CAP, "%s/%s", dir, name); |
| 60 | return n > 0 && n < TA_PATH_CAP; |
| 61 | } |
| 62 | |
| 63 | /* A length-prefixed frame, so no field can run into the next. */ |
| 64 | static void ta_frame(cbm_sha256_ctx *ctx, const void *bytes, uint64_t length) { |
no outgoing calls
no test coverage detected