/optee_test/host/openssl/include/openssl/ |
A D | bn.h | 440 BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b); 446 int BN_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b); 447 int BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b); 448 int BN_uadd(BIGNUM *r, const BIGNUM *a, const BIGNUM *b); 449 int BN_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b); 463 int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d, 467 int BN_mod_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, 471 int BN_mod_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, 475 int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, 573 int BN_X931_generate_prime_ex(BIGNUM *p, BIGNUM *p1, BIGNUM *p2, BIGNUM *Xp1, [all …]
|
A D | srp.h | 87 BIGNUM *s; 132 BIGNUM **verifier, BIGNUM *N, BIGNUM *g); 155 char *SRP_check_known_gN_param(BIGNUM *g, BIGNUM *N); 159 BIGNUM *SRP_Calc_server_key(BIGNUM *A, BIGNUM *v, BIGNUM *u, BIGNUM *b, 161 BIGNUM *SRP_Calc_B(BIGNUM *b, BIGNUM *N, BIGNUM *g, BIGNUM *v); 162 int SRP_Verify_A_mod_N(BIGNUM *A, BIGNUM *N); 163 BIGNUM *SRP_Calc_u(BIGNUM *A, BIGNUM *B, BIGNUM *N); 167 BIGNUM *SRP_Calc_A(BIGNUM *a, BIGNUM *N, BIGNUM *g); 168 BIGNUM *SRP_Calc_client_key(BIGNUM *N, BIGNUM *B, BIGNUM *g, BIGNUM *x, 169 BIGNUM *a, BIGNUM *u); [all …]
|
A D | ec.h | 235 const BIGNUM *order, const BIGNUM *cofactor); 297 int EC_GROUP_set_curve_GFp(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, 308 int EC_GROUP_get_curve_GFp(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, 320 int EC_GROUP_set_curve_GF2m(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, 331 int EC_GROUP_get_curve_GF2m(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, 375 EC_GROUP *EC_GROUP_new_curve_GFp(const BIGNUM *p, const BIGNUM *a, 386 EC_GROUP *EC_GROUP_new_curve_GF2m(const BIGNUM *p, const BIGNUM *a, 475 const BIGNUM *y, const BIGNUM *z, 489 BIGNUM *y, BIGNUM *z, 501 const BIGNUM *x, const BIGNUM *y, [all …]
|
A D | dsa.h | 125 BIGNUM *r; 126 BIGNUM *s; 133 BIGNUM **rp); 136 int (*dsa_mod_exp) (DSA *dsa, BIGNUM *rr, BIGNUM *a1, BIGNUM *p1, 137 BIGNUM *a2, BIGNUM *p2, BIGNUM *m, BN_CTX *ctx, 140 int (*bn_mod_exp) (DSA *dsa, BIGNUM *r, BIGNUM *a, const BIGNUM *p, 163 BIGNUM *p; 164 BIGNUM *q; /* == 20 */ 165 BIGNUM *g; 166 BIGNUM *pub_key; /* y public key */ [all …]
|
A D | ecdsa.h | 79 BIGNUM *r; 80 BIGNUM *s; 131 const BIGNUM *kinv, const BIGNUM *rp, 178 int ECDSA_sign_setup(EC_KEY *eckey, BN_CTX *ctx, BIGNUM **kinv, BIGNUM **rp); 208 const BIGNUM *kinv, const BIGNUM *rp, EC_KEY *eckey); 265 const BIGNUM *inv, 266 const BIGNUM *rp, 277 BIGNUM **kinv, 278 BIGNUM **r));
|
A D | dh.h | 123 int (*bn_mod_exp) (const DH *dh, BIGNUM *r, const BIGNUM *a, 124 const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, 142 BIGNUM *p; 143 BIGNUM *g; 145 BIGNUM *pub_key; /* g^x % p */ 146 BIGNUM *priv_key; /* x */ 150 BIGNUM *q; 151 BIGNUM *j; 154 BIGNUM *counter; 238 int DH_check_pub_key(const DH *dh, const BIGNUM *pub_key, int *codes); [all …]
|
A D | rsa.h | 96 int (*rsa_mod_exp) (BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx); 98 int (*bn_mod_exp) (BIGNUM *r, const BIGNUM *a, const BIGNUM *p, 129 int (*rsa_keygen) (RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb); 142 BIGNUM *n; 143 BIGNUM *e; 144 BIGNUM *d; 145 BIGNUM *p; 146 BIGNUM *q; 147 BIGNUM *dmp1; 148 BIGNUM *dmq1; [all …]
|
A D | ossl_typ.h | 117 # ifdef BIGNUM 118 # undef BIGNUM 120 typedef struct bignum_st BIGNUM; typedef
|
A D | asn1.h | 929 ASN1_INTEGER *BN_to_ASN1_INTEGER(const BIGNUM *bn, ASN1_INTEGER *ai); 930 BIGNUM *ASN1_INTEGER_to_BN(const ASN1_INTEGER *ai, BIGNUM *bn); 934 ASN1_ENUMERATED *BN_to_ASN1_ENUMERATED(BIGNUM *bn, ASN1_ENUMERATED *ai); 935 BIGNUM *ASN1_ENUMERATED_to_BN(ASN1_ENUMERATED *ai, BIGNUM *bn); 1040 int ASN1_bn_print(BIO *bp, const char *number, const BIGNUM *num,
|
A D | ssl.h | 859 BIGNUM *N, *g, *s, *B, *A; 860 BIGNUM *a, *b, *v; 2318 int SSL_set_srp_server_param(SSL *s, const BIGNUM *N, const BIGNUM *g, 2319 BIGNUM *sa, BIGNUM *v, char *info); 2323 BIGNUM *SSL_get_srp_g(SSL *s); 2324 BIGNUM *SSL_get_srp_N(SSL *s);
|
A D | asn1t.h | 921 DECLARE_ASN1_ITEM(BIGNUM)
|
/optee_test/host/xtest/gp/include/ |
A D | xml_crypto_api.h | 2851 BIGNUM *g = bn_from_key_attr(&dkv->base); in dsa_from_key_vals() 2884 const BIGNUM *r = NULL; in dsa_sign_digest() 2885 const BIGNUM *s = NULL; in dsa_sign_digest() 2927 BIGNUM *r = NULL; in dsa_verify_digest() 2928 BIGNUM *s = NULL; in dsa_verify_digest() 2979 BIGNUM *x = bn_from_key_attr(&kv->x); in ecdsa_from_key_vals() 2980 BIGNUM *y = bn_from_key_attr(&kv->y); in ecdsa_from_key_vals() 3011 const BIGNUM *r = NULL; in ecdsa_sign_digest() 3012 const BIGNUM *s = NULL; in ecdsa_sign_digest() 3045 BIGNUM *r = NULL; in ecdsa_verify_digest() [all …]
|
A D | xml_timearithm_api.h | 581 BIGNUM *a = NULL, *b = NULL, *s = NULL, *d = NULL, \
|