Lines Matching refs:caddr_t
93 static void ah_none_loop(struct ah_algorithm_state *, caddr_t, size_t);
94 static void ah_none_result(struct ah_algorithm_state *, caddr_t);
97 static void ah_keyed_md5_loop(struct ah_algorithm_state *, caddr_t, size_t);
98 static void ah_keyed_md5_result(struct ah_algorithm_state *, caddr_t);
101 static void ah_keyed_sha1_loop(struct ah_algorithm_state *, caddr_t, size_t);
102 static void ah_keyed_sha1_result(struct ah_algorithm_state *, caddr_t);
105 static void ah_hmac_md5_loop(struct ah_algorithm_state *, caddr_t, size_t);
106 static void ah_hmac_md5_result(struct ah_algorithm_state *, caddr_t);
109 static void ah_hmac_sha1_loop(struct ah_algorithm_state *, caddr_t, size_t);
110 static void ah_hmac_sha1_result(struct ah_algorithm_state *, caddr_t);
115 static void ah_hmac_sha2_256_loop(struct ah_algorithm_state *, caddr_t, size_t);
116 static void ah_hmac_sha2_256_result(struct ah_algorithm_state *, caddr_t);
120 static void ah_hmac_sha2_384_loop(struct ah_algorithm_state *, caddr_t, size_t);
121 static void ah_hmac_sha2_384_result(struct ah_algorithm_state *, caddr_t);
125 static void ah_hmac_sha2_512_loop(struct ah_algorithm_state *, caddr_t, size_t);
126 static void ah_hmac_sha2_512_result(struct ah_algorithm_state *, caddr_t);
244 __unused caddr_t addr,
252 __unused caddr_t addr)
325 caddr_t addr;
337 caddr_t addr;
443 caddr_t addr;
452 SHA1Update(ctxt, (caddr_t)addr, (size_t)len);
458 caddr_t addr;
471 SHA1Final((caddr_t)&digest[0], ctxt);
561 caddr_t addr;
568 ctxt = (MD5_CTX *)(((caddr_t)state->foo) + 128);
575 caddr_t addr;
686 caddr_t addr;
695 SHA1Update(ctxt, (caddr_t)addr, (size_t)len);
701 caddr_t addr;
715 SHA1Final((caddr_t)&digest[0], ctxt);
719 SHA1Update(ctxt, (caddr_t)&digest[0], sizeof(digest));
720 SHA1Final((caddr_t)&digest[0], ctxt);
818 caddr_t addr;
827 SHA256_Update(ctxt, (caddr_t)addr, (size_t)len);
833 caddr_t addr;
847 SHA256_Final((caddr_t)&digest[0], ctxt);
852 SHA256_Update(ctxt, (caddr_t)&digest[0], sizeof(digest));
853 SHA256_Final((caddr_t)&digest[0], ctxt);
951 caddr_t addr;
960 SHA384_Update(ctxt, (caddr_t)addr, (size_t)len);
966 caddr_t addr;
980 SHA384_Final((caddr_t)&digest[0], ctxt);
985 SHA384_Update(ctxt, (caddr_t)&digest[0], sizeof(digest));
986 SHA384_Final((caddr_t)&digest[0], ctxt);
1084 caddr_t addr;
1093 SHA512_Update(ctxt, (caddr_t)addr, (size_t)len);
1099 caddr_t addr;
1113 SHA512_Final((caddr_t)&digest[0], ctxt);
1118 SHA512_Update(ctxt, (caddr_t)&digest[0], sizeof(digest));
1119 SHA512_Final((caddr_t)&digest[0], ctxt);
1145 (algo->update)(algos, mtod(m, caddr_t) + off, len);
1167 (algo->update)(algos, mtod(n, caddr_t) + off, tlen);
1185 caddr_t ahdat;
1225 m_copydata(m, off, sizeof(iphdr), (caddr_t)&iphdr);
1236 (algo->update)(&algos, (caddr_t)&iphdr, sizeof(struct ip));
1258 m_copydata(m, off, hlen, mtod(n, caddr_t));
1345 m_copydata(m, off, sizeof(ah), (caddr_t)&ah);
1373 m_copydata(m, off, totlen, mtod(n, caddr_t));
1375 bzero(mtod(n, caddr_t) + hdrsiz, siz);
1376 (algo->update)(&algos, mtod(n, caddr_t), n->m_len);
1428 caddr_t ahdat;
1475 m_copydata(m, off, newoff - off, (caddr_t)&ip6copy);
1485 (algo->update)(&algos, (caddr_t)&ip6copy,
1524 m_copydata(m, off, newoff - off, mtod(n, caddr_t));
1526 bzero(mtod(n, caddr_t) + hdrsiz, siz);
1527 (algo->update)(&algos, mtod(n, caddr_t), n->m_len);
1559 m_copydata(m, off, newoff - off, mtod(n, caddr_t));
1599 (algo->update)(&algos, mtod(n, caddr_t), n->m_len);