Lines Matching defs:digest_ctx
279 coap_key_t *digest_ctx = coap_malloc_type(COAP_DIGEST_CTX, sizeof(coap_local_hash_t));
281 if (digest_ctx) {
282 memset(digest_ctx, 0, sizeof(coap_local_hash_t));
285 return digest_ctx;
289 coap_digest_free(coap_digest_ctx_t *digest_ctx) {
290 coap_free_type(COAP_DIGEST_CTX, digest_ctx);
294 coap_digest_update(coap_digest_ctx_t *digest_ctx,
297 coap_local_hash_t *local = (coap_local_hash_t *)digest_ctx;
306 coap_digest_final(coap_digest_ctx_t *digest_ctx,
308 coap_local_hash_t *local = (coap_local_hash_t *)digest_ctx;
312 coap_digest_free(digest_ctx);