Home
last modified time | relevance | path

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

/openssl/crypto/hmac/
H A Dhmac.c32 unsigned char keytmp[HMAC_MAX_MD_CBLOCK_SIZE]; in HMAC_Init_ex() local
62 if (!ossl_assert(j <= (int)sizeof(keytmp))) in HMAC_Init_ex()
69 || !EVP_DigestFinal_ex(ctx->md_ctx, keytmp, in HMAC_Init_ex()
73 if (len < 0 || len > (int)sizeof(keytmp)) in HMAC_Init_ex()
75 memcpy(keytmp, key, len); in HMAC_Init_ex()
79 memset(&keytmp[keytmp_length], 0, in HMAC_Init_ex()
83 pad[i] = 0x36 ^ keytmp[i]; in HMAC_Init_ex()
90 pad[i] = 0x5c ^ keytmp[i]; in HMAC_Init_ex()
101 OPENSSL_cleanse(keytmp, sizeof(keytmp)); in HMAC_Init_ex()

Completed in 4 milliseconds