Home
last modified time | relevance | path

Searched refs:botan_mp_t (Results 1 – 25 of 25) sorted by relevance

/dports/editors/encryptpad/EncryptPad-0.5.0.1/deps/botan/src/lib/ffi/
H A Dffi_mp.cpp74 int botan_mp_set_from_mp(botan_mp_t dest, const botan_mp_t source) in botan_mp_set_from_mp()
139 int botan_mp_add(botan_mp_t result, const botan_mp_t x, const botan_mp_t y) in botan_mp_add()
149 int botan_mp_sub(botan_mp_t result, const botan_mp_t x, const botan_mp_t y) in botan_mp_sub()
179 int botan_mp_mul(botan_mp_t result, const botan_mp_t x, const botan_mp_t y) in botan_mp_mul()
191 const botan_mp_t x, const botan_mp_t y) in botan_mp_div()
200 int botan_mp_equal(const botan_mp_t x_w, const botan_mp_t y_w) in botan_mp_equal()
225 int botan_mp_swap(botan_mp_t x_w, botan_mp_t y_w) in botan_mp_swap()
231 int botan_mp_powmod(botan_mp_t out, const botan_mp_t base, const botan_mp_t exponent, const botan_m… in botan_mp_powmod()
247 int botan_mp_mod_inverse(botan_mp_t out, const botan_mp_t in, const botan_mp_t modulus) in botan_mp_mod_inverse()
252 int botan_mp_mod_mul(botan_mp_t out, const botan_mp_t x, const botan_mp_t y, const botan_mp_t modul… in botan_mp_mod_mul()
[all …]
H A Dffi.h863 BOTAN_PUBLIC_API(2,1) int botan_mp_add(botan_mp_t result, const botan_mp_t x, const botan_mp_t y);
864 BOTAN_PUBLIC_API(2,1) int botan_mp_sub(botan_mp_t result, const botan_mp_t x, const botan_mp_t y);
865 BOTAN_PUBLIC_API(2,1) int botan_mp_mul(botan_mp_t result, const botan_mp_t x, const botan_mp_t y);
869 const botan_mp_t x, const botan_mp_t y);
871 BOTAN_PUBLIC_API(2,1) int botan_mp_mod_mul(botan_mp_t result, const botan_mp_t x,
872 const botan_mp_t y, const botan_mp_t mod);
879 BOTAN_PUBLIC_API(2,1) int botan_mp_equal(const botan_mp_t x, const botan_mp_t y);
891 BOTAN_PUBLIC_API(2,1) int botan_mp_swap(botan_mp_t x, botan_mp_t y);
894 …UBLIC_API(2,1) int botan_mp_powmod(botan_mp_t out, const botan_mp_t base, const botan_mp_t exponen…
899 BOTAN_PUBLIC_API(2,1) int botan_mp_mod_inverse(botan_mp_t out, const botan_mp_t in, const botan_mp_…
[all …]
H A Dffi_pkey_algs.cpp228 int botan_pubkey_get_field(botan_mp_t output, in botan_pubkey_get_field()
242 int botan_privkey_get_field(botan_mp_t output, in botan_privkey_get_field()
269 botan_mp_t rsa_p, botan_mp_t rsa_q, botan_mp_t rsa_e) in botan_privkey_load_rsa()
306 botan_mp_t n, botan_mp_t e) in botan_pubkey_load_rsa()
409 botan_mp_t p, botan_mp_t q, botan_mp_t g, botan_mp_t x) in botan_privkey_load_dsa()
427 botan_mp_t p, botan_mp_t q, botan_mp_t g, botan_mp_t y) in botan_pubkey_load_dsa()
546 botan_mp_t p, botan_mp_t g, botan_mp_t y) in botan_pubkey_load_elgamal()
562 botan_mp_t p, botan_mp_t g, botan_mp_t x) in botan_privkey_load_elgamal()
586 botan_mp_t p, botan_mp_t g, botan_mp_t x) in botan_privkey_load_dh()
603 botan_mp_t p, botan_mp_t g, botan_mp_t y) in botan_pubkey_load_dh()
[all …]
H A Dffi_fpe.cpp26 int botan_fpe_fe1_init(botan_fpe_t* fpe, botan_mp_t n, in botan_fpe_fe1_init()
67 int botan_fpe_encrypt(botan_fpe_t fpe, botan_mp_t x, const uint8_t tweak[], size_t tweak_len) in botan_fpe_encrypt()
80 int botan_fpe_decrypt(botan_fpe_t fpe, botan_mp_t x, const uint8_t tweak[], size_t tweak_len) in botan_fpe_decrypt()
/dports/mail/thunderbird/thunderbird-91.8.0/comm/third_party/botan/src/lib/ffi/
H A Dffi_mp.cpp74 int botan_mp_set_from_mp(botan_mp_t dest, const botan_mp_t source) in botan_mp_set_from_mp()
139 int botan_mp_add(botan_mp_t result, const botan_mp_t x, const botan_mp_t y) in botan_mp_add()
149 int botan_mp_sub(botan_mp_t result, const botan_mp_t x, const botan_mp_t y) in botan_mp_sub()
179 int botan_mp_mul(botan_mp_t result, const botan_mp_t x, const botan_mp_t y) in botan_mp_mul()
191 const botan_mp_t x, const botan_mp_t y) in botan_mp_div()
200 int botan_mp_equal(const botan_mp_t x_w, const botan_mp_t y_w) in botan_mp_equal()
225 int botan_mp_swap(botan_mp_t x_w, botan_mp_t y_w) in botan_mp_swap()
231 int botan_mp_powmod(botan_mp_t out, const botan_mp_t base, const botan_mp_t exponent, const botan_m… in botan_mp_powmod()
247 int botan_mp_mod_inverse(botan_mp_t out, const botan_mp_t in, const botan_mp_t modulus) in botan_mp_mod_inverse()
252 int botan_mp_mod_mul(botan_mp_t out, const botan_mp_t x, const botan_mp_t y, const botan_mp_t modul… in botan_mp_mod_mul()
[all …]
H A Dffi.h863 BOTAN_PUBLIC_API(2,1) int botan_mp_add(botan_mp_t result, const botan_mp_t x, const botan_mp_t y);
864 BOTAN_PUBLIC_API(2,1) int botan_mp_sub(botan_mp_t result, const botan_mp_t x, const botan_mp_t y);
865 BOTAN_PUBLIC_API(2,1) int botan_mp_mul(botan_mp_t result, const botan_mp_t x, const botan_mp_t y);
869 const botan_mp_t x, const botan_mp_t y);
871 BOTAN_PUBLIC_API(2,1) int botan_mp_mod_mul(botan_mp_t result, const botan_mp_t x,
872 const botan_mp_t y, const botan_mp_t mod);
879 BOTAN_PUBLIC_API(2,1) int botan_mp_equal(const botan_mp_t x, const botan_mp_t y);
891 BOTAN_PUBLIC_API(2,1) int botan_mp_swap(botan_mp_t x, botan_mp_t y);
894 …UBLIC_API(2,1) int botan_mp_powmod(botan_mp_t out, const botan_mp_t base, const botan_mp_t exponen…
899 BOTAN_PUBLIC_API(2,1) int botan_mp_mod_inverse(botan_mp_t out, const botan_mp_t in, const botan_mp_…
[all …]
H A Dffi_pkey_algs.cpp228 int botan_pubkey_get_field(botan_mp_t output, in botan_pubkey_get_field()
242 int botan_privkey_get_field(botan_mp_t output, in botan_privkey_get_field()
269 botan_mp_t rsa_p, botan_mp_t rsa_q, botan_mp_t rsa_e) in botan_privkey_load_rsa()
306 botan_mp_t n, botan_mp_t e) in botan_pubkey_load_rsa()
409 botan_mp_t p, botan_mp_t q, botan_mp_t g, botan_mp_t x) in botan_privkey_load_dsa()
427 botan_mp_t p, botan_mp_t q, botan_mp_t g, botan_mp_t y) in botan_pubkey_load_dsa()
546 botan_mp_t p, botan_mp_t g, botan_mp_t y) in botan_pubkey_load_elgamal()
562 botan_mp_t p, botan_mp_t g, botan_mp_t x) in botan_privkey_load_elgamal()
586 botan_mp_t p, botan_mp_t g, botan_mp_t x) in botan_privkey_load_dh()
603 botan_mp_t p, botan_mp_t g, botan_mp_t y) in botan_pubkey_load_dh()
[all …]
H A Dffi_fpe.cpp26 int botan_fpe_fe1_init(botan_fpe_t* fpe, botan_mp_t n, in botan_fpe_fe1_init()
67 int botan_fpe_encrypt(botan_fpe_t fpe, botan_mp_t x, const uint8_t tweak[], size_t tweak_len) in botan_fpe_encrypt()
80 int botan_fpe_decrypt(botan_fpe_t fpe, botan_mp_t x, const uint8_t tweak[], size_t tweak_len) in botan_fpe_decrypt()
/dports/security/botan2/Botan-2.18.2/src/lib/ffi/
H A Dffi_mp.cpp74 int botan_mp_set_from_mp(botan_mp_t dest, const botan_mp_t source) in botan_mp_set_from_mp()
139 int botan_mp_add(botan_mp_t result, const botan_mp_t x, const botan_mp_t y) in botan_mp_add()
149 int botan_mp_sub(botan_mp_t result, const botan_mp_t x, const botan_mp_t y) in botan_mp_sub()
179 int botan_mp_mul(botan_mp_t result, const botan_mp_t x, const botan_mp_t y) in botan_mp_mul()
191 const botan_mp_t x, const botan_mp_t y) in botan_mp_div()
200 int botan_mp_equal(const botan_mp_t x_w, const botan_mp_t y_w) in botan_mp_equal()
225 int botan_mp_swap(botan_mp_t x_w, botan_mp_t y_w) in botan_mp_swap()
231 int botan_mp_powmod(botan_mp_t out, const botan_mp_t base, const botan_mp_t exponent, const botan_m… in botan_mp_powmod()
247 int botan_mp_mod_inverse(botan_mp_t out, const botan_mp_t in, const botan_mp_t modulus) in botan_mp_mod_inverse()
252 int botan_mp_mod_mul(botan_mp_t out, const botan_mp_t x, const botan_mp_t y, const botan_mp_t modul… in botan_mp_mod_mul()
[all …]
H A Dffi.h863 BOTAN_PUBLIC_API(2,1) int botan_mp_add(botan_mp_t result, const botan_mp_t x, const botan_mp_t y);
864 BOTAN_PUBLIC_API(2,1) int botan_mp_sub(botan_mp_t result, const botan_mp_t x, const botan_mp_t y);
865 BOTAN_PUBLIC_API(2,1) int botan_mp_mul(botan_mp_t result, const botan_mp_t x, const botan_mp_t y);
869 const botan_mp_t x, const botan_mp_t y);
871 BOTAN_PUBLIC_API(2,1) int botan_mp_mod_mul(botan_mp_t result, const botan_mp_t x,
872 const botan_mp_t y, const botan_mp_t mod);
879 BOTAN_PUBLIC_API(2,1) int botan_mp_equal(const botan_mp_t x, const botan_mp_t y);
891 BOTAN_PUBLIC_API(2,1) int botan_mp_swap(botan_mp_t x, botan_mp_t y);
894 …UBLIC_API(2,1) int botan_mp_powmod(botan_mp_t out, const botan_mp_t base, const botan_mp_t exponen…
899 BOTAN_PUBLIC_API(2,1) int botan_mp_mod_inverse(botan_mp_t out, const botan_mp_t in, const botan_mp_…
[all …]
H A Dffi_pkey_algs.cpp228 int botan_pubkey_get_field(botan_mp_t output, in botan_pubkey_get_field()
242 int botan_privkey_get_field(botan_mp_t output, in botan_privkey_get_field()
269 botan_mp_t rsa_p, botan_mp_t rsa_q, botan_mp_t rsa_e) in botan_privkey_load_rsa()
306 botan_mp_t n, botan_mp_t e) in botan_pubkey_load_rsa()
409 botan_mp_t p, botan_mp_t q, botan_mp_t g, botan_mp_t x) in botan_privkey_load_dsa()
427 botan_mp_t p, botan_mp_t q, botan_mp_t g, botan_mp_t y) in botan_pubkey_load_dsa()
546 botan_mp_t p, botan_mp_t g, botan_mp_t y) in botan_pubkey_load_elgamal()
562 botan_mp_t p, botan_mp_t g, botan_mp_t x) in botan_privkey_load_elgamal()
586 botan_mp_t p, botan_mp_t g, botan_mp_t x) in botan_privkey_load_dh()
603 botan_mp_t p, botan_mp_t g, botan_mp_t y) in botan_pubkey_load_dh()
[all …]
H A Dffi_fpe.cpp26 int botan_fpe_fe1_init(botan_fpe_t* fpe, botan_mp_t n, in botan_fpe_fe1_init()
67 int botan_fpe_encrypt(botan_fpe_t fpe, botan_mp_t x, const uint8_t tweak[], size_t tweak_len) in botan_fpe_encrypt()
80 int botan_fpe_decrypt(botan_fpe_t fpe, botan_mp_t x, const uint8_t tweak[], size_t tweak_len) in botan_fpe_decrypt()
/dports/editors/encryptpad/EncryptPad-0.5.0.1/deps/botan/doc/api_ref/
H A Dffi.rst537 .. cpp:function:: int botan_mp_add(botan_mp_t result, botan_mp_t x, botan_mp_t y)
554 .. cpp:function:: int botan_mp_mod_mul(botan_mp_t result, botan_mp_t x, botan_mp_t y, botan_mp_t mo…
596 .. cpp:function:: int botan_mp_powmod(botan_mp_t out, botan_mp_t base, botan_mp_t exponent, botan_m…
622 .. cpp:function:: int botan_mp_gcd(botan_mp_t out, botan_mp_t x, botan_mp_t y)
820 botan_mp_t p, botan_mp_t q, botan_mp_t e)
833 botan_mp_t p, botan_mp_t q, botan_mp_t g, botan_mp_t x)
838 botan_mp_t p, botan_mp_t q, botan_mp_t g, botan_mp_t y)
846 botan_mp_t p, botan_mp_t g, botan_mp_t x)
851 botan_mp_t p, botan_mp_t g, botan_mp_t y)
859 botan_mp_t p, botan_mp_t g, botan_mp_t x)
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/comm/third_party/botan/doc/api_ref/
H A Dffi.rst537 .. cpp:function:: int botan_mp_add(botan_mp_t result, botan_mp_t x, botan_mp_t y)
554 .. cpp:function:: int botan_mp_mod_mul(botan_mp_t result, botan_mp_t x, botan_mp_t y, botan_mp_t mo…
596 .. cpp:function:: int botan_mp_powmod(botan_mp_t out, botan_mp_t base, botan_mp_t exponent, botan_m…
622 .. cpp:function:: int botan_mp_gcd(botan_mp_t out, botan_mp_t x, botan_mp_t y)
820 botan_mp_t p, botan_mp_t q, botan_mp_t e)
833 botan_mp_t p, botan_mp_t q, botan_mp_t g, botan_mp_t x)
838 botan_mp_t p, botan_mp_t q, botan_mp_t g, botan_mp_t y)
846 botan_mp_t p, botan_mp_t g, botan_mp_t x)
851 botan_mp_t p, botan_mp_t g, botan_mp_t y)
859 botan_mp_t p, botan_mp_t g, botan_mp_t x)
[all …]
/dports/security/botan2/Botan-2.18.2/doc/api_ref/
H A Dffi.rst537 .. cpp:function:: int botan_mp_add(botan_mp_t result, botan_mp_t x, botan_mp_t y)
554 .. cpp:function:: int botan_mp_mod_mul(botan_mp_t result, botan_mp_t x, botan_mp_t y, botan_mp_t mo…
596 .. cpp:function:: int botan_mp_powmod(botan_mp_t out, botan_mp_t base, botan_mp_t exponent, botan_m…
622 .. cpp:function:: int botan_mp_gcd(botan_mp_t out, botan_mp_t x, botan_mp_t y)
820 botan_mp_t p, botan_mp_t q, botan_mp_t e)
833 botan_mp_t p, botan_mp_t q, botan_mp_t g, botan_mp_t x)
838 botan_mp_t p, botan_mp_t q, botan_mp_t g, botan_mp_t y)
846 botan_mp_t p, botan_mp_t g, botan_mp_t x)
851 botan_mp_t p, botan_mp_t g, botan_mp_t y)
859 botan_mp_t p, botan_mp_t g, botan_mp_t x)
[all …]
/dports/security/rnp/rnp-0.15.2/src/lib/crypto/
H A Dbn.h33 typedef struct botan_mp_struct *botan_mp_t; typedef
39 botan_mp_t mp;
H A Decdsa.cpp35 botan_mp_t px = NULL; in ecdsa_load_public_key()
36 botan_mp_t py = NULL; in ecdsa_load_public_key()
H A Dsm2.cpp37 botan_mp_t px = NULL; in sm2_load_public_key()
38 botan_mp_t py = NULL; in sm2_load_public_key()
H A Decdh.cpp225 botan_mp_t px = NULL; in ecdh_load_public_key()
226 botan_mp_t py = NULL; in ecdh_load_public_key()
/dports/mail/thunderbird/thunderbird-91.8.0/comm/third_party/rnp/src/lib/crypto/
H A Dbn.h40 typedef struct botan_mp_struct *botan_mp_t; typedef
42 botan_mp_t mp;
H A Decdsa.cpp36 botan_mp_t px = NULL; in ecdsa_load_public_key()
37 botan_mp_t py = NULL; in ecdsa_load_public_key()
H A Decdh.cpp104 botan_mp_t px = NULL; in ecdh_load_public_key()
105 botan_mp_t py = NULL; in ecdh_load_public_key()
H A Dsm2.cpp38 botan_mp_t px = NULL; in sm2_load_public_key()
39 botan_mp_t py = NULL; in sm2_load_public_key()
/dports/editors/encryptpad/EncryptPad-0.5.0.1/deps/botan/src/tests/
H A Dtest_ffi.cpp1234 botan_mp_t mp; in ffi_test_errors()
1331 botan_mp_t x; in ffi_test_mp()
1375 botan_mp_t zero; in ffi_test_mp()
1436 botan_mp_t y; in ffi_test_mp()
1440 botan_mp_t r; in ffi_test_mp()
1454 botan_mp_t q; in ffi_test_mp()
1488 botan_mp_t p; in ffi_test_mp()
1686 botan_mp_t n, x; in ffi_test_fpe()
1865 botan_mp_t x; in ffi_test_rsa()
1991 botan_mp_t cmp; in do_dsa_test()
[all …]
/dports/security/botan2/Botan-2.18.2/src/tests/
H A Dtest_ffi.cpp1234 botan_mp_t mp; in ffi_test_errors()
1331 botan_mp_t x; in ffi_test_mp()
1375 botan_mp_t zero; in ffi_test_mp()
1436 botan_mp_t y; in ffi_test_mp()
1440 botan_mp_t r; in ffi_test_mp()
1454 botan_mp_t q; in ffi_test_mp()
1488 botan_mp_t p; in ffi_test_mp()
1686 botan_mp_t n, x; in ffi_test_fpe()
1865 botan_mp_t x; in ffi_test_rsa()
1991 botan_mp_t cmp; in do_dsa_test()
[all …]