Home
last modified time | relevance | path

Searched refs:krl (Results 1 – 8 of 8) sorted by relevance

/netbsd/src/crypto/external/bsd/openssh/dist/
Dkrl.c138 struct ssh_krl *krl; in ssh_krl_init() local
140 if ((krl = calloc(1, sizeof(*krl))) == NULL) in ssh_krl_init()
142 RB_INIT(&krl->revoked_keys); in ssh_krl_init()
143 RB_INIT(&krl->revoked_sha1s); in ssh_krl_init()
144 RB_INIT(&krl->revoked_sha256s); in ssh_krl_init()
145 TAILQ_INIT(&krl->revoked_certs); in ssh_krl_init()
146 return krl; in ssh_krl_init()
168 ssh_krl_free(struct ssh_krl *krl) in ssh_krl_free() argument
173 if (krl == NULL) in ssh_krl_free()
176 free(krl->comment); in ssh_krl_free()
[all …]
Dkrl.h48 void ssh_krl_free(struct ssh_krl *krl);
49 void ssh_krl_set_version(struct ssh_krl *krl, u_int64_t version);
50 int ssh_krl_set_comment(struct ssh_krl *krl, const char *comment);
51 int ssh_krl_revoke_cert_by_serial(struct ssh_krl *krl,
53 int ssh_krl_revoke_cert_by_serial_range(struct ssh_krl *krl,
55 int ssh_krl_revoke_cert_by_key_id(struct ssh_krl *krl,
57 int ssh_krl_revoke_key_explicit(struct ssh_krl *krl, const struct sshkey *key);
58 int ssh_krl_revoke_key_sha1(struct ssh_krl *krl, const u_char *p, size_t len);
59 int ssh_krl_revoke_key_sha256(struct ssh_krl *krl, const u_char *p, size_t len);
60 int ssh_krl_revoke_key(struct ssh_krl *krl, const struct sshkey *key);
[all …]
Dssh-keygen.c2292 const struct sshkey *ca, struct ssh_krl *krl) in update_krl_from_file() argument
2370 if (ssh_krl_revoke_cert_by_serial_range(krl, in update_krl_from_file()
2381 if (ssh_krl_revoke_cert_by_key_id(krl, ca, cp) != 0) in update_krl_from_file()
2387 r = ssh_krl_revoke_key_sha256(krl, blob, blen); in update_krl_from_file()
2413 r = ssh_krl_revoke_key_explicit(krl, key); in update_krl_from_file()
2420 r = ssh_krl_revoke_key_sha1(krl, blob, blen); in update_krl_from_file()
2427 r = ssh_krl_revoke_key_sha256(krl, blob, blen); in update_krl_from_file()
2429 r = ssh_krl_revoke_key(krl, key); in update_krl_from_file()
2449 struct ssh_krl *krl; in do_gen_krl() local
2477 load_krl(identity_file, &krl); in do_gen_krl()
[all …]
DPROTOCOL.krl222 $OpenBSD: PROTOCOL.krl,v 1.7 2023/07/17 04:01:10 djm Exp $
DPROTOCOL782 format is described in the PROTOCOL.krl file.
/netbsd/src/crypto/external/bsd/heimdal/dist/lib/hcrypto/
Dcamellia-ntt.c141 #define CAMELLIA_FLS(ll, lr, rl, rr, kll, klr, krl, krr, t0, t1, t2, t3) \ argument
153 t3 = krl; \
455 u32 kll, klr, krl, krr; in camellia_setup128() local
466 krl = GETU32(key + 8); in camellia_setup128()
472 subl(1) = krl; subr(1) = krr; in camellia_setup128()
473 CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 15); in camellia_setup128()
475 subl(5) = krl; subr(5) = krr; in camellia_setup128()
476 CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 30); in camellia_setup128()
478 subl(11) = krl; subr(11) = krr; in camellia_setup128()
479 CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 15); in camellia_setup128()
[all …]
/netbsd/src/sys/crypto/camellia/
Dcamellia.c125 #define CAMELLIA_FLS(ll, lr, rl, rr, kll, klr, krl, krr, t0, t1, t2, t3) \ argument
133 t3 = krl; \
439 uint32_t kll, klr, krl, krr; in camellia_setup128() local
450 krl = GETU32(key + 8); in camellia_setup128()
456 subl(1) = krl; subr(1) = krr; in camellia_setup128()
457 CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 15); in camellia_setup128()
459 subl(5) = krl; subr(5) = krr; in camellia_setup128()
460 CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 30); in camellia_setup128()
462 subl(11) = krl; subr(11) = krr; in camellia_setup128()
463 CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 15); in camellia_setup128()
[all …]
/netbsd/src/crypto/external/bsd/openssh/lib/
DMakefile44 krl.c \