Searched defs:klen (Results 1 - 2 of 2) sorted by relevance
/dovecot/src/lib-dcrypt/ |
H A D | dcrypt-gnutls.c | 36 size_t klen; member in struct:dcrypt_context_hmac
|
H A D | dcrypt-openssl.c | 120 size_t klen; member in struct:dcrypt_context_hmac 460 ctx->klen = I_MIN(key_len, HMAC_MAX_MD_CBLOCK); 461 ctx->key = p_malloc(ctx->pool, ctx->klen); 462 memcpy(ctx->key, key, ctx->klen); 468 buffer_append(key, ctx->key, ctx->klen); 474 ctx->klen = HMAC_MAX_MD_CBLOCK; 475 ctx->key = p_malloc(ctx->pool, ctx->klen); 476 random_fill(ctx->key, ctx->klen); 494 ec = HMAC_Init_ex(ctx->ctx, ctx->key, ctx->klen, ctx->md, NULL);
|
Completed in 28 milliseconds