Home | History | Annotate | Download | only in crypto

Lines Matching defs:sha1

20 #include "sha1.h"
60 struct SHA1Context sha1;
86 SHA1Init(&ctx->u.sha1);
108 SHA1Init(&ctx->u.sha1);
109 SHA1Update(&ctx->u.sha1, key, key_len);
110 SHA1Final(tk, &ctx->u.sha1);
121 SHA1Init(&ctx->u.sha1);
122 SHA1Update(&ctx->u.sha1, k_pad, sizeof(k_pad));
145 SHA1Update(&ctx->u.sha1, data, len);
181 SHA1Final(mac, &ctx->u.sha1);
211 SHA1Final(mac, &ctx->u.sha1);
218 SHA1Init(&ctx->u.sha1);
219 SHA1Update(&ctx->u.sha1, k_pad, sizeof(k_pad));
220 SHA1Update(&ctx->u.sha1, mac, 20);
221 SHA1Final(mac, &ctx->u.sha1);