Home
last modified time | relevance | path

Searched refs:nonce_len (Results 1 – 25 of 757) sorted by path

12345678910>>...31

/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/ring-0.16.20/src/
H A Daead.rs613 pub fn nonce_len(&self) -> usize { in nonce_len() method
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/ring-0.16.20/tests/
H A Daead_tests.rs315 let nonce_len = aead::NONCE_LEN; in test_aead_nonce_sizes() localVariable
316 let nonce = vec![0u8; nonce_len * 2]; in test_aead_nonce_sizes()
318 assert!(aead::Nonce::try_assume_unique_for_key(&nonce[..nonce_len]).is_ok()); in test_aead_nonce_sizes()
319 assert!(aead::Nonce::try_assume_unique_for_key(&nonce[..(nonce_len - 1)]).is_err()); in test_aead_nonce_sizes()
320 assert!(aead::Nonce::try_assume_unique_for_key(&nonce[..(nonce_len + 1)]).is_err()); in test_aead_nonce_sizes()
321 assert!(aead::Nonce::try_assume_unique_for_key(&nonce[..(nonce_len / 2)]).is_err()); in test_aead_nonce_sizes()
322 assert!(aead::Nonce::try_assume_unique_for_key(&nonce[..(nonce_len * 2)]).is_err()); in test_aead_nonce_sizes()
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/rustls-0.20.2/src/
H A Dticketer.rs90 let nonce = ciphertext.get(..self.alg.nonce_len())?; in decrypt()
/dports/audio/spotifyd/spotifyd-0.3.0/cargo-crates/c2-chacha-0.2.3/src/
H A Drustcrypto_impl.rs127 let nonce_len = nonce.len();
133 len: if nonce_len == 12 { SMALL_LEN } else { BIG_LEN },
134 fresh: nonce_len != 12,
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/dbapi/driver/ftds100/freetds/tds/
H A Dsec_negotiate.c104 size_t rsa_len, nonce_len = 0; in tds5_negotiate_handle_next() local
136 nonce_len = info->columns[2]->column_size; in tds5_negotiate_handle_next()
139 …em = tds5_rsa_encrypt(rsa, rsa_len, nonce, nonce_len, tds_dstr_cstr(&tds->login->password), &em_si… in tds5_negotiate_handle_next()
H A Dsec_negotiate_gnutls.h297 tds5_rsa_encrypt(const void *key, size_t key_len, const void *nonce, size_t nonce_len, const char *… in tds5_rsa_encrypt() argument
314 message_len = nonce_len + pwd_len; in tds5_rsa_encrypt()
318 memcpy(message, nonce, nonce_len); in tds5_rsa_encrypt()
319 memcpy(message + nonce_len, pwd, pwd_len); in tds5_rsa_encrypt()
H A Dsec_negotiate_openssl.h53 tds5_rsa_encrypt(const void *key, size_t key_len, const void *nonce, size_t nonce_len, const char *… in tds5_rsa_encrypt() argument
73 message_len = nonce_len + pwd_len; in tds5_rsa_encrypt()
77 memcpy(message, nonce, nonce_len); in tds5_rsa_encrypt()
78 memcpy(message + nonce_len, pwd, pwd_len); in tds5_rsa_encrypt()
/dports/biology/ncbi-vdb/ncbi-vdb-2.11.0/libs/ext/mbedtls/
H A Dctr_drbg.c372 size_t nonce_len ) in mbedtls_ctr_drbg_reseed_internal() argument
380 if( nonce_len > MBEDTLS_CTR_DRBG_MAX_SEED_INPUT - ctx->entropy_len ) in mbedtls_ctr_drbg_reseed_internal()
382 if( len > MBEDTLS_CTR_DRBG_MAX_SEED_INPUT - ctx->entropy_len - nonce_len ) in mbedtls_ctr_drbg_reseed_internal()
395 if( nonce_len != 0 ) in mbedtls_ctr_drbg_reseed_internal()
397 if( 0 != ctx->f_entropy( ctx->p_entropy, seed, nonce_len ) ) in mbedtls_ctr_drbg_reseed_internal()
401 seedlen += nonce_len; in mbedtls_ctr_drbg_reseed_internal()
463 size_t nonce_len; in vdb_mbedtls_ctr_drbg_seed() local
478 nonce_len = ( ctx->reseed_counter >= 0 ? in vdb_mbedtls_ctr_drbg_seed()
491 nonce_len ) ) != 0 ) in vdb_mbedtls_ctr_drbg_seed()
/dports/biology/sra-tools/sra-tools-2.11.0/ncbi-vdb/libs/ext/mbedtls/
H A Dctr_drbg.c372 size_t nonce_len ) in mbedtls_ctr_drbg_reseed_internal() argument
380 if( nonce_len > MBEDTLS_CTR_DRBG_MAX_SEED_INPUT - ctx->entropy_len ) in mbedtls_ctr_drbg_reseed_internal()
382 if( len > MBEDTLS_CTR_DRBG_MAX_SEED_INPUT - ctx->entropy_len - nonce_len ) in mbedtls_ctr_drbg_reseed_internal()
395 if( nonce_len != 0 ) in mbedtls_ctr_drbg_reseed_internal()
397 if( 0 != ctx->f_entropy( ctx->p_entropy, seed, nonce_len ) ) in mbedtls_ctr_drbg_reseed_internal()
401 seedlen += nonce_len; in mbedtls_ctr_drbg_reseed_internal()
463 size_t nonce_len; in vdb_mbedtls_ctr_drbg_seed() local
478 nonce_len = ( ctx->reseed_counter >= 0 ? in vdb_mbedtls_ctr_drbg_seed()
491 nonce_len ) ) != 0 ) in vdb_mbedtls_ctr_drbg_seed()
/dports/comms/rtl-433/rtl_433-21.12/src/
H A Dmongoose.c7702 const char *nonce, size_t nonce_len, const char *nc, argument
7709 cs_md5(resp, ha1, ha1_len, colon, one, nonce, nonce_len, colon, one, nc,
/dports/databases/freetds-devel/freetds-dev.1.3.7/src/tds/
H A Dsec_negotiate.c92 size_t rsa_len, nonce_len = 0; in tds5_negotiate_handle_next() local
124 nonce_len = info->columns[2]->column_size; in tds5_negotiate_handle_next()
127 …em = tds5_rsa_encrypt(rsa, rsa_len, nonce, nonce_len, tds_dstr_cstr(&tds->login->password), &em_si… in tds5_negotiate_handle_next()
H A Dsec_negotiate_gnutls.h297 tds5_rsa_encrypt(const void *key, size_t key_len, const void *nonce, size_t nonce_len, const char *… in tds5_rsa_encrypt() argument
314 message_len = nonce_len + pwd_len; in tds5_rsa_encrypt()
318 memcpy(message, nonce, nonce_len); in tds5_rsa_encrypt()
319 memcpy(message + nonce_len, pwd, pwd_len); in tds5_rsa_encrypt()
H A Dsec_negotiate_openssl.h53 tds5_rsa_encrypt(const void *key, size_t key_len, const void *nonce, size_t nonce_len, const char *… in tds5_rsa_encrypt() argument
73 message_len = nonce_len + pwd_len; in tds5_rsa_encrypt()
77 memcpy(message, nonce, nonce_len); in tds5_rsa_encrypt()
78 memcpy(message + nonce_len, pwd, pwd_len); in tds5_rsa_encrypt()
/dports/databases/freetds/freetds-1.3.4/src/tds/
H A Dsec_negotiate.c92 size_t rsa_len, nonce_len = 0; in tds5_negotiate_handle_next() local
124 nonce_len = info->columns[2]->column_size; in tds5_negotiate_handle_next()
127 …em = tds5_rsa_encrypt(rsa, rsa_len, nonce, nonce_len, tds_dstr_cstr(&tds->login->password), &em_si… in tds5_negotiate_handle_next()
H A Dsec_negotiate_gnutls.h297 tds5_rsa_encrypt(const void *key, size_t key_len, const void *nonce, size_t nonce_len, const char *… in tds5_rsa_encrypt() argument
314 message_len = nonce_len + pwd_len; in tds5_rsa_encrypt()
318 memcpy(message, nonce, nonce_len); in tds5_rsa_encrypt()
319 memcpy(message + nonce_len, pwd, pwd_len); in tds5_rsa_encrypt()
H A Dsec_negotiate_openssl.h58 tds5_rsa_encrypt(const void *key, size_t key_len, const void *nonce, size_t nonce_len, const char *… in tds5_rsa_encrypt() argument
78 message_len = nonce_len + pwd_len; in tds5_rsa_encrypt()
82 memcpy(message, nonce, nonce_len); in tds5_rsa_encrypt()
83 memcpy(message + nonce_len, pwd, pwd_len); in tds5_rsa_encrypt()
/dports/databases/mariadb104-client/mariadb-10.4.24/extra/wolfssl/wolfssl/wolfcrypt/src/
H A Dchacha20_poly1305.c301 const byte *nonce, word32 nonce_len, in wc_XChaCha20Poly1305_Init() argument
312 (nonce_len != XCHACHA20_POLY1305_AEAD_NONCE_SIZE)) in wc_XChaCha20Poly1305_Init()
317 nonce, nonce_len, in wc_XChaCha20Poly1305_Init()
351 const byte *nonce, const size_t nonce_len, in wc_XChaCha20Poly1305_crypt_oneshot() argument
382 nonce, (word32)nonce_len, in wc_XChaCha20Poly1305_crypt_oneshot()
451 const byte *nonce, const size_t nonce_len, in wc_XChaCha20Poly1305_Encrypt() argument
454 …Poly1305_crypt_oneshot(dst, dst_space, src, src_len, ad, ad_len, nonce, nonce_len, key, key_len, 1… in wc_XChaCha20Poly1305_Encrypt()
461 const byte *nonce, const size_t nonce_len, in wc_XChaCha20Poly1305_Decrypt() argument
464 …Poly1305_crypt_oneshot(dst, dst_space, src, src_len, ad, ad_len, nonce, nonce_len, key, key_len, 0… in wc_XChaCha20Poly1305_Decrypt()
/dports/databases/mariadb104-client/mariadb-10.4.24/extra/wolfssl/wolfssl/wolfssl/wolfcrypt/
H A Dchacha20_poly1305.h140 const byte *nonce, const size_t nonce_len,
147 const byte *nonce, const size_t nonce_len,
/dports/databases/mariadb104-server/mariadb-10.4.24/extra/wolfssl/wolfssl/wolfcrypt/src/
H A Dchacha20_poly1305.c301 const byte *nonce, word32 nonce_len, in wc_XChaCha20Poly1305_Init() argument
312 (nonce_len != XCHACHA20_POLY1305_AEAD_NONCE_SIZE)) in wc_XChaCha20Poly1305_Init()
317 nonce, nonce_len, in wc_XChaCha20Poly1305_Init()
351 const byte *nonce, const size_t nonce_len, in wc_XChaCha20Poly1305_crypt_oneshot() argument
382 nonce, (word32)nonce_len, in wc_XChaCha20Poly1305_crypt_oneshot()
451 const byte *nonce, const size_t nonce_len, in wc_XChaCha20Poly1305_Encrypt() argument
454 …Poly1305_crypt_oneshot(dst, dst_space, src, src_len, ad, ad_len, nonce, nonce_len, key, key_len, 1… in wc_XChaCha20Poly1305_Encrypt()
461 const byte *nonce, const size_t nonce_len, in wc_XChaCha20Poly1305_Decrypt() argument
464 …Poly1305_crypt_oneshot(dst, dst_space, src, src_len, ad, ad_len, nonce, nonce_len, key, key_len, 0… in wc_XChaCha20Poly1305_Decrypt()
/dports/databases/mariadb104-server/mariadb-10.4.24/extra/wolfssl/wolfssl/wolfssl/wolfcrypt/
H A Dchacha20_poly1305.h140 const byte *nonce, const size_t nonce_len,
147 const byte *nonce, const size_t nonce_len,
/dports/databases/mariadb105-client/mariadb-10.5.15/extra/wolfssl/wolfssl/wolfcrypt/src/
H A Dchacha20_poly1305.c301 const byte *nonce, word32 nonce_len, in wc_XChaCha20Poly1305_Init() argument
312 (nonce_len != XCHACHA20_POLY1305_AEAD_NONCE_SIZE)) in wc_XChaCha20Poly1305_Init()
317 nonce, nonce_len, in wc_XChaCha20Poly1305_Init()
351 const byte *nonce, const size_t nonce_len, in wc_XChaCha20Poly1305_crypt_oneshot() argument
382 nonce, (word32)nonce_len, in wc_XChaCha20Poly1305_crypt_oneshot()
451 const byte *nonce, const size_t nonce_len, in wc_XChaCha20Poly1305_Encrypt() argument
454 …Poly1305_crypt_oneshot(dst, dst_space, src, src_len, ad, ad_len, nonce, nonce_len, key, key_len, 1… in wc_XChaCha20Poly1305_Encrypt()
461 const byte *nonce, const size_t nonce_len, in wc_XChaCha20Poly1305_Decrypt() argument
464 …Poly1305_crypt_oneshot(dst, dst_space, src, src_len, ad, ad_len, nonce, nonce_len, key, key_len, 0… in wc_XChaCha20Poly1305_Decrypt()
/dports/databases/mariadb105-client/mariadb-10.5.15/extra/wolfssl/wolfssl/wolfssl/wolfcrypt/
H A Dchacha20_poly1305.h140 const byte *nonce, const size_t nonce_len,
147 const byte *nonce, const size_t nonce_len,
/dports/databases/mariadb105-server/mariadb-10.5.15/extra/wolfssl/wolfssl/wolfcrypt/src/
H A Dchacha20_poly1305.c301 const byte *nonce, word32 nonce_len, in wc_XChaCha20Poly1305_Init() argument
312 (nonce_len != XCHACHA20_POLY1305_AEAD_NONCE_SIZE)) in wc_XChaCha20Poly1305_Init()
317 nonce, nonce_len, in wc_XChaCha20Poly1305_Init()
351 const byte *nonce, const size_t nonce_len, in wc_XChaCha20Poly1305_crypt_oneshot() argument
382 nonce, (word32)nonce_len, in wc_XChaCha20Poly1305_crypt_oneshot()
451 const byte *nonce, const size_t nonce_len, in wc_XChaCha20Poly1305_Encrypt() argument
454 …Poly1305_crypt_oneshot(dst, dst_space, src, src_len, ad, ad_len, nonce, nonce_len, key, key_len, 1… in wc_XChaCha20Poly1305_Encrypt()
461 const byte *nonce, const size_t nonce_len, in wc_XChaCha20Poly1305_Decrypt() argument
464 …Poly1305_crypt_oneshot(dst, dst_space, src, src_len, ad, ad_len, nonce, nonce_len, key, key_len, 0… in wc_XChaCha20Poly1305_Decrypt()
/dports/databases/mariadb105-server/mariadb-10.5.15/extra/wolfssl/wolfssl/wolfssl/wolfcrypt/
H A Dchacha20_poly1305.h140 const byte *nonce, const size_t nonce_len,
147 const byte *nonce, const size_t nonce_len,
/dports/databases/proftpd-mod_sql_mysql/proftpd-1.3.7c/contrib/mod_sftp/
H A Dmac.c281 uint32_t nonce_len = 0; in get_mac() local
295 nonce_len = sizeof(nonce); in get_mac()
296 sftp_msg_write_long(&nonce_ptr, &nonce_len, pkt->seqno); in get_mac()

12345678910>>...31