Lines Matching refs:sshbuf_len
355 if (sshbuf_len(b) == 0) in sshkey_xmss_deserialize_pk_info()
623 POKE_U32(buf, sshbuf_len(enc)); in sshkey_xmss_update_state()
630 if (atomicio(vwrite, fd, sshbuf_mutable_ptr(enc), sshbuf_len(enc)) != in sshkey_xmss_update_state()
631 sshbuf_len(enc)) { in sshkey_xmss_update_state()
939 while (sshbuf_len(padded) % blocksize) { in sshkey_xmss_encrypt_state()
943 encrypted_len = sshbuf_len(padded); in sshkey_xmss_encrypt_state()
948 aadlen = sshbuf_len(encoded); in sshkey_xmss_encrypt_state()
1020 if (sshbuf_len(encoded) < sizeof(XMSS_MAGIC) || in sshkey_xmss_decrypt_state()
1037 if (sshbuf_len(encoded) < authlen || in sshkey_xmss_decrypt_state()
1038 sshbuf_len(encoded) - authlen < encrypted_len) { in sshkey_xmss_decrypt_state()
1043 aadlen = sshbuf_len(copy) - sshbuf_len(encoded); in sshkey_xmss_decrypt_state()
1060 if (sshbuf_len(encoded) != 0) { in sshkey_xmss_decrypt_state()