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