Searched refs:PGP_SALT_SIZE (Results 1 – 15 of 15) sorted by relevance
/dports/mail/thunderbird/thunderbird-91.8.0/comm/third_party/rnp/src/lib/crypto/ |
H A D | s2k_ossl.cpp | 54 size_t salt_len = salt ? PGP_SALT_SIZE : 0; in pgp_s2k_iterated() 58 memcpy(data.data(), salt, PGP_SALT_SIZE); in pgp_s2k_iterated()
|
H A D | s2k.cpp | 102 salt ? PGP_SALT_SIZE : 0); in pgp_s2k_iterated()
|
/dports/security/rnp/rnp-0.15.2/src/lib/crypto/ |
H A D | s2k.cpp | 98 salt ? PGP_SALT_SIZE : 0); in pgp_s2k_iterated()
|
/dports/security/rnp/rnp-0.15.2/src/librepgp/ |
H A D | stream-packet.cpp | 634 return get(s2k.salt, PGP_SALT_SIZE); in get() 637 if (!get(s2k.salt, PGP_SALT_SIZE) || !get(iter)) { in get() 795 add(s2k.salt, PGP_SALT_SIZE); in add() 802 add(s2k.salt, PGP_SALT_SIZE); in add()
|
H A D | stream-key.cpp | 1288 !rng_get_data(rng, key->sec_protection.s2k.salt, PGP_SALT_SIZE)) { in encrypt_secret_key() 1297 !rng_generate(key->sec_protection.s2k.salt, PGP_SALT_SIZE)) { in encrypt_secret_key()
|
H A D | stream-dump.cpp | 461 dst_print_hex(dst, "s2k salt", s2k->salt, PGP_SALT_SIZE, false); in dst_print_s2k() 1512 !obj_add_hex_json(s2k_obj, "salt", s2k->salt, PGP_SALT_SIZE)) { in obj_add_s2k_json()
|
/dports/mail/thunderbird/thunderbird-91.8.0/comm/third_party/rnp/src/librepgp/ |
H A D | stream-packet.cpp | 632 return get(s2k.salt, PGP_SALT_SIZE); in get() 635 if (!get(s2k.salt, PGP_SALT_SIZE) || !get(iter)) { in get() 793 add(s2k.salt, PGP_SALT_SIZE); in add() 800 add(s2k.salt, PGP_SALT_SIZE); in add()
|
H A D | stream-dump.cpp | 461 dst_print_hex(dst, "s2k salt", s2k->salt, PGP_SALT_SIZE, false); in dst_print_s2k() 1536 !obj_add_hex_json(s2k_obj, "salt", s2k->salt, PGP_SALT_SIZE)) { in obj_add_s2k_json()
|
H A D | stream-key.cpp | 938 rng.get(key->sec_protection.s2k.salt, PGP_SALT_SIZE); in encrypt_secret_key()
|
/dports/security/rnp/rnp-0.15.2/include/repgp/ |
H A D | repgp_def.h | 89 #define PGP_SALT_SIZE 8 macro
|
/dports/mail/thunderbird/thunderbird-91.8.0/comm/third_party/rnp/include/repgp/ |
H A D | repgp_def.h | 91 #define PGP_SALT_SIZE 8 macro
|
/dports/security/rnp/rnp-0.15.2/src/lib/ |
H A D | types.h | 198 uint8_t salt[PGP_SALT_SIZE];
|
/dports/mail/thunderbird/thunderbird-91.8.0/comm/third_party/rnp/src/lib/ |
H A D | types.h | 224 uint8_t salt[PGP_SALT_SIZE];
|
/dports/mail/thunderbird/thunderbird-91.8.0/comm/third_party/rnp/src/librekey/ |
H A D | key_store_g10.cpp | 694 if (salt_bt.size() != PGP_SALT_SIZE) { in parse_protected_seckey() 695 RNP_LOG("Wrong salt size, should be %d but %d\n", PGP_SALT_SIZE, (int) salt_bt.size()); in parse_protected_seckey() 1230 psub_sub_sub_s_exp->add(prot.s2k.salt, PGP_SALT_SIZE); in add_protected_seckey()
|
/dports/security/rnp/rnp-0.15.2/src/librekey/ |
H A D | key_store_g10.cpp | 834 if (sub_el->block.len != PGP_SALT_SIZE) { in parse_protected_seckey() 836 "Wrong salt size, should be %d but %d\n", PGP_SALT_SIZE, (int) sub_el->block.len); in parse_protected_seckey() 1428 !add_block_to_sexp(sub_sub_sub_s_exp, prot->s2k.salt, PGP_SALT_SIZE) || in write_protected_seckey()
|