Lines Matching defs:mac_key
164 EVP_PKEY *mac_key;
176 mac_key = EVP_PKEY_new_mac_key(EVP_PKEY_HMAC, NULL, sec, sec_len);
177 if (!mac_key)
179 if (!EVP_DigestSignInit(&ctx,NULL,md, NULL, mac_key))
181 if (!EVP_DigestSignInit(&ctx_tmp,NULL,md, NULL, mac_key))
199 if (!EVP_DigestSignInit(&ctx,NULL,md, NULL, mac_key))
201 if (!EVP_DigestSignInit(&ctx_tmp,NULL,md, NULL, mac_key))
238 EVP_PKEY_free(mac_key);
339 EVP_PKEY *mac_key;
495 mac_key = EVP_PKEY_new_mac_key(mac_type, NULL,
497 EVP_DigestSignInit(mac_ctx,NULL,m,NULL,mac_key);
498 EVP_PKEY_free(mac_key);