Home
last modified time | relevance | path

Searched refs:iv_sz (Results 1 – 20 of 20) sorted by relevance

/dports/databases/proftpd-mod_sql_odbc/proftpd-1.3.7c/contrib/mod_sftp/
H A Dcipher.c162 size_t cipher_iv_len = 0, iv_sz = 0; in set_cipher_iv() local
175 iv_sz = sftp_crypto_get_size(cipher_iv_len, EVP_MD_size(hash)); in set_cipher_iv()
178 iv_sz = EVP_MD_size(hash); in set_cipher_iv()
181 if (iv_sz == 0) { in set_cipher_iv()
188 iv = malloc(iv_sz); in set_cipher_iv()
208 while (iv_sz > iv_len) { in set_cipher_iv()
/dports/databases/proftpd-mod_sql_sqlite/proftpd-1.3.7c/contrib/mod_sftp/
H A Dcipher.c162 size_t cipher_iv_len = 0, iv_sz = 0; in set_cipher_iv() local
175 iv_sz = sftp_crypto_get_size(cipher_iv_len, EVP_MD_size(hash)); in set_cipher_iv()
178 iv_sz = EVP_MD_size(hash); in set_cipher_iv()
181 if (iv_sz == 0) { in set_cipher_iv()
188 iv = malloc(iv_sz); in set_cipher_iv()
208 while (iv_sz > iv_len) { in set_cipher_iv()
/dports/databases/proftpd-mod_sql_postgres/proftpd-1.3.7c/contrib/mod_sftp/
H A Dcipher.c162 size_t cipher_iv_len = 0, iv_sz = 0; in set_cipher_iv() local
175 iv_sz = sftp_crypto_get_size(cipher_iv_len, EVP_MD_size(hash)); in set_cipher_iv()
178 iv_sz = EVP_MD_size(hash); in set_cipher_iv()
181 if (iv_sz == 0) { in set_cipher_iv()
188 iv = malloc(iv_sz); in set_cipher_iv()
208 while (iv_sz > iv_len) { in set_cipher_iv()
/dports/databases/proftpd-mod_sql_mysql/proftpd-1.3.7c/contrib/mod_sftp/
H A Dcipher.c162 size_t cipher_iv_len = 0, iv_sz = 0; in set_cipher_iv() local
175 iv_sz = sftp_crypto_get_size(cipher_iv_len, EVP_MD_size(hash)); in set_cipher_iv()
178 iv_sz = EVP_MD_size(hash); in set_cipher_iv()
181 if (iv_sz == 0) { in set_cipher_iv()
188 iv = malloc(iv_sz); in set_cipher_iv()
208 while (iv_sz > iv_len) { in set_cipher_iv()
/dports/databases/proftpd-mod_sql_tds/proftpd-1.3.7c/contrib/mod_sftp/
H A Dcipher.c162 size_t cipher_iv_len = 0, iv_sz = 0; in set_cipher_iv() local
175 iv_sz = sftp_crypto_get_size(cipher_iv_len, EVP_MD_size(hash)); in set_cipher_iv()
178 iv_sz = EVP_MD_size(hash); in set_cipher_iv()
181 if (iv_sz == 0) { in set_cipher_iv()
188 iv = malloc(iv_sz); in set_cipher_iv()
208 while (iv_sz > iv_len) { in set_cipher_iv()
/dports/net/proftpd-mod_ldap/proftpd-1.3.7c/contrib/mod_sftp/
H A Dcipher.c162 size_t cipher_iv_len = 0, iv_sz = 0; in set_cipher_iv() local
175 iv_sz = sftp_crypto_get_size(cipher_iv_len, EVP_MD_size(hash)); in set_cipher_iv()
178 iv_sz = EVP_MD_size(hash); in set_cipher_iv()
181 if (iv_sz == 0) { in set_cipher_iv()
188 iv = malloc(iv_sz); in set_cipher_iv()
208 while (iv_sz > iv_len) { in set_cipher_iv()
/dports/security/proftpd-mod_clamav/proftpd-1.3.7c/contrib/mod_sftp/
H A Dcipher.c162 size_t cipher_iv_len = 0, iv_sz = 0; in set_cipher_iv() local
175 iv_sz = sftp_crypto_get_size(cipher_iv_len, EVP_MD_size(hash)); in set_cipher_iv()
178 iv_sz = EVP_MD_size(hash); in set_cipher_iv()
181 if (iv_sz == 0) { in set_cipher_iv()
188 iv = malloc(iv_sz); in set_cipher_iv()
208 while (iv_sz > iv_len) { in set_cipher_iv()
/dports/ftp/proftpd/proftpd-1.3.7c/contrib/mod_sftp/
H A Dcipher.c162 size_t cipher_iv_len = 0, iv_sz = 0; in set_cipher_iv() local
175 iv_sz = sftp_crypto_get_size(cipher_iv_len, EVP_MD_size(hash)); in set_cipher_iv()
178 iv_sz = EVP_MD_size(hash); in set_cipher_iv()
181 if (iv_sz == 0) { in set_cipher_iv()
188 iv = malloc(iv_sz); in set_cipher_iv()
208 while (iv_sz > iv_len) { in set_cipher_iv()
/dports/ftp/proftpd-mod_vroot/proftpd-1.3.7c/contrib/mod_sftp/
H A Dcipher.c162 size_t cipher_iv_len = 0, iv_sz = 0; in set_cipher_iv() local
175 iv_sz = sftp_crypto_get_size(cipher_iv_len, EVP_MD_size(hash)); in set_cipher_iv()
178 iv_sz = EVP_MD_size(hash); in set_cipher_iv()
181 if (iv_sz == 0) { in set_cipher_iv()
188 iv = malloc(iv_sz); in set_cipher_iv()
208 while (iv_sz > iv_len) { in set_cipher_iv()
/dports/databases/sqlcipher/sqlcipher-3.4.2/src/
H A Dcrypto_impl.c58 int iv_sz; member
391 c1->iv_sz == c2->iv_sz in sqlcipher_cipher_ctx_cmp()
423 c1->iv_sz, c2->iv_sz, in sqlcipher_cipher_ctx_cmp()
575 c_ctx->iv_sz = c_ctx->provider->get_iv_sz(c_ctx->provider_ctx); in sqlcipher_codec_ctx_set_cipher()
902 hmac_in = in + size + c_ctx->iv_sz; in sqlcipher_page_cipher()
903 hmac_out = out + size + c_ctx->iv_sz; in sqlcipher_page_cipher()
920 memcpy(iv_out, iv_in, c_ctx->iv_sz); /* copy the iv from the input to output buffer */ in sqlcipher_page_cipher()
924 if(sqlcipher_page_hmac(c_ctx, pgno, in, size + c_ctx->iv_sz, hmac_out) != SQLITE_OK) { in sqlcipher_page_cipher()
954 sqlcipher_page_hmac(c_ctx, pgno, out_start, size + c_ctx->iv_sz, hmac_out); in sqlcipher_page_cipher()
/dports/databases/libgda5-mysql/libgda-5.2.10/providers/sqlcipher/
H A Dsqlite3.c20016 int iv_sz; member
20349 c1->iv_sz == c2->iv_sz in sqlcipher_cipher_ctx_cmp()
20381 c1->iv_sz, c2->iv_sz, in sqlcipher_cipher_ctx_cmp()
20533 c_ctx->iv_sz = c_ctx->provider->get_iv_sz(c_ctx->provider_ctx); in sqlcipher_codec_ctx_set_cipher()
20860 hmac_in = in + size + c_ctx->iv_sz; in sqlcipher_page_cipher()
20861 hmac_out = out + size + c_ctx->iv_sz; in sqlcipher_page_cipher()
20878 memcpy(iv_out, iv_in, c_ctx->iv_sz); /* copy the iv from the input to output buffer */ in sqlcipher_page_cipher()
20882 if(sqlcipher_page_hmac(c_ctx, pgno, in, size + c_ctx->iv_sz, hmac_out) != SQLITE_OK) { in sqlcipher_page_cipher()
20912 sqlcipher_page_hmac(c_ctx, pgno, out_start, size + c_ctx->iv_sz, hmac_out); in sqlcipher_page_cipher()
/dports/databases/libgda5/libgda-5.2.10/providers/sqlcipher/
H A Dsqlite3.c20016 int iv_sz;
20349 c1->iv_sz == c2->iv_sz
20381 c1->iv_sz, c2->iv_sz,
20533 c_ctx->iv_sz = c_ctx->provider->get_iv_sz(c_ctx->provider_ctx);
20860 hmac_in = in + size + c_ctx->iv_sz;
20861 hmac_out = out + size + c_ctx->iv_sz;
20878 memcpy(iv_out, iv_in, c_ctx->iv_sz); /* copy the iv from the input to output buffer */
20882 if(sqlcipher_page_hmac(c_ctx, pgno, in, size + c_ctx->iv_sz, hmac_out) != SQLITE_OK) {
20912 sqlcipher_page_hmac(c_ctx, pgno, out_start, size + c_ctx->iv_sz, hmac_out);
/dports/databases/libgda5-postgresql/libgda-5.2.10/providers/sqlcipher/
H A Dsqlite3.c20016 int iv_sz; member
20349 c1->iv_sz == c2->iv_sz in sqlcipher_cipher_ctx_cmp()
20381 c1->iv_sz, c2->iv_sz, in sqlcipher_cipher_ctx_cmp()
20533 c_ctx->iv_sz = c_ctx->provider->get_iv_sz(c_ctx->provider_ctx); in sqlcipher_codec_ctx_set_cipher()
20860 hmac_in = in + size + c_ctx->iv_sz; in sqlcipher_page_cipher()
20861 hmac_out = out + size + c_ctx->iv_sz; in sqlcipher_page_cipher()
20878 memcpy(iv_out, iv_in, c_ctx->iv_sz); /* copy the iv from the input to output buffer */ in sqlcipher_page_cipher()
20882 if(sqlcipher_page_hmac(c_ctx, pgno, in, size + c_ctx->iv_sz, hmac_out) != SQLITE_OK) { in sqlcipher_page_cipher()
20912 sqlcipher_page_hmac(c_ctx, pgno, out_start, size + c_ctx->iv_sz, hmac_out); in sqlcipher_page_cipher()
/dports/databases/libgda5-ldap/libgda-5.2.10/providers/sqlcipher/
H A Dsqlite3.c20016 int iv_sz; member
20349 c1->iv_sz == c2->iv_sz in sqlcipher_cipher_ctx_cmp()
20381 c1->iv_sz, c2->iv_sz, in sqlcipher_cipher_ctx_cmp()
20533 c_ctx->iv_sz = c_ctx->provider->get_iv_sz(c_ctx->provider_ctx); in sqlcipher_codec_ctx_set_cipher()
20860 hmac_in = in + size + c_ctx->iv_sz; in sqlcipher_page_cipher()
20861 hmac_out = out + size + c_ctx->iv_sz; in sqlcipher_page_cipher()
20878 memcpy(iv_out, iv_in, c_ctx->iv_sz); /* copy the iv from the input to output buffer */ in sqlcipher_page_cipher()
20882 if(sqlcipher_page_hmac(c_ctx, pgno, in, size + c_ctx->iv_sz, hmac_out) != SQLITE_OK) { in sqlcipher_page_cipher()
20912 sqlcipher_page_hmac(c_ctx, pgno, out_start, size + c_ctx->iv_sz, hmac_out); in sqlcipher_page_cipher()
/dports/databases/libgda5-jdbc/libgda-5.2.10/providers/sqlcipher/
H A Dsqlite3.c20016 int iv_sz; member
20349 c1->iv_sz == c2->iv_sz in sqlcipher_cipher_ctx_cmp()
20381 c1->iv_sz, c2->iv_sz, in sqlcipher_cipher_ctx_cmp()
20533 c_ctx->iv_sz = c_ctx->provider->get_iv_sz(c_ctx->provider_ctx); in sqlcipher_codec_ctx_set_cipher()
20860 hmac_in = in + size + c_ctx->iv_sz; in sqlcipher_page_cipher()
20861 hmac_out = out + size + c_ctx->iv_sz; in sqlcipher_page_cipher()
20878 memcpy(iv_out, iv_in, c_ctx->iv_sz); /* copy the iv from the input to output buffer */ in sqlcipher_page_cipher()
20882 if(sqlcipher_page_hmac(c_ctx, pgno, in, size + c_ctx->iv_sz, hmac_out) != SQLITE_OK) { in sqlcipher_page_cipher()
20912 sqlcipher_page_hmac(c_ctx, pgno, out_start, size + c_ctx->iv_sz, hmac_out); in sqlcipher_page_cipher()
/dports/databases/libgda5-bdb/libgda-5.2.10/providers/sqlcipher/
H A Dsqlite3.c20016 int iv_sz;
20349 c1->iv_sz == c2->iv_sz
20381 c1->iv_sz, c2->iv_sz,
20533 c_ctx->iv_sz = c_ctx->provider->get_iv_sz(c_ctx->provider_ctx);
20860 hmac_in = in + size + c_ctx->iv_sz;
20861 hmac_out = out + size + c_ctx->iv_sz;
20878 memcpy(iv_out, iv_in, c_ctx->iv_sz); /* copy the iv from the input to output buffer */
20882 if(sqlcipher_page_hmac(c_ctx, pgno, in, size + c_ctx->iv_sz, hmac_out) != SQLITE_OK) {
20912 sqlcipher_page_hmac(c_ctx, pgno, out_start, size + c_ctx->iv_sz, hmac_out);
/dports/databases/libgda5-ui/libgda-5.2.10/providers/sqlcipher/
H A Dsqlite3.c20016 int iv_sz;
20349 c1->iv_sz == c2->iv_sz
20381 c1->iv_sz, c2->iv_sz,
20533 c_ctx->iv_sz = c_ctx->provider->get_iv_sz(c_ctx->provider_ctx);
20860 hmac_in = in + size + c_ctx->iv_sz;
20861 hmac_out = out + size + c_ctx->iv_sz;
20878 memcpy(iv_out, iv_in, c_ctx->iv_sz); /* copy the iv from the input to output buffer */
20882 if(sqlcipher_page_hmac(c_ctx, pgno, in, size + c_ctx->iv_sz, hmac_out) != SQLITE_OK) {
20912 sqlcipher_page_hmac(c_ctx, pgno, out_start, size + c_ctx->iv_sz, hmac_out);
/dports/databases/sqlitestudio/sqlitestudio-3.3.3/Plugins/DbSqliteCipher/
H A Dsqlcipher.c21604 int iv_sz; member
23314 int base_reserve = ctx->iv_sz; /* base reserve size will be IV only */ in sqlcipher_codec_ctx_reserve_setup()
23778 ctx->iv_sz = ctx->provider->get_iv_sz(ctx->provider_ctx); in sqlcipher_codec_ctx_init()
23909 hmac_in = in + size + ctx->iv_sz; in sqlcipher_page_cipher()
23910 hmac_out = out + size + ctx->iv_sz; in sqlcipher_page_cipher()
23926 memcpy(iv_out, iv_in, ctx->iv_sz); /* copy the iv from the input to output buffer */ in sqlcipher_page_cipher()
23930 if(sqlcipher_page_hmac(ctx, c_ctx, pgno, in, size + ctx->iv_sz, hmac_out) != SQLITE_OK) { in sqlcipher_page_cipher()
23961 if(sqlcipher_page_hmac(ctx, c_ctx, pgno, out_start, size + ctx->iv_sz, hmac_out) != SQLITE_OK) { in sqlcipher_page_cipher()
24176 int payload_sz = ctx->page_sz - ctx->reserve_sz + ctx->iv_sz; in sqlcipher_codec_ctx_integrity_check()
/dports/net-im/tdlib/td-a53cb30e99f937cfd64e0266fa558785a184a553/sqlite/sqlite/
H A Dsqlite3.c21278 int iv_sz; member
22950 int base_reserve = ctx->iv_sz; /* base reserve size will be IV only */ in sqlcipher_codec_ctx_reserve_setup()
23413 ctx->iv_sz = ctx->provider->get_iv_sz(ctx->provider_ctx); in sqlcipher_codec_ctx_init()
23544 hmac_in = in + size + ctx->iv_sz; in sqlcipher_page_cipher()
23545 hmac_out = out + size + ctx->iv_sz; in sqlcipher_page_cipher()
23561 memcpy(iv_out, iv_in, ctx->iv_sz); /* copy the iv from the input to output buffer */ in sqlcipher_page_cipher()
23565 if(sqlcipher_page_hmac(ctx, c_ctx, pgno, in, size + ctx->iv_sz, hmac_out) != SQLITE_OK) { in sqlcipher_page_cipher()
23596 if(sqlcipher_page_hmac(ctx, c_ctx, pgno, out_start, size + ctx->iv_sz, hmac_out) != SQLITE_OK) { in sqlcipher_page_cipher()
23811 int payload_sz = ctx->page_sz - ctx->reserve_sz + ctx->iv_sz; in sqlcipher_codec_ctx_integrity_check()
/dports/security/arti/arti-9d0ede26801cdb182daa85c3eb5f0058dc178eb6/cargo-crates/libsqlite3-sys-0.23.1/sqlcipher/
H A Dsqlite3.c21603 int iv_sz; member
23313 int base_reserve = ctx->iv_sz; /* base reserve size will be IV only */ in sqlcipher_codec_ctx_reserve_setup()
23777 ctx->iv_sz = ctx->provider->get_iv_sz(ctx->provider_ctx); in sqlcipher_codec_ctx_init()
23908 hmac_in = in + size + ctx->iv_sz; in sqlcipher_page_cipher()
23909 hmac_out = out + size + ctx->iv_sz; in sqlcipher_page_cipher()
23925 memcpy(iv_out, iv_in, ctx->iv_sz); /* copy the iv from the input to output buffer */ in sqlcipher_page_cipher()
23929 if(sqlcipher_page_hmac(ctx, c_ctx, pgno, in, size + ctx->iv_sz, hmac_out) != SQLITE_OK) { in sqlcipher_page_cipher()
23960 if(sqlcipher_page_hmac(ctx, c_ctx, pgno, out_start, size + ctx->iv_sz, hmac_out) != SQLITE_OK) { in sqlcipher_page_cipher()
24175 int payload_sz = ctx->page_sz - ctx->reserve_sz + ctx->iv_sz; in sqlcipher_codec_ctx_integrity_check()