Home
last modified time | relevance | path

Searched refs:pad (Results 1 – 2 of 2) sorted by relevance

/net-tools-latest/tinydtls-0.8.2/
Dhmac.c104 dtls_hash_finalize(ctx->pad, &ctx->data); in dtls_hmac_init()
106 memcpy(ctx->pad, key, klen); in dtls_hmac_init()
110 ctx->pad[i] ^= 0x36; in dtls_hmac_init()
113 dtls_hmac_update(ctx, ctx->pad, DTLS_HMAC_BLOCKSIZE); in dtls_hmac_init()
117 ctx->pad[i] ^= 0x6A; in dtls_hmac_init()
137 dtls_hash_update(&ctx->data, ctx->pad, DTLS_HMAC_BLOCKSIZE); in dtls_hmac_finalize()
Dhmac.h96 unsigned char pad[DTLS_HMAC_BLOCKSIZE]; /**< ipad and opad storage */ member