Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/crypto/hmac/
H A Dhmac.c32 unsigned char keytmp[HMAC_MAX_MD_CBLOCK_SIZE]; in HMAC_Init_ex() local
56 if (!ossl_assert(j <= (int)sizeof(keytmp))) in HMAC_Init_ex()
63 || !EVP_DigestFinal_ex(ctx->md_ctx, keytmp, in HMAC_Init_ex()
67 if (len < 0 || len > (int)sizeof(keytmp)) in HMAC_Init_ex()
69 memcpy(keytmp, key, len); in HMAC_Init_ex()
73 memset(&keytmp[keytmp_length], 0, in HMAC_Init_ex()
77 pad[i] = 0x36 ^ keytmp[i]; in HMAC_Init_ex()
84 pad[i] = 0x5c ^ keytmp[i]; in HMAC_Init_ex()
95 OPENSSL_cleanse(keytmp, sizeof(keytmp)); in HMAC_Init_ex()