Lines Matching refs:key
40 isc_hmacmd5_init(isc_hmacmd5_t *ctx, const unsigned char *key,
43 HMAC_Init(ctx, (const void *) key, (int) len, EVP_md5());
71 * Start HMAC-MD5 process. Initialize an md5 context and digest the key.
74 isc_hmacmd5_init(isc_hmacmd5_t *ctx, const unsigned char *key,
80 memset(ctx->key, 0, sizeof(ctx->key));
81 if (len > sizeof(ctx->key)) {
84 isc_md5_update(&md5ctx, key, len);
85 isc_md5_final(&md5ctx, ctx->key);
87 memcpy(ctx->key, key, len);
92 ipad[i] ^= ctx->key[i];
99 memset(ctx->key, 0, sizeof(ctx->key));
125 opad[i] ^= ctx->key[i];