Beispiel #1
0
 public static int crypto_aead_chacha20poly1305_encrypt(
     byte *c,
     ulong *clen,
     byte *m,
     ulong mlen,
     byte *ad,
     ulong adlen,
     byte *nsec,
     byte *npub,
     byte *k)
 {
     return(_is32bits
         ? X86.crypto_aead_chacha20poly1305_encrypt(
                c, clen, m, mlen, ad, adlen, nsec, npub, k)
         : X64.crypto_aead_chacha20poly1305_encrypt(
                c, clen, m, mlen, ad, adlen, nsec, npub, k));
 }