Lines Matching refs:pubkey
90 const struct iovec *pubkey)
98 VERIFY(pubkey != NULL && pubkey->iov_base != NULL);
110 SHA1Update(&ctx, pubkey->iov_base, pubkey->iov_len);
125 const struct iovec *pubkey, u_int8_t collisions, struct in6_addr *in6)
132 VERIFY(pubkey != NULL && pubkey->iov_base != NULL);
139 SHA1Update(&ctx, pubkey->iov_base, pubkey->iov_len);
188 struct iovec privkey, pubkey;
199 pubkey = cfg->cga_pubkey;
200 if (pubkey.iov_base == NULL || pubkey.iov_len == 0 ||
201 pubkey.iov_len >= IN6_CGA_KEY_MAXSIZE)
205 if (!in6_cga_is_prepare_valid(prepare, &pubkey))
214 MALLOC(pubkeycopy, caddr_t, pubkey.iov_len, M_IP6CGA, M_WAITOK);
227 bcopy(pubkey.iov_base, pubkeycopy, pubkey.iov_len);
228 pubkey.iov_base = pubkeycopy;
231 in6_cga.cga_pubkey = pubkey;
304 const struct iovec *pubkey;
312 pubkey = &in6_cga.cga_pubkey;
314 if (pubkey->iov_base != NULL) {
315 in6_cga_generate_iid(prepare, pubkey, collisions, in6);