Home | History | Annotate | Download | only in util

Lines Matching refs:HMAC

21 #include "crypto/hmac.h"
27 using crypto::HMAC;
146 HMAC hmac(HMAC::SHA256);
147 if (!hmac.Init(raw_mac_key))
151 if (!hmac.Sign(ciphertext, &hash[0], hash.size()))
187 HMAC hmac(HMAC::SHA256);
188 if (!hmac.Init(raw_mac_key))
192 if (!hmac.Sign(ciphertext, &hash[0], hash.size()))
224 HMAC hmac(HMAC::SHA256);
225 if (!hmac.Init(raw_mac_key))
229 if (!hmac.Sign(ciphertext, &expected[0], expected.size()))