Searched refs:modulus_size (Results 1 – 4 of 4) sorted by relevance
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/dsa/ |
A D | dsa_make_key.c | 21 int dsa_make_key(prng_state *prng, int wprng, int group_size, int modulus_size, dsa_key *key) in dsa_make_key() argument 25 …if ((err = dsa_generate_pqg(prng, wprng, group_size, modulus_size, key)) != CRYPT_OK) { return err… in dsa_make_key()
|
A D | dsa_generate_pqg.c | 23 static int s_dsa_make_params(prng_state *prng, int wprng, int group_size, int modulus_size, void *p… in s_dsa_make_params() argument 32 …_size > LTC_MDSA_MAX_GROUP || group_size < 1 || group_size >= modulus_size || modulus_size > LTC_M… in s_dsa_make_params() 70 L = (unsigned long)modulus_size * 8; in s_dsa_make_params() 208 int dsa_generate_pqg(prng_state *prng, int wprng, int group_size, int modulus_size, dsa_key *key) in dsa_generate_pqg() argument 220 err = s_dsa_make_params(prng, wprng, group_size, modulus_size, key->p, key->q, key->g); in dsa_generate_pqg()
|
/optee_os-3.20.0/ta/pkcs11/src/ |
A D | processing_rsa.c | 63 size_t modulus_size = 0; in pkcs2tee_validate_rsa_pss() local 91 modulus_size = get_object_key_bit_size(obj); in pkcs2tee_validate_rsa_pss() 101 if ((modulus_size % 8) == 1) in pkcs2tee_validate_rsa_pss() 102 k = modulus_size / 8; in pkcs2tee_validate_rsa_pss() 104 k = ROUNDUP(modulus_size, 8) / 8; in pkcs2tee_validate_rsa_pss()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_pk.h | 439 int dsa_make_key(prng_state *prng, int wprng, int group_size, int modulus_size, dsa_key *key); 446 int dsa_generate_pqg(prng_state *prng, int wprng, int group_size, int modulus_size, dsa_key *key);
|
Completed in 5 milliseconds