Lines Matching defs:hmackey
52 EVP_PKEY *hmackey = NULL;
72 hmackey = EVP_PKEY_new_mac_key(EVP_PKEY_HMAC, NULL, key, keylen);
73 if (!hmackey) return ENOMEM;
135 ret = EVP_DigestSignInit(mdctx, NULL, digest, NULL, hmackey);
163 EVP_PKEY_free(hmackey);
174 EVP_PKEY *hmackey = NULL;
195 hmackey = EVP_PKEY_new_mac_key(EVP_PKEY_HMAC, NULL, key, keylen);
196 if (!hmackey) return ENOMEM;
220 ret = EVP_DigestSignInit(mdctx, NULL, digest, NULL, hmackey);
286 EVP_PKEY_free(hmackey);