Skip to content
#

verification

Here are 641 public repositories matching this topic...

mockk
tahina-pro
tahina-pro commented Oct 23, 2019

With some help from @nikswamy , I am trying to write mutually recursive functions with decreases clauses.

Consider the following example: variable-arity trees with a label on each edge.

module L = FStar.List.Tot
noeq type tree =
| Leaf
| Node:
  (labels: list nat) -> // I should probably add a `L.noRepeats` refinement here, but this is irrelevant here
  (children: ((x: nat {x 
jamesbarne
jamesbarne commented Apr 25, 2019

How do I include the Hacl* library in the lib folder when extracting my code to OCaml?

Currently I am stuck with this, which can extract successfully for F* codes only using the F* libraries.

fstar.exe  --z3cliopt 'timeout=600000' --use_hints --use_hint_hashes  --odir out --codegen OCaml <modulename>.fst
OCAMLPATH="../../fstar/bin" ocamlfind opt -package fstarlib -linkpkg -g  out/<m
y-taka-23
y-taka-23 commented Apr 17, 2018

I'm not really sure it's by design or not, LH fails to parse bounds which include the unit literal ().

{-@
    testee :: forall <
                p :: Int -> () -> Int -> Bool
              , q :: Int -> () -> Int -> Bool
              >.
              { n :: Int |- Int<p n ()> <: Int<q n ()> }
              Int
@-}
testee :: Int
testee = 42

Literals of the types

TheDauntless
TheDauntless commented Mar 27, 2020

The controls are worded in a few different ways right now.

Most of them are affirmative:

No sensitive data is written to application logs.

But some are conditional:

The app’s local storage should be wiped after an excessive number of failed authentication attempts.

I propose to rewrite the second type to the first type:

The app’s local storage is wiped after an excessive nu

SimoneCusimano
SimoneCusimano commented Jan 21, 2020

Pre issue-raising checklist

I have already (please mark the applicable with an x):

  • Upgraded to the latest Pact Broker OR
  • Checked the CHANGELOG to see if the issue I am about to raise has been fixed
  • Created an executable example that demonstrates the issue using either a:
    • Dockerfile
    • Git repository with a Travis or Appveyor (or similar) build

Software ve

Paebbels
Paebbels commented Dec 18, 2016

The Sphinx documentation flow was extended by several sphinx and third party extensions. These extensions should be documented along with their modifications. A comprehensive syntax guide should be assembled, to collect all syntax notations at one place instead of dozens of third party documentation websites with partially poor usage descriptions.

Extensions list:

  • Standard Sphinx extensi
marcogario
marcogario commented Sep 29, 2016

Our documentation lives at https://pysmt.readthedocs.io/ .

Possible ideas to improve it:

  • Try to go through the "Getting Started" section. Are all steps clear? Do you manage to run the example on your computer?
  • The Tutorials section needs formatting. The examples live in examples/ and are included using .. literalinclude:: ../examples/basic.py. It would be nice to find a better way to better
nic-hartley
nic-hartley commented Feb 23, 2020

I'm using ed25519-dalek for keygen, signing, and verification, and x25519 for ECDH. How do I convert secret public keys between them?

Take this naive attempt -- it seems like this works fine:

extern crate ed25519_dalek;
extern crate x25519_dalek;
extern crate rand;

use rand::prelude::*;

fn main() {
    let edkey1 = ed25519_dalek::Keypair::generate(&mut thread_rng()).public;

Improve this page

Add a description, image, and links to the verification topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the verification topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.