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