Home | History | Annotate | Download | only in openssh

Lines Matching full:certblob

64 	buffer_init(&cert->certblob);
185 buffer_free(&cert->certblob);
249 if (buffer_len(&a->certblob) != buffer_len(&b->certblob))
251 if (timingsafe_bcmp(buffer_ptr(&a->certblob), buffer_ptr(&b->certblob),
252 buffer_len(&a->certblob)) != 0)
835 if (buffer_len(&key->cert->certblob) == 0) {
1172 buffer_append(&to->certblob, buffer_ptr(&from->certblob),
1173 buffer_len(&from->certblob));
1340 buffer_append(&key->cert->certblob, blob, blen);
1365 signed_len = buffer_len(&key->cert->certblob) - buffer_len(b);
1434 buffer_ptr(&key->cert->certblob), signed_len)) {
1608 buffer_append(&b, buffer_ptr(&key->cert->certblob),
1609 buffer_len(&key->cert->certblob));
1859 * the signed certblob
1888 buffer_clear(&k->cert->certblob);
1889 buffer_put_cstring(&k->cert->certblob, key_ssh_name(k));
1894 buffer_put_string(&k->cert->certblob, nonce, sizeof(nonce));
1899 buffer_put_bignum2(&k->cert->certblob, k->dsa->p);
1900 buffer_put_bignum2(&k->cert->certblob, k->dsa->q);
1901 buffer_put_bignum2(&k->cert->certblob, k->dsa->g);
1902 buffer_put_bignum2(&k->cert->certblob, k->dsa->pub_key);
1906 buffer_put_cstring(&k->cert->certblob,
1908 buffer_put_ecpoint(&k->cert->certblob,
1915 buffer_put_bignum2(&k->cert->certblob, k->rsa->e);
1916 buffer_put_bignum2(&k->cert->certblob, k->rsa->n);
1920 buffer_clear(&k->cert->certblob);
1927 buffer_put_int64(&k->cert->certblob, k->cert->serial);
1929 buffer_put_int(&k->cert->certblob, k->cert->type);
1930 buffer_put_cstring(&k->cert->certblob, k->cert->key_id);
1935 buffer_put_string(&k->cert->certblob, buffer_ptr(&principals),
1939 buffer_put_int64(&k->cert->certblob, k->cert->valid_after);
1940 buffer_put_int64(&k->cert->certblob, k->cert->valid_before);
1941 buffer_put_string(&k->cert->certblob,
1946 buffer_put_string(&k->cert->certblob,
1953 buffer_put_string(&k->cert->certblob, nonce, sizeof(nonce));
1955 buffer_put_string(&k->cert->certblob, NULL, 0); /* reserved */
1956 buffer_put_string(&k->cert->certblob, ca_blob, ca_len);
1960 if (key_sign(ca, &sig_blob, &sig_len, buffer_ptr(&k->cert->certblob),
1961 buffer_len(&k->cert->certblob)) != 0) {
1963 buffer_clear(&k->cert->certblob);
1967 buffer_put_string(&k->cert->certblob, sig_blob, sig_len);