| /netbsd-src/sys/external/isc/libsodium/dist/test/default/ |
| H A D | sodium_utils.c | 12 unsigned char nonce[24]; in main() local 33 memset(nonce, 0, sizeof nonce); in main() 34 sodium_increment(nonce, sizeof nonce); in main() 36 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main() 37 memset(nonce, 255, sizeof nonce); in main() 38 sodium_increment(nonce, sizeof nonce); in main() 40 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main() 41 nonce[1] = 1U; in main() 42 sodium_increment(nonce, sizeof nonce); in main() 44 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main() [all …]
|
| H A D | xchacha20.c | 85 const char nonce[crypto_stream_xchacha20_NONCEBYTES * 2 + 1]; member 107 unsigned char *nonce; in tv_stream_xchacha20() local 114 nonce = (unsigned char *) sodium_malloc(crypto_stream_xchacha20_NONCEBYTES); in tv_stream_xchacha20() 121 sodium_hex2bin(nonce, crypto_stream_xchacha20_NONCEBYTES, in tv_stream_xchacha20() 122 tv->nonce, strlen(tv->nonce), NULL, NULL, NULL); in tv_stream_xchacha20() 126 crypto_stream_xchacha20(out2, out_len, nonce, key); in tv_stream_xchacha20() 128 crypto_stream_xchacha20_xor(out2, out, out_len, nonce, key); in tv_stream_xchacha20() 130 crypto_stream_xchacha20_xor_ic(out2, out, out_len, nonce, 0, key); in tv_stream_xchacha20() 132 crypto_stream_xchacha20_xor_ic(out2, out, out_len, nonce, 1, key); in tv_stream_xchacha20() 134 crypto_stream_xchacha20_xor(out, out, out_len, nonce, key); in tv_stream_xchacha20() [all …]
|
| H A D | chacha20.c | 23 unsigned char nonce[crypto_stream_chacha20_NONCEBYTES]; in tv() local 35 sodium_hex2bin(nonce, sizeof nonce, tests[i].nonce_hex, in tv() 37 crypto_stream_chacha20(out, sizeof out, nonce, key); in tv() 42 crypto_stream_chacha20_xor(part, out, plen, nonce, key); in tv() 52 crypto_stream_chacha20(out, plen, nonce, key); in tv() 57 crypto_stream_chacha20(out, sizeof out, nonce, key); in tv() 61 assert(crypto_stream_chacha20(out, 0U, nonce, key) == 0); in tv() 62 assert(crypto_stream_chacha20_xor(out, out, 0U, nonce, key) == 0); in tv() 63 assert(crypto_stream_chacha20_xor(out, out, 0U, nonce, key) == 0); in tv() 64 assert(crypto_stream_chacha20_xor_ic(out, out, 0U, nonce, 1U, key) == 0); in tv() [all …]
|
| H A D | box_easy2.c | 19 unsigned char *nonce; in main() local 42 nonce = (unsigned char *) sodium_malloc(crypto_box_NONCEBYTES); in main() 49 randombytes_buf(nonce, crypto_box_NONCEBYTES); in main() 50 ret = crypto_box_easy(c, m, mlen, nonce, bobpk, alicesk); in main() 54 nonce, alicepk, bobsk) != 0) { in main() 61 if (crypto_box_open_easy(m2, c, (unsigned long long) i, nonce, alicepk, in main() 69 crypto_box_easy(c, c, (unsigned long long) mlen, nonce, bobpk, alicesk); in main() 75 nonce, alicepk, bobsk) != 0) { in main() 91 if (crypto_box_easy_afternm(c, m, 0, nonce, k1) != 0) { in main() 96 crypto_box_easy_afternm(c, m, (unsigned long long) mlen, nonce, k1); in main() [all …]
|
| H A D | aead_chacha20poly1305.c | 20 static const unsigned char nonce[crypto_aead_chacha20poly1305_NPUBBYTES] in tv() local 35 NULL, nonce, firstkey); in tv() 49 NULL, nonce, firstkey); in tv() 59 nonce, firstkey) != 0) { in tv() 72 nonce, firstkey) == 0); in tv() 76 nonce, firstkey) != 0) { in tv() 86 ad, ADLEN, nonce, firstkey) in tv() 94 NULL, 0U, NULL, nonce, firstkey); in tv() 107 NULL, 0U, nonce, firstkey) != 0) { in tv() 120 NULL, 0U, nonce, firstkey) != -1) { in tv() [all …]
|
| H A D | secretbox_easy2.c | 11 unsigned char *nonce; in main() local 21 nonce = (unsigned char *) sodium_malloc(crypto_secretbox_NONCEBYTES); in main() 26 randombytes_buf(nonce, crypto_secretbox_NONCEBYTES); in main() 27 crypto_secretbox_easy(c, m, (unsigned long long) mlen, nonce, k); in main() 29 m2, c, (unsigned long long) mlen + crypto_secretbox_MACBYTES, nonce, in main() 36 if (crypto_secretbox_open_easy(m2, c, (unsigned long long) i, nonce, in main() 42 crypto_secretbox_detached(c, mac, m, (unsigned long long) mlen, nonce, k); in main() 44 nonce, k) != 0) { in main() 48 nonce, k) != 0) { in main() 54 crypto_secretbox_easy(c, c, (unsigned long long) mlen, nonce, k); in main() [all …]
|
| H A D | secretbox_easy.c | 11 static unsigned char nonce[24] = { 0x69, 0x69, 0x6e, 0xe9, 0x55, 0xb6, variable 41 crypto_secretbox_easy(c, m, 131, nonce, firstkey); in main() 47 crypto_secretbox_detached(c, mac, m, 131, nonce, firstkey); in main() 59 crypto_secretbox_easy(c, c + 1, 131, nonce, firstkey); in main() 66 crypto_secretbox_easy(c + 1, c, 131, nonce, firstkey); in main() 73 crypto_secretbox_easy(c, c, 131, nonce, firstkey); in main() 79 assert(crypto_secretbox_easy(c, m, 0, nonce, firstkey) == 0); in main() 83 crypto_secretbox_easy(c, c, 0, nonce, firstkey); in main() 88 if (crypto_secretbox_open_easy(c, c, crypto_secretbox_MACBYTES, nonce, in main() 97 if (crypto_secretbox_open_easy(c, c, crypto_secretbox_MACBYTES, nonce, in main() [all …]
|
| H A D | aead_xchacha20poly1305.c | 25 static const unsigned char nonce[crypto_aead_xchacha20poly1305_ietf_NPUBBYTES] in tv() local 44 NULL, nonce, firstkey); in tv() 59 NULL, nonce, firstkey); in tv() 68 ADLEN, nonce, firstkey) != 0) { in tv() 81 nonce, firstkey) != 0) { in tv() 91 ad, ADLEN, nonce, firstkey) in tv() 98 NULL, 0U, NULL, nonce, firstkey); in tv() 110 NULL, 0U, nonce, firstkey) != 0) { in tv() 123 NULL, 0U, nonce, firstkey) != -1) { in tv() 132 nonce, firstkey) != -1) { in tv() [all …]
|
| H A D | secretbox.c | 11 static unsigned char nonce[24] = { 0x69, 0x69, 0x6e, 0xe9, 0x55, 0xb6, variable 41 crypto_secretbox(c, m, 163, nonce, firstkey); in main() 50 crypto_secretbox(c, c, 163, nonce, firstkey); in main() 58 assert(crypto_secretbox(c, c, 31, nonce, firstkey) == -1); in main() 59 assert(crypto_secretbox(c, c, 12, nonce, firstkey) == -1); in main() 60 assert(crypto_secretbox(c, c, 1, nonce, firstkey) == -1); in main() 61 assert(crypto_secretbox(c, c, 0, nonce, firstkey) == -1); in main()
|
| H A D | secretbox2.c | 11 static unsigned char nonce[24] = { 0x69, 0x69, 0x6e, 0xe9, 0x55, 0xb6, variable 41 if (crypto_secretbox_open(m, c, 163, nonce, firstkey) == 0) { in main() 49 assert(crypto_secretbox_open(m, c, 31, nonce, firstkey) == -1); in main() 50 assert(crypto_secretbox_open(m, c, 16, nonce, firstkey) == -1); in main() 51 assert(crypto_secretbox_open(m, c, 1, nonce, firstkey) == -1); in main() 52 assert(crypto_secretbox_open(m, c, 0, nonce, firstkey) == -1); in main()
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/modes/ |
| H A D | ccm128.c | 30 memset(ctx->nonce.c, 0, sizeof(ctx->nonce.c)); in CRYPTO_ccm128_init() 31 ctx->nonce.c[0] = ((u8)(L - 1) & 7) | (u8)(((M - 2) / 2) & 7) << 3; in CRYPTO_ccm128_init() 41 const unsigned char *nonce, size_t nlen, size_t mlen) in CRYPTO_ccm128_setiv() argument 43 unsigned int L = ctx->nonce.c[0] & 7; /* the L parameter */ in CRYPTO_ccm128_setiv() 49 ctx->nonce.c[8] = (u8)(mlen >> (56 % (sizeof(mlen) * 8))); in CRYPTO_ccm128_setiv() 50 ctx->nonce.c[9] = (u8)(mlen >> (48 % (sizeof(mlen) * 8))); in CRYPTO_ccm128_setiv() 51 ctx->nonce.c[10] = (u8)(mlen >> (40 % (sizeof(mlen) * 8))); in CRYPTO_ccm128_setiv() 52 ctx->nonce.c[11] = (u8)(mlen >> (32 % (sizeof(mlen) * 8))); in CRYPTO_ccm128_setiv() 54 ctx->nonce.u[1] = 0; in CRYPTO_ccm128_setiv() 56 ctx->nonce.c[12] = (u8)(mlen >> 24); in CRYPTO_ccm128_setiv() [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/modes/ |
| H A D | ccm128.c | 30 memset(ctx->nonce.c, 0, sizeof(ctx->nonce.c)); in CRYPTO_ccm128_init() 31 ctx->nonce.c[0] = ((u8)(L - 1) & 7) | (u8)(((M - 2) / 2) & 7) << 3; in CRYPTO_ccm128_init() 41 const unsigned char *nonce, size_t nlen, size_t mlen) in CRYPTO_ccm128_setiv() argument 43 unsigned int L = ctx->nonce.c[0] & 7; /* the L parameter */ in CRYPTO_ccm128_setiv() 49 ctx->nonce.c[8] = (u8)(mlen >> (56 % (sizeof(mlen) * 8))); in CRYPTO_ccm128_setiv() 50 ctx->nonce.c[9] = (u8)(mlen >> (48 % (sizeof(mlen) * 8))); in CRYPTO_ccm128_setiv() 51 ctx->nonce.c[10] = (u8)(mlen >> (40 % (sizeof(mlen) * 8))); in CRYPTO_ccm128_setiv() 52 ctx->nonce.c[11] = (u8)(mlen >> (32 % (sizeof(mlen) * 8))); in CRYPTO_ccm128_setiv() 54 ctx->nonce.u[1] = 0; in CRYPTO_ccm128_setiv() 56 ctx->nonce.c[12] = (u8)(mlen >> 24); in CRYPTO_ccm128_setiv() [all …]
|
| /netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/ |
| H A D | tspi_maint.c | 147 TCPA_NONCE nonce; in Tspi_TPM_LoadMaintenancePubKey() local 157 (BYTE **)nonce.nonce))) in Tspi_TPM_LoadMaintenancePubKey() 160 if (pValidationData->ulExternalDataLength < sizeof(nonce.nonce)) in Tspi_TPM_LoadMaintenancePubKey() 163 memcpy(&nonce.nonce, pValidationData->rgbExternalData, sizeof(nonce.nonce)); in Tspi_TPM_LoadMaintenancePubKey() 169 if ((result = TCS_API(tspContext)->LoadManuMaintPub(tspContext, nonce, pubBlobSize, pubBlob, in Tspi_TPM_LoadMaintenancePubKey() 175 Trspi_LoadBlob(&offset, TCPA_SHA1_160_HASH_LEN, hashBlob, (BYTE *)&nonce.nonce); in Tspi_TPM_LoadMaintenancePubKey() 214 TCPA_NONCE nonce; in Tspi_TPM_CheckMaintenancePubKey() local 227 (BYTE **)nonce.nonce))) in Tspi_TPM_CheckMaintenancePubKey() 230 if (pValidationData->ulExternalDataLength < sizeof(nonce.nonce)) in Tspi_TPM_CheckMaintenancePubKey() 233 memcpy(&nonce.nonce, pValidationData->rgbExternalData, sizeof(nonce.nonce)); in Tspi_TPM_CheckMaintenancePubKey() [all …]
|
| H A D | tspi_ek.c | 64 (BYTE **)antiReplay.nonce))) { in Tspi_TPM_CreateEndorsementKey() 69 if (pValidationData->ulExternalDataLength < sizeof(antiReplay.nonce)) in Tspi_TPM_CreateEndorsementKey() 72 memcpy(antiReplay.nonce, pValidationData->rgbExternalData, in Tspi_TPM_CreateEndorsementKey() 73 sizeof(antiReplay.nonce)); in Tspi_TPM_CreateEndorsementKey() 84 result |= Trspi_HashUpdate(&hashCtx, TCPA_SHA1_160_HASH_LEN, antiReplay.nonce); in Tspi_TPM_CreateEndorsementKey() 102 memcpy(&pValidationData->rgbData[ekSize], antiReplay.nonce, in Tspi_TPM_CreateEndorsementKey() 103 sizeof(antiReplay.nonce)); in Tspi_TPM_CreateEndorsementKey() 165 (BYTE **)antiReplay.nonce))) { in Tspi_TPM_GetPubEndorsementKey() 170 if (pValidationData->ulExternalDataLength < sizeof(antiReplay.nonce)) in Tspi_TPM_GetPubEndorsementKey() 173 memcpy(antiReplay.nonce, pValidationData->rgbExternalData, in Tspi_TPM_GetPubEndorsementKey() [all …]
|
| H A D | tsp_auth.c | 95 auth->NonceEven.nonce, in secret_PerformAuth_OIAP() 96 auth->NonceOdd.nonce, in secret_PerformAuth_OIAP() 212 auth->NonceEven.nonce, NULL, 213 nonceEvenOSAP->nonce, 214 auth->NonceOdd.nonce, 20, 262 auth->NonceEven.nonce, 264 nonceEvenOSAP->nonce, 265 auth->NonceOdd.nonce, 20, 327 auth->NonceEven.nonce, 329 nonceEvenOSAP->nonce, [all …]
|
| /netbsd-src/sys/external/isc/libsodium/dist/src/libsodium/crypto_box/ |
| H A D | crypto_box_seal.c | 10 _crypto_box_seal_nonce(unsigned char *nonce, in _crypto_box_seal_nonce() argument 18 crypto_generichash_final(&st, nonce, crypto_box_NONCEBYTES); in _crypto_box_seal_nonce() 27 unsigned char nonce[crypto_box_NONCEBYTES]; in crypto_box_seal() local 36 _crypto_box_seal_nonce(nonce, epk, pk); in crypto_box_seal() 38 nonce, pk, esk); in crypto_box_seal() 41 sodium_memzero(nonce, sizeof nonce); in crypto_box_seal() 51 unsigned char nonce[crypto_box_NONCEBYTES]; in crypto_box_seal_open() local 56 _crypto_box_seal_nonce(nonce, c, pk); in crypto_box_seal_open() 61 nonce, c, sk); in crypto_box_seal_open()
|
| /netbsd-src/sys/external/isc/libsodium/dist/src/libsodium/crypto_box/curve25519xchacha20poly1305/ |
| H A D | box_seal_curve25519xchacha20poly1305.c | 10 _crypto_box_curve25519xchacha20poly1305_seal_nonce(unsigned char *nonce, in _crypto_box_curve25519xchacha20poly1305_seal_nonce() argument 22 crypto_generichash_final(&st, nonce, in _crypto_box_curve25519xchacha20poly1305_seal_nonce() 33 unsigned char nonce[crypto_box_curve25519xchacha20poly1305_NONCEBYTES]; in crypto_box_curve25519xchacha20poly1305_seal() local 42 _crypto_box_curve25519xchacha20poly1305_seal_nonce(nonce, epk, pk); in crypto_box_curve25519xchacha20poly1305_seal() 45 nonce, pk, esk); in crypto_box_curve25519xchacha20poly1305_seal() 48 sodium_memzero(nonce, sizeof nonce); in crypto_box_curve25519xchacha20poly1305_seal() 59 unsigned char nonce[crypto_box_curve25519xchacha20poly1305_NONCEBYTES]; in crypto_box_curve25519xchacha20poly1305_seal_open() local 64 _crypto_box_curve25519xchacha20poly1305_seal_nonce(nonce, c, pk); in crypto_box_curve25519xchacha20poly1305_seal_open() 72 nonce, c, sk); in crypto_box_curve25519xchacha20poly1305_seal_open()
|
| /netbsd-src/crypto/external/bsd/openssl/dist/doc/man3/ |
| H A D | OCSP_request_add1_nonce.pod | 5 OCSP_request_add1_nonce, OCSP_basic_add1_nonce, OCSP_check_nonce, OCSP_copy_nonce - OCSP nonce func… 18 OCSP_request_add1_nonce() adds a nonce of value B<val> and length B<len> to 19 OCSP request B<req>. If B<val> is B<NULL> a random nonce is used. If B<len> 23 it adds a nonce to OCSP basic response B<resp>. 25 OCSP_check_nonce() compares the nonce value in B<req> and B<resp>. 27 OCSP_copy_nonce() copies any nonce value present in B<req> to B<resp>. 34 OCSP_copy_nonce() returns 1 if a nonce was successfully copied, 2 if no nonce 37 OCSP_check_nonce() returns the result of the nonce comparison between B<req> 40 returned. If a nonce is present in the response only 3 is returned. If nonces 41 are present and unequal 0 is returned. If the nonce is present in the request [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man3/ |
| H A D | OCSP_request_add1_nonce.pod | 5 OCSP_request_add1_nonce, OCSP_basic_add1_nonce, OCSP_check_nonce, OCSP_copy_nonce - OCSP nonce func… 18 OCSP_request_add1_nonce() adds a nonce of value B<val> and length B<len> to 19 OCSP request B<req>. If B<val> is B<NULL> a random nonce is used. If B<len> 23 it adds a nonce to OCSP basic response B<resp>. 25 OCSP_check_nonce() compares the nonce value in B<req> and B<resp>. 27 OCSP_copy_nonce() copies any nonce value present in B<req> to B<resp>. 34 OCSP_copy_nonce() returns 1 if a nonce was successfully copied, 2 if no nonce 37 OCSP_check_nonce() returns the result of the nonce comparison between B<req> 40 returned. If a nonce is present in the response only 3 is returned. If nonces 41 are present and unequal 0 is returned. If the nonce is present in the request [all …]
|
| /netbsd-src/external/bsd/unbound/dist/dnscrypt/ |
| H A D | dnscrypt.c | 66 uint8_t nonce[crypto_box_HALF_NONCEBYTES]; member 159 dnsc_nonce_cache_key_hash(const uint8_t nonce[crypto_box_HALF_NONCEBYTES], in dnsc_nonce_cache_key_hash() 164 h = hashlittle(nonce, crypto_box_HALF_NONCEBYTES, h); in dnsc_nonce_cache_key_hash() 180 const uint8_t nonce[crypto_box_HALF_NONCEBYTES], in dnsc_nonce_cache_insert() 192 memcpy(k->nonce, nonce, crypto_box_HALF_NONCEBYTES); in dnsc_nonce_cache_insert() 216 const uint8_t nonce[crypto_box_HALF_NONCEBYTES], in dnsc_nonces_lookup() 224 memcpy(k.nonce, nonce, crypto_box_HALF_NONCEBYTES); in dnsc_nonces_lookup() 252 uint8_t nonce[crypto_box_NONCEBYTES]; in dnscrypt_server_uncurve() local 269 query_header->nonce, in dnscrypt_server_uncurve() 276 query_header->nonce, in dnscrypt_server_uncurve() [all …]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/providers/implementations/ciphers/ |
| H A D | cipher_aes_ccm_hw_s390x.inc | 25 sctx->ccm.s390x.nonce.b[0] = ((ctx->l - 1) & 0x7) 27 memset(sctx->ccm.s390x.nonce.b + 1, 0, sizeof(sctx->ccm.s390x.nonce.b)); 34 const unsigned char *nonce, size_t noncelen, 39 sctx->ccm.s390x.nonce.b[0] &= ~S390X_CCM_AAD_FLAG; 40 sctx->ccm.s390x.nonce.g[1] = mlen; 41 memcpy(sctx->ccm.s390x.nonce.b + 1, nonce, 15 - ctx->l); 58 sctx->ccm.s390x.nonce.b[0] |= S390X_CCM_AAD_FLAG; 90 s390x_kmac(sctx->ccm.s390x.nonce.b, 32, sctx->ccm.s390x.fc, 126 flags = sctx->ccm.s390x.nonce.b[0]; 128 s390x_km(sctx->ccm.s390x.nonce.b, 16, sctx->ccm.s390x.kmac.icv.b, [all …]
|
| /netbsd-src/sys/crypto/chacha/arch/x86/ |
| H A D | chacha_sse2_impl.c | 73 const uint8_t nonce[static 12], in chacha_stream_sse2_impl() 79 chacha_stream_sse2(s, nbytes, blkno, nonce, key, nr); in chacha_stream_sse2_impl() 86 const uint8_t nonce[static 12], in chacha_stream_xor_sse2_impl() 92 chacha_stream_xor_sse2(c, p, nbytes, blkno, nonce, key, nr); in chacha_stream_xor_sse2_impl() 98 const uint8_t nonce[static 24], in xchacha_stream_sse2_impl() 104 xchacha_stream_sse2(s, nbytes, blkno, nonce, key, nr); in xchacha_stream_sse2_impl() 111 const uint8_t nonce[static 24], in xchacha_stream_xor_sse2_impl() 117 xchacha_stream_xor_sse2(c, p, nbytes, blkno, nonce, key, nr); in xchacha_stream_xor_sse2_impl()
|
| /netbsd-src/sys/external/isc/libsodium/dist/src/libsodium/crypto_sign/ed25519/ref10/ |
| H A D | sign.c | 71 unsigned char nonce[64]; in _crypto_sign_ed25519_detached() local 79 _crypto_sign_ed25519_synthetic_r_hv(&hs, nonce, az); in _crypto_sign_ed25519_detached() 86 crypto_hash_sha512_final(&hs, nonce); in _crypto_sign_ed25519_detached() 90 sc25519_reduce(nonce); in _crypto_sign_ed25519_detached() 91 ge25519_scalarmult_base(&R, nonce); in _crypto_sign_ed25519_detached() 101 sc25519_muladd(sig + 32, hram, az, nonce); in _crypto_sign_ed25519_detached() 104 sodium_memzero(nonce, sizeof nonce); in _crypto_sign_ed25519_detached()
|
| /netbsd-src/sys/crypto/chacha/arch/arm/ |
| H A D | chacha_neon.c | 195 const uint8_t nonce[static 12], in chacha_stream_neon() 201 chacha_stream256_neon(s, blkno, nonce, k, chacha_const32, nr); in chacha_stream_neon() 214 le32dec(nonce), in chacha_stream_neon() 215 le32dec(nonce + 4), in chacha_stream_neon() 216 le32dec(nonce + 8) in chacha_stream_neon() 254 const uint8_t nonce[static 12], in chacha_stream_xor_neon() 260 chacha_stream_xor256_neon(s, p, blkno, nonce, k, in chacha_stream_xor_neon() 274 le32dec(nonce), in chacha_stream_xor_neon() 275 le32dec(nonce + 4), in chacha_stream_xor_neon() 276 le32dec(nonce + 8) in chacha_stream_xor_neon() [all …]
|
| H A D | chacha_neon_impl.c | 79 const uint8_t nonce[static 12], in chacha_stream_neon_impl() 85 chacha_stream_neon(s, nbytes, blkno, nonce, key, nr); in chacha_stream_neon_impl() 92 const uint8_t nonce[static 12], in chacha_stream_xor_neon_impl() 98 chacha_stream_xor_neon(c, p, nbytes, blkno, nonce, key, nr); in chacha_stream_xor_neon_impl() 104 const uint8_t nonce[static 24], in xchacha_stream_neon_impl() 110 xchacha_stream_neon(s, nbytes, blkno, nonce, key, nr); in xchacha_stream_neon_impl() 117 const uint8_t nonce[static 24], in xchacha_stream_xor_neon_impl() 123 xchacha_stream_xor_neon(c, p, nbytes, blkno, nonce, key, nr); in xchacha_stream_xor_neon_impl()
|